WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] After automatic upgrade to 2.8, all I get is an error message (23 posts)

  1. churdtzu
    Member
    Posted 5 years ago #

    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?

  2. MichaelH
    Member
    Posted 5 years ago #

    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).

  3. churdtzu
    Member
    Posted 5 years ago #

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

  4. MichaelH
    Member
    Posted 5 years ago #

  5. gmatkin
    Member
    Posted 5 years ago #

    I've got the same problem at intheboatshed.net. 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.

    Gav

  6. gmatkin
    Member
    Posted 5 years ago #

    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

    thanks,

    Gav

  7. churdtzu
    Member
    Posted 5 years ago #

    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.

  8. nigel123
    Member
    Posted 5 years ago #

    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 (www.stalbanslife.co.uk), but now I have to find the culprit plugin. Anyone found rogue plugins with 2.8 that may save me some time...???

  9. tanchiahuei
    Member
    Posted 5 years ago #

    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/creatinemonohydrate.net/wp-includes/post.php 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!!!!

  10. gmatkin
    Member
    Posted 5 years ago #

    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?

    Thanks,

    Gav

  11. gmatkin
    Member
    Posted 5 years ago #

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

  12. MichaelH
    Member
    Posted 5 years ago #

    There are reports that 2.8 is faster.

  13. gmatkin
    Member
    Posted 5 years ago #

    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.

    Gav

  14. manet
    Member
    Posted 5 years ago #

    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 :)

  15. mirtei
    Member
    Posted 5 years ago #

    Hey this solution worked for me!

    Thanks very much.

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

  16. julakim
    Member
    Posted 5 years ago #

    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?

  17. SemperFideles
    Member
    Posted 5 years ago #

    This appears to be caused by the Redirect plugin. Delete that plugin from your plugin folder. Hopefully the author will release an update soon.

  18. jvasko
    Member
    Posted 5 years ago #

    Thank you Mertei! I simply deleted the redirection file and now 2.8 works. That was easy.

  19. jbfiedler
    Member
    Posted 5 years ago #

    Yes, thanks Mertei. Deleting the redirection plugin worked for me, too.

  20. yogen70
    Member
    Posted 4 years ago #

    Hey I don't have any redirection plugin. If I create an empty plugins folder then none of the page loads. its shows a blank page.

  21. mystery777
    Member
    Posted 4 years ago #

    Yes, I renamed the redirection plugin folder to redirection2....

    The problem is I NEED THAT PLUGIN!

    Most of my outbound links depend on it! I CAN'T SIMPLY STOP USING IT!

    Any solution guys?

  22. befound
    Member
    Posted 4 years ago #

    I too solved the problem by renaming the folder redirect2. When I went to my plugins page after that there was an upgrade and the upgrade solved the problem.

    So if you upgrade the plugin first you might be able to avoid the problem all together.

  23. samudradaka
    Member
    Posted 4 years ago #

    I had the same ...wp-db.php on line 487 error and solved it by upgrading the redirection plugin to the latest version (2.1.22) - http://urbangiraffe.com/plugins/redirection/

Topic Closed

This topic has been closed to new replies.

About this Topic