Problem after upgrade to 2.8.4 (4 posts)

  1. laylock
    Posted 6 years ago #


    I'm using a static page for my 'Front page', and a page called 'blog' for my 'Posts Page'. Everything works fine, except that /blog returns an index when it used to return all my posts. When I try to edit the page called 'blog', I get the following error:

    Fatal error: Call to undefined function: _weak_escape() in /home4/laylocko/public_html/wp-includes/wp-db.php on line 487

    Any help would be greatly appreciated.

  2. tomontoast
    Posted 6 years ago #

    That's strange. What version of PHP are you running? I can suggest a hack for you. Open wp-includes/wp-db.php and replace _weak_escape on lines 484 and 487 with addslashes Does exactly the same thing.

  3. bookchiq
    Posted 6 years ago #

    For me, this error was a result of an old version of the Redirection plugin. I deleted it via FTP and all was well (and then I installed the latest version of the plugin, and all was still well :) ).

  4. shazza007
    Posted 5 years ago #

    This exact error happened to me today. Thanks for the fix ... deactivating and then upgrading the Redirection plugin did the trick. Whew!

Topic Closed

This topic has been closed to new replies.

About this Topic