functions.php on line 443

  • Unknown's avatar

    I’m getting this fatal error when trying to log into the site to post

    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 245925 bytes) in /home/*****/public_html/wp-includes/functions.php on line 443

    The file has the date of Sept 7, 2016 as some other files. I think there was an update around that time.

    the site (public view) seems to work fine

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    function maybe_serialize( $data ) {
    if ( is_array( $data ) || is_object( $data ) )
    return serialize( $data );

    line 443 is “return…”

  • Unknown's avatar

    occasionally, got this fatal error
    Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 401147 bytes) in /home/*****/public_html/wp-includes/wp-db.php on line 1168

    function _real_escape( $string ) {
    if ( $this->dbh ) {
    if ( $this->use_mysqli ) {
    return mysqli_real_escape_string( $this->dbh, $string );
    } else {
    ===> return mysql_real_escape_string( $string, $this->dbh );
    }
    }

  • Unknown's avatar

    Here’s how I got it to work again :(

    Went into my hosting account -> got into wordpress installation and logged in from there.

    After that, I was able to log in the normal way using wp-login.php path

  • The topic ‘functions.php on line 443’ is closed to new replies.