If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

Featured templates

How to fix PHP syntax errors in WordPress

Hello, our support is ready to present you a new tutorial that shows how to fix the PHP syntax errors in WordPress.

Such errors usually appear after editing a PHP file or updating a plugin, and start with “Syntax error, unexpected…”

You are most likely locked out of your admin panel and cannot access it when such issue occurs.

  1. In order to fix the syntax error, you need to edit the code that caused this error.

  2. Connect to your server via FTP or hosting control panel and use FileManager. Navigate to the theme file that needs editing. In case you are not sure what file to edit, just look at the error message. The error will tell you exactly which file and which line you need to edit.

  3. You will need to either remove it or edit it to fix the syntax.

  4. Once you are done with removing/editing the file, save changes in it.

  5. Clear browser cache and refresh the page. Your site should be working now!

  6. You may be searching for premium templates to put up your very own website, so take a look at WordPress themes for a wide choice of web design solutions.