Forums

Latest version of WP has broken my site! (6 posts)

  1. footy4kids
    Member
    Posted 1 year ago #

    Hi

    I've just upgraded my MU site to the latest version of WP and it's stopped working.

    I've restored the DB from a backup taken two days ago but it hasn't made any difference.

    The site is at: http://broughtonravers.co.uk

    This is the error message:

    Fatal error: Call to undefined function wp() in /home/broughto/public_html/broughtonravers.co.uk/wp-blog-header.php on line 14

    Any ideas how to fix it or how to roll back to 3.1.1 would be much appreciated :)

  2. footy4kids
    Member
    Posted 1 year ago #

    This is the content of the wp-blog-header.php file:

    <?php
    /**
    * Loads the WordPress environment and template.
    *
    * @package WordPress
    */

    if ( !isset($wp_did_header) ) {

    $wp_did_header = true;

    require_once( dirname(__FILE__) . '/wp-load.php' );

    wp();

    require_once( ABSPATH . WPINC . '/template-loader.php' );

    }

    ?>

  3. Samuel B
    moderator
    Posted 1 year ago #

    looks like an incomplete upgrade
    do it manually
    http://codex.wordpress.org/Upgrading_WordPress_Extended

  4. Andrea_r
    team pirate
    Posted 1 year ago #

    Manually just means uploading all the wordpress core files.

  5. footy4kids
    Member
    Posted 1 year ago #

    Thanks for the advice. I'll have a go at a manual update but think I'll use version 3.1.1 just in case 3.1.2 is somehow incompatible with MU. Though I don't know why it should be.

  6. Andrea_r
    team pirate
    Posted 1 year ago #

    Minor version nu8mbers usually do not change a lot. Multisite didn't change a bit, as far as I remember, between 3.1.1 and 3.1.2.

    It mostly looks like some files were missed.

Topic Closed

This topic has been closed to new replies.

About this Topic