WordPress 2.8 bleeding-edge and WordPress_Module::_weak_escape()

After upgrading to 2.8-beeding-edge I got the following error:

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

Disabling Redirection plugin solved the problem. Could it be that Redirection also defines _weak_escape() or escape()? Server ir running PHP 5.2.6.

You may also like

14 Comments

Mr. Serge Mar 29, 19:53

To get a 2.8 version I should be a beta tester or I can get a direct link also?

Kaspars Mar 29, 19:58

Mr. Serge, to test WordPress 2.8 simply change $wp_version inside /wp-includes/version.php from 2.7.1 to 2.8-bleeding-edge and do an automatic upgrade as you normally would when a new version is released.

Mr. Serge Apr 1, 13:30

Thank you. Great tip.

jamEs Jun 12, 3:30

How do I disable the plugin if I can’t get to anything on my blog? I tried just pulling it out of the plugins directory and that just opened up a whole other can of worms.

Kaspars Jun 12, 11:21

jamEs, just delete the plugin folder and refresh any of the front-end pages for two times — first, it will display an error while the core disables the plugin, and at the second time the error should be gone.

Hari Bhajan Jun 13, 17:54

Thanks for the simple solution!

Andy Jun 15, 16:25

Had this same problem. Solution:

Rename “plugins” to “plugins.old”
Create new dir: plugins
Refresh page, 2.8 should be installed and working fine.
Copy old plugins from plugins.old to plugins one by one, refreshing every time, to pinpoint which plugin is causing the problem.

ravi Jun 18, 6:00

deleting redirection plugin helped. thanks for the simple solution

Sandy Kumskov Jun 18, 23:40

renaming redirection plugin folder was perfect, thanks very much :)

Jon Milani Jun 20, 16:58

This page just saved me from having many major headaches with my WP upgrade! Thank you so much!

As a side note, there is a new version of the plugin available (as of today – June 20, 2009), so hopefully the new version won’t break WP 2.8.

http://urbangiraffe.com/plugins/redirection/

Jeremy Blake Jun 20, 18:10

It was the redirection plugin for me too. Thank you for the help. Worked like a charm! :)

JC Jun 24, 15:06

Thank you for the simple solution. Brilliant

Andy Nov 15, 1:07

Redirection plugin was the problem for me to. I just deactivated it, upgraded it, and then reactivated it and all is well now!

On other blogs (trackbacks):

Leave a Comment