WordPress.org

Ready to get started?Download WordPress

Forums

Strange Bug affected many of my wordpress sites. (8 posts)

  1. bonini81
    Member
    Posted 2 years ago #

    Hey guys i got a couple of sites hosted on WordPress on the same servers, strangely a single bug from them looks like has thrown the others.
    I all show you the main one, its http://pugle.net/ as soon as you open it these message error shows:

    Fatal error: Call to undefined function wp() in /home/content/p/u/g/pugle/html/pugle/wp-blog-header.php on line 16

    And this is the script for wp-blog-header.php, it looks fine to me.

    <?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(); LINE 16 WHERE ERROR IS SAID TO BE

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

    }

    ?>

    Does anyone know what could happen i wrote Godaddy and said it should be a scripting mistake, has anyone had this similar mistake before, if so please let me know how to fix it as i cant access the the Admin panel either. Thanx

  2. IshaanRawat
    Member
    Posted 2 years ago #

    Have you installed it by your own or every time the host provider installs it

  3. bonini81
    Member
    Posted 2 years ago #

    Yeah i installed it by my own, this site is more than a year old installed in WordPress just last week this bug appeared, no clue what happened.

  4. IshaanRawat
    Member
    Posted 2 years ago #

    Through C-Panel(Fantastico or Softaculous) or through downloading and then through FTP

  5. bonini81
    Member
    Posted 2 years ago #

    Yeah i can access through FTP, but dont know what is the problem with the script or error message shown.

  6. IshaanRawat
    Member
    Posted 2 years ago #

    Do you upload the same downloaded file?? in FTP???

  7. bonini81
    Member
    Posted 2 years ago #

    yeah i think i uploaded once but didnt really change anything, what could be the problemç?

  8. bonini81
    Member
    Posted 2 years ago #

    Any ideas of a solution, i am totally lost, i all provide access to FTP to whoever is willing to help. Thanx

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.