• ned4spd8874

    (@ned4spd8874)


    I have a family website that we honestly don’t update as much as we should, but in any case, I went on today to install some recent updates and am getting the following error:

    Parse error: syntax error, unexpected ')' in /home/content/98/9084498/html/wp-includes/wp-db.php on line 1753

    I restored a backup of this file, but still get this error. I’ve tried removing the “)”, but that just causes more errors.

    Help please!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Dandy Plow

    (@dandy-plow)

    A lot of times, code elsewhere on the site cause a conflict with some random line of code in the WordPress core, and the core file is listed as being the problem even though it’s not. So the fault isn’t actually with the wp-db.php file.

    Try switching themes and see if the problem is fixed.

    Otherwise, you might review recent comments or posts made to your site… If they have certain types of code written into them, they might be causing strange behavior.

    If none of this helps, perhaps you could share a bit more detail? As in whether this only happens on one particular part of the site or every page?

    Thread Starter ned4spd8874

    (@ned4spd8874)

    Thanks for the reply Dandy. However, I cannot get to any pages on my site anymore. I can’t even get into the admin portal. Nothing is working. I have made no changes or posts, it was all working the last time I looked at it about a month or so ago. Unless WordPress did something on it’s own or GoDaddy did something, I am aware of no changes being made on this site from the last time I looked at it until now.

    The site is: http://therameys.us/

    Dandy Plow

    (@dandy-plow)

    can you access via ftp and try removing plugins?

    Thread Starter ned4spd8874

    (@ned4spd8874)

    Yes, I can still access via FTP. I’ve never removed plugins like that. Do I just rename or delete the folder? I’d hate to lose my settings, but if that’s what I’ve got to do, I have no other choice.

    Dandy Plow

    (@dandy-plow)

    Just drag all of the content of your plugins folder onto your desktop, then delete them from the ftp. If that doesn’t work, then you can drag them all right back in and you won’t have lost anything!

    esmi

    (@esmi)

    Try:
    – switching to the default theme by renaming your current theme’s folder inside wp-content/themes and adding “-old” to the end of the folder name using FTP or whatever file management application your host provides.

    resetting the plugins folder by FTP or phpMyAdmin.

    Why are you using an old copy of WordPress? Were you aware that your site is currently running a very real risk of being hacked (if it hasn’t been hacked already(? You need to upgrade WordPress asap.

    Thread Starter ned4spd8874

    (@ned4spd8874)

    I’m at work now, but will work on these suggestions when I get home.

    Yes, I know it’s an old version, that’s why I was trying to upgrade it this weekend. Like I said, we only use it sparingly so it kinda gets pushed back for more important things.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Parse Error all of a sudden’ is closed to new replies.