Support » Fixing WordPress » Fatal error: Call to undefined function get_header()

  • 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


    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

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

    please and thank you in advance.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Fatal error: Call to undefined function get_header()’ is closed to new replies.