In part 1 of our short guide with solution to common WordPress errors and messages, we had discussed some WordPress errors which occur commonly. If you have not read that post, then I recommend you to have a read because that post has basic solutions to the problems which we may be using in this post.



Let us continue our short guide to WordPress error list and their solutions.

Syntax Errors in WordPress

This error does not occur regularly. Generally, this mistake is made by user while editing codes on the site.

It happens because a snippet of code is incorrectly placed or the code itself has an error like character within or you have forgotten to add a character in the code while adding code in the page or function.



Most of the time it is a bracket or a semicolon.

Solution for Syntax Errors in WordPress

To solve this error, you have to simply edit the file where you have made the changes.

To edit the file you can go to Appearance>Editor.

Generally (in my experience) things aren’t that easy, as you may get locked out of admin dashboard after this error. To make changes to the file, you have to use an FTP client or CPanel access.

You can either download and edit the file or replace it with default file from backup.