Support » Fixing WordPress » Parse error: syntax error, unexpected

  • I’m thinking my site was hacked, i replaced both the wp-includes and admin folders but am having no luck figuring out whats wrong.

    Any help would be appreciated

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator James Huff

    (@macmanx)

    Volunteer Moderator 🚀

    Remain calm and carefully follow this guide. When you’re done, you may want to implement some (if not all) of the recommended security measures.

    the error keeps changing, now im getting this one

    Fatal error: Call to undefined function is_multisite() in

    Anyone know anything?

    Moderator James Huff

    (@macmanx)

    Volunteer Moderator 🚀

    If you think you were hacked, follow the links I posted above. If not, try downloading WordPress again and delete then replace your copies of everything except the wp-config.php file and the /wp-content/ directory with fresh copies from the download.

    Sorry for the delayed response. I had done what you said MacManX and got the site working. Now i’ve gotten the same initial error again. Along with this error here: Fatal error: Call to undefined function wp() in /home/content/s/o/l/solesirius/html/wp-blog-header.php on line 14.

    All my information is visible when you visit my site.

    I’ve again replaced both my wp-includes and wp-admin folder along with any other file with the exception of wp-config.php and wp-content directory.

    P.S since the first fix, i’ve updated to the latest version of wordpress

    Ok. just got another error

    Parse error: syntax error, unexpected T_STRING in /home/content/s/o/l/solesirius/html/wp-config.php on line 22

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Parse error: syntax error, unexpected’ is closed to new replies.