Published on July 31, 2017 by WPBeginner
Want create site? Find Free WordPress Themes and plugins.

A common and seemingly frightening error that users can run into is the Syntax error. This error can prevent you from making any changes on your site and prevent it from even being visible but we’re here to help you resolve this issue without too much hassle.

We recommend using a FTP for this tutorial, if you do not know what a FTP program is take a look at our tutorial below:
www.wpbeginner.com/glossary/ftp

Text version of this tutorial:
www.wpbeginner.com/wp-tutorials/how-to-fix-the-syntax-error-in-wordpress

If you liked this video, then please Like and consider subscribing to our channel for more WordPress videos.

Check us out on Facebook:
www.facebook.com/wpbeginner

Follow us on Twitter:
twitter.com/wpbeginner

Checkout our website for more WordPress Tutorials
www.wpbeginner.com/

Summary of this tutorial:

With this error you will be locked out of your admin area so we would recommend using a FTP to log in to your site’s files.

Read the error it is giving you and locate the file the error is pointing to such as the wp-content themes folder and open the file that is causing the error.

If it is code that you have added you will want to remove the new code, save the file and then reupload it.

That should allow you to log back in to your WordPress website.

Did you find apk for android? You can find new Free Android Games and apps.

Leave a Reply

38 Comments on "How to Fix the Syntax Error in WordPress"

Notify of
avatar

gowtham ben mythdre
Guest
gowtham ben mythdre
18 days 3 hours ago

hi i have a parse error in a plugin and i couldn't use my wordpress admin panel as well i tried to login through ftp using filezilla.. but i failed..can you help to fix it and save my job

WPBeginner - WordPress Tutorials
Guest
WPBeginner - WordPress Tutorials
17 days 11 hours ago

You should be able to use: www.wpbeginner.com/plugins/how-to-deactivate-all-plugins-when-not-able-to-access-wp-admin/ to disable the plugin and let you log back into your site if the method in the video is not working

gowtham ben mythdre
Guest
gowtham ben mythdre
18 days 3 hours ago

hi i have a parse error in a plugin and i couldn't use my wordpress admin panel as well i tried to login through ftp using filezilla.. but i failed..can you help to fix it and save my job

WPBeginner - WordPress Tutorials
Guest
WPBeginner - WordPress Tutorials
17 days 11 hours ago

You should be able to use: www.wpbeginner.com/plugins/how-to-deactivate-all-plugins-when-not-able-to-access-wp-admin/ to disable the plugin and let you log back into your site if the method in the video is not working

Turmunkh Yalalt
Guest
Turmunkh Yalalt
1 month 1 day ago

Thank you very much

Turmunkh Yalalt
Guest
Turmunkh Yalalt
1 month 1 day ago

Thank you very much

Mit Thakkar
Guest
Mit Thakkar
2 months 8 days ago

Thanks for sharing such useful information. Didn't know how to solve it before watching this video.

Mit Thakkar
Guest
Mit Thakkar
2 months 8 days ago

Thanks for sharing such useful information. Didn't know how to solve it before watching this video.

Greyk
Guest
Greyk
2 months 10 days ago

Thanks

Greyk
Guest
Greyk
2 months 10 days ago

Thanks

Steve Marchant
Guest
Steve Marchant
2 months 11 days ago

This is a really useful solution – many thanks, wish I'd have known about this before as I'd have saved many hours of frustration

Steve Marchant
Guest
Steve Marchant
2 months 11 days ago

This is a really useful solution – many thanks, wish I'd have known about this before as I'd have saved many hours of frustration

1 2 3
wpDiscuz