WordPress.org

Ready to get started?Download WordPress

Forums

Fatal error: Call to undefined function get_header() (2 posts)

  1. modnar
    Member
    Posted 1 year ago #

    After having timthumb.php exploited.

    The site was upgraded to WP 3.5

    It was compromised again, using the Malware/EXPLOITKIT BLACKHOLE1
    (wp-config included encrypted data as well as the functions.php in the wp-include directory and .htaccess)

    After reviewing various sites/posts, I opted to remove ALL files (after backing up the site) and re-install the WP code to insure no corrupted files, and to remove any unneeded files still lingering from the various theme/plugin/and versions of WordPress updates.

    The home page loads, but all links beyond that are unusable, giving this error

    Fatal error: Call to undefined function get_header() in ...404.php on line 1.

    The Header and 404 php files are in the root of the theme's directory, and there is not modification of the code.

    I've wiped the site clean twice now, and extracted the 3.5 install and theme back onto the site to ensure correct file placement.

    I've removed all plugins and all non standard theme files.
    I've reverted to the 2012 theme and

      still
    the links fail.. not only that, but the links ALWAYS point back to the theme directory at time of the hack.

    where in the database do I need to look for remaining corruption? or is this a simple issue I'm making more complicated.

    I HAVE read
    http://wordpress.org/support/topic/fatal-error-call-to-undefined-function-get_header-on-new-installation?replies=4

    And I'm ABSOLUTELY sure its not the index file in the wrong place.

    please and thank you in advance.

  2. Tara
    Member
    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Topic