WordPress.org

Ready to get started?Download WordPress

Forums

Installation pb WP 2.8 (8 posts)

  1. sylvainman
    Member
    Posted 5 years ago #

    Hi,
    The upgrade never finished and I have this error :

    Fatal error: Call to undefined method WordPress_Module::_weak_escape() in /homepages/6/d163886186/htdocs/pblog/wp-includes/wp-db.php on line 487

    You can see it here.
    Any idea ? Thank you.

  2. sylvainman
    Member
    Posted 5 years ago #

    I tried the automatic and the manual upgrade...

  3. nathanrice
    Member
    Posted 5 years ago #

    Have you looked (in FTP) to see if that file exists, or if it got corrupted somehow?

    If it's not there, or if it's not completely there, then just download wordpress from WordPress.org, find that file and upload it manually.

  4. sylvainman
    Member
    Posted 5 years ago #

    Thank you nathanrice,
    I have overwritten wp-db.php and nothing works better.

  5. sylvainman
    Member
    Posted 5 years ago #

    I have deleted the line 487 in wp-db.php and it seems to work :
    $data = $this->_weak_escape( $data );

  6. MichaelH
    Member
    Posted 5 years ago #

    Read one report that this error could happen with a redirection plugin. Try deactivating all plugins, then reactivate, one-by-one to find the culprit.

  7. J3551C4
    Member
    Posted 5 years ago #

    I deactivated all of my plugins and that fixed the problem. I'm trying to figure out my culprit now =] Thanks MichaelH

  8. WWDay3
    Member
    Posted 4 years ago #

    I experienced the same problem when I upgraded from WP2.7 to WP2.8.2. I "solved" it by commenting out line 487. So far, I have not been able to locate the _weak_escape method. I wonder if it even exists...

Topic Closed

This topic has been closed to new replies.

About this Topic