Forums

Restoring (2 posts)

  1. dleekp
    Member
    Posted 7 months ago #

    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' );

    }

    ?>

  2. douglashanna
    Administrator
    Posted 7 months ago #

    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?

Reply

You must log in to post.

About this Topic

Tags

No tags yet.