How to Fix the Syntax Error in WordPress

How to Fix the Syntax Error in WordPress

Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages



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:
http://www.wpbeginner.com/glossary/ftp

Text version of this tutorial:
http://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:
https://www.facebook.com/wpbeginner

Follow us on Twitter:

Checkout our website for more WordPress Tutorials
http://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.

About The Author

error: