WEBFI-WordPress-How to Fix the Syntax Error in WordPress

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:

Text version of this tutorial:

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

Check us out on Facebook:

Follow us on Twitter:

Checkout our website for more WordPress Tutorials

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.



  • Beyond Multisite on August 3, 2017

    This reminds me, I recently saw a plugin that automatically disables plugins that generates an error like this or other, so no need to manually change files to get your dashboard working. I thought it was a cool idea. I am not the author of the plugin. Here it is:

  • Ngima Warun Yolmo on August 4, 2017

    how to customize header parts??? is there any plugin to customize??

  • ASK2GURUJI on August 21, 2017

    Sir how to fix pluggable error

  • the Cunning Crow on August 24, 2017

    In the video, the syntax error mentions a different line (423) than where the bad snippet you added (line 845). How does that work? The line I am getting an error from looks fine to me (I don't know php coding, but it looks the same as other functions around it in the code). How am I supposed to find the problem if it is located somewhere totally different than the error message suggests, if it is the same as your example?

  • PeopleLiveTV on August 27, 2017

    I had an error on the function.php file, and loading most of the pages it gave me this error:
    ParseError thrown

    syntax error, unexpected '<', expecting end of file

    I was really frustrating on solving it, and watching your video, i solved it in just 2 mins. Now the site is running correctly again. Really thanks (Ps: you can have a look at my site, )

  • Alexander Meiring on September 18, 2017

    this is exactly the error that i'm getting but what bothers me is that i'm simply adding another function then action it (WITHOUT any spelling or syntax mistakes) but I still get this error message. I've actually checked the entire page for syntax errors but came across nothing. Is there something I'm missing? or do I have to create a custom functions page to implement custom functions?

    Any relevant advise would be appreciated.

  • ɢƒɗ么HuLK on October 5, 2017

    Thanks it worked for me…. My website is now alive….

  • Steve Marchant on October 5, 2017

    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

  • Greyk on October 6, 2017


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

  • Turmunkh Yalalt on November 15, 2017

    Thank you very much

  • gowtham ben mythdre on November 29, 2017

    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

  • Ashwin Kadaru on May 15, 2018

    Thank you for this! I broke my site and didn't know how to fix it.

  • capitanchorizzo on July 11, 2018

    Thanks for the instructional video. But suppose I do not know what causes the error: How DO I find it? Just replace the whole functions-php-file?

  • vollvincent on December 1, 2020

    You save lives with this!!! Thanks so much for stopping my mental breakdown ^^

WhatsApp us
Live Chat

Office hours operation Mon-Sun 8:00 am ET – 4:00 pm ET

To start your Premium WP or Cpanel service, use our domain search engine, if the domain you want is available, contact us by Whats app to activate your project.

The easiest, fastest, and most secure way to communicate with us.
Please enter your domain.
Please verify that you are not a robot.

Terms Privacy