Forums

Problem after upgrade to 2.8.4 (3 posts)

  1. laylock
    Member
    Posted 2 months ago #

    Hi,

    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
    Member
    Posted 2 months 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
    Member
    Posted 2 months 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 :) ).

Reply

You must log in to post.

About this Topic