Parse error: syntax error, unexpected '/' on line 12 .php
-
Hi All,
trying to help a friend out with issues he has been having with his site.
For a quick background overview, he first got the “WP White Screen of Death”,
by which I went in and de-activated a recently upgraded Jetpack plugin that seemed to cause the issue.Site was up and running again.
Then Google showed “this site may be hacked” in search results.
After following the Google instructions through their Search Console, I went in to his GoDaddy File Manager and found over 8,000 spammy files, of which I deleted and re-submitted to Google For evaluation.
That got rid of the “this site may be hacked” link in search results, but now the site shows: Parse error: syntax error, unexpected ‘/’ in /home/content/02/6193502/html/wp-blog-header.php on line 12
when going into this file, I don’t necessarily see any issues, but then again I don’t know what exactly the original code should look like…
here is the code currently in the file:
<?php /** * Loads the WordPress environment and template. * * @package WordPress */ if ( !isset($wp_did_header) ) { $wp_did_header = true; require_once( dirname(__FILE__) . /wp-load.php ); wp(); require_once( ABSPATH . WPINC . /template-loader.php ); }
I am assuming that this error was sparked from the spammy files? I want to fix this issue but don’t know where to start.
Please help! Site is here: https://sugarpercussion.com/
THANKS!
- The topic ‘Parse error: syntax error, unexpected '/' on line 12 .php’ is closed to new replies.