• I received this error after I restored my database and tring to login the Admin

    Fatal error: Call to undefined function wp() in /home/ezycalln/public_html/praise-media/wp-admin/wp-blog-header.php on line 14

    my wp-blog-header.php is:
    <?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’ );

    }

    ?>

Viewing 1 replies (of 1 total)
  • That’s what the file is, so I don’t think it’s a problem with that particular file. Did you restore any files from the backup? Are you sure you got all of them restored?

Viewing 1 replies (of 1 total)
  • The topic ‘Restoring’ is closed to new replies.