• upgraded to 4.7
    then I upgraded the theme (wipi) to latest, got this error (site is down)

    Fatal error: Call to undefined function get_bloginfo() in /home4/amsalem/public_html/eyalonline.com/wp-includes/class-wp-locale.php on line 233

    I set as remark the following lines in class-wp-locale.php
    //if ( ‘rtl’ === $this->text_direction && strpos( get_bloginfo( ‘version’ ), ‘-src’ ) ) {
    // $this->text_direction = ‘ltr’;
    // add_action( ‘all_admin_notices’, array( $this, ‘rtl_src_admin_notice’ ) );
    //}

    and the site went back up
    I guess this is not a very good solution, does anyone know why I don’t have this function get_bloginfo() and what should I do ?

    thanks,
    Eyal.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    DO NOT MODIFY CORE FILES.

    It’s likely that the update didn’t quite replace all files. Go to ww.wp.xz.cn and download a fresh copy. Unzip locally and upload all files and directories via FTP.

    Thread Starter meshulam77

    (@meshulam77)

    just want to make sure I understand, you think I should overwrite all WP files ?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Yes

    I’ve been encountering the same issue with 3 websites after upgrading to 4.7.2
    It’s not clear what is really causing this as we have a number of websites configured similarly, but only 3 of the websites are affected.

    Eyal, did you have any luck in fixing this?

    I tried replacing the WP files, but that hasn’t helped….

    Found a solution:
    1. Comment out the lines just like Meshulam did so you can get access back to the admin panel.
    2. Go to: Dashboard -> Updates
    3. Re-install Wordpess (click “Re-install Now”)

    Thanks,
    This solution worked for me!

    sometimes it look like invalid DB info problem . so edit the wp-config.php file and make sure from the mysql database info and password and then try again.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘function not exist’ is closed to new replies.