Support » Fixing WordPress » After automatic upgrade to 2.8, all I get is an error message

  • Resolved churdtzu


    I just used automatic upgrade to 2.8. It said it installed fine and completed the installation. Then when I tried to do anything: log back in, look at the site, I get the same error message:

    Fatal error: Call to undefined method WordPress_Module::_weak_escape() in /home/troublei/public_html/wp-includes/wp-db.php on line 487

    What do I do?

Viewing 15 replies - 1 through 15 (of 22 total)
  • If you can’t do Tools->Upgrade->Re-intall Automatically, you may need to delete and upload manually, the WordPress files (see Steps 7 and 8 of Upgrading WordPress Extended).

    Hm… I tried it. Deleted the old files, unzipped version 2.8 files. I still get exactly the same error.

    I’ve got the same problem at And I thought it was all going to be easy this time!

    I can’t spend any time on it until tomorrow first thing and haven’t got ftp available. A quick fix would be very useful but I think I’m unlikely to be lucky today… If anyone can help, I’d be very grateful.


    This is the message I’m getting:

    Fatal error: Call to undefined function: is_site_admin() in /home4/inthebo1/public_html/wp-content/plugins/sem-google-analytics/sem-google-analytics-admin.php on line 20



    I reinstalled 2.7.1, deactivated all the plugins, and auto-updated to 2.8 again. Must be one of the plugins that was causing it. Not sure which though.

    Gav, you have an issue with the plugin, ftp to site and remove from the plugin folder. Should then work. Then find problem on line 20….

    I have just upgraded to 2.8 and bang – site won’t load. I’ve renamed plugin folder and hey presto it’s working (, but now I have to find the culprit plugin. Anyone found rogue plugins with 2.8 that may save me some time…???

    hi gmatkin,

    i also had this problem and fixed it temporarily by uploading the 2.7 version of wp-db.php. This got my site working but i still see other error messages, e.g. editing my pages, i see:

    Warning: implode() [function.implode]: Invalid arguments passed in /home/creati40/public_html/ on line 1762

    i do use quite a lot of plugins, especially redirection and advanced permalinks, which are essential for my website and i dont want to switch them off!!!!

    OK, I’ve found an online ftp to stop the plugins.

    But plugins are useful and I’m using lots of them. How can I best work out which are causing problems?



    Am I dreaming, or does my site work faster under 2.8 with no plugins than under 2.7.1 with plugins?

    There are reports that 2.8 is faster.

    OK – the Google Analytics plugin that seems to have been causing the problem is history. Everything else – crossed fingers – seems to be ok.

    Thanks for your help, eveyone.


    I can see that I am not alone when I get this beautiful error

    /wp-db.php on line 487

    I’ve done was

    1. FTP to my server
    2. Rename plugins folder to plugins.x
    3. Create an empty plugins
    4. Reload Admin and Site (all working without plugins)
    5. Come to Admin, Login as normal
    6. Move all plugins from plugins.x folder back to plugins
    7. Reactivate them one by one

    It seem to solve the problem on my end 🙂

    Hey this solution worked for me!

    Thanks very much.

    I detected that it was the redirection plugin, that caused this error.

    well, i did all that but i sill get the same error message

    Fatal error: Call to undefined method SearchParser::_weak_escape() in /wp-includes/wp-db.php on line 487

    who has other suggestions?

Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘After automatic upgrade to 2.8, all I get is an error message’ is closed to new replies.