Forums

Restoring (2 posts)

  1. dleekp
    Member
    Posted 2 years 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. Douglas
    Administrator
    Posted 2 years 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?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.