• Hello all,

    I have been working on my site all morning and had no problems then all of a sudden I cannot access anything at all! I am just getting this error:

    Parse error: syntax error, unexpected T_STRING in /home/cluster-sites/1/s/soothingsoul.co.uk/public_html/wp-includes/load.php on line 1073

    I can’t see how to attach a file so I’ve pasted the code from the load.php file. Line 1073 seems to be this one second from bottom:

    [giant paste removed]

Viewing 15 replies - 1 through 15 (of 15 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    I’ve removed your giant paste. Please use pastebin.com or gist.github.com and put the link to that paste here. However, as wp-includes/load.php is a core wordpress file, restore it from a fresh download of WordPress.

    Thread Starter mrmckee

    (@mrmckee)

    Thank you, sorry for that. @sterndata I have just done that but I’m still getting the same error. The last thing I did on the site was add a page which I viewed and then closed my browser, everything was fine. Now nothing, just this error and I can’t get anything back πŸ™

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Have you edited any .PHP files, either via FTP download/upload or under Appearance->Editor?

    Thread Starter mrmckee

    (@mrmckee)

    When I try and access a different page from my browser history, I’m getting a different error:

    Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/cluster-sites/1/s/soothingsoul.co.uk/public_html/wp-admin/widgets.php on line 51

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Again, have you modified ANY files on your site — not post content but files?

    Thread Starter mrmckee

    (@mrmckee)

    No, not at all. The above error was when I tried to access the Widgets page. I received the error below when I tried to go back to a page edit:

    Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/cluster-sites/1/s/soothingsoul.co.uk/public_html/wp-admin/edit.php on line 167

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    I think you need to replace your WordPress files:

    https://codex.wordpress.org/Updating_WordPress#Manual_Update

    So why are they going bad? It could be that you’ve been hacked. Once you get the site up and working again, install the WordFence plugin and run a scan.

    Thread Starter mrmckee

    (@mrmckee)

    Thank you, I’ll have a look. I’ve asked my hosting to investigate why it is running slowly and then this happened….

    Thread Starter mrmckee

    (@mrmckee)

    Thank you, I’ll have a look. I’ve asked my hosting to investigate why it is running slowly and then this happened….

    I’ll give that a go. Thank you.

    Thread Starter mrmckee

    (@mrmckee)

    Not one…definitely, I can categorically say, not one.

    Thread Starter mrmckee

    (@mrmckee)

    Done that now, following those instructions but the same problem.

    Trying to access the homepage I get:

    Parse error: syntax error, unexpected T_STRING in /home/cluster-sites/1/s/soothingsoul.co.uk/public_html/wp-includes/load.php on line 1073

    Trying to access wp-admin I get:

    Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/cluster-sites/1/s/soothingsoul.co.uk/public_html/wp-admin/index.php on line 112

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    What PHP version and flavor are you running? FastCGI 5.6, for example?

    Thread Starter mrmckee

    (@mrmckee)

    Hi @ipstenu

    It looks like I’m running 5.4.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    Any chance of upgrading to 5.6 or maybe even 7? It’s POSSIBLE you’re hitting a weird issue with your build of PHP. Some hosts make it easy to change.

    Thread Starter mrmckee

    (@mrmckee)

    I could only go up to 5.5 but that’s fixed it! I’m going to give my hosting company such a *****

    Thank you so much!

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘Unexpected T_STRING’ is closed to new replies.