Syntax Error

It is pretty much common that a user end up in seeing syntax error in WordPress, but what more dazzled them is by their quick way of taking the decision on using a different theme and get this error solved. But, please wait a minute as if I tell you that this error is not because of the theme you are using but it is because of the plugins you installed (sometimes recent plugin addition also the cause of bringing syntax error).

It is very easy to fix syntax error in WordPress, without having to switch to any other theme. In order to solve it, you need to access to the WP-Content, where your theme files are saved. Once you are in your theme files, you will notice a huge pile of codes. Well, you are getting syntax error because of one such mix and match code. You have to find out what line and where exactly the error comes.

Now, once you found the particular code which is behind the error, you got two options – either to remove the code which you added lastly (in most of the cases) or write the code in correct syntax. Once you done by either removing or editing the code, save the file and upload it back to your server. Refresh the page now and you will see your site working.

Instructions To Follow (In Steps)

  1. Syntax error usually is because of the recently added plugins.
  2. Access your WP-Content, where your theme files are saved.
  3. You have to find the file in which the error will be.
  4. Once you got that file, you have two options available – either remove the code or edit the code and write the correct syntax
  5. Once you are done save the file and upload it back to your server.
  6. Refresh the page and you will see your site working completely fine.

Photo Credit: Flickr/Alex Hopkinson

Note: Like the post, then make sure you do follow and like us on both Twitter and Facebook.