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 :)
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' );
}
?>
Manually just means uploading all the wordpress core files.
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.
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.