• Hey everyone, I’ve been getting the following error on my logs side:

    [17-Feb-2012 15:00:11] PHP Fatal error: Call to undefined function get_header() in /home7/sonyrumo/public_html/wp-content/themes/Gadget/index.php on line 1

    And it might pop up 20 times in a row. Now in my index reads as follows:

    <?php ini_set('display_errors', 0); ?>
    <?php get_header(); ?>
    
    	<div id="feature">
    	<!-- Feature area prev/next buttons -->
    	<a id="prev" href="#"></a>
    	<a id="next" href="#"></a>
    		<div id="feature-slides" class="clearfix">

    I’ve also checked and my theme is installed here:
    sonyrumors.net/wp-content/themes/Gadget

    Which seems like the right place. I’ve read a few times to make sure of this and so that seems right. Any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • go in thru FTP and delete your theme. It seems that the theme is giving you problems.

    Thread Starter illegalprelude

    (@illegalprelude)

    But let me ask you this Richard, it’s obviously saying there is an issue with line 1. When I check the theme file that I would be basically uploading again, the line 1 is identical so is there a point to uploading the theme again? (Reason I’m hesitant is that I modified some of the code months ago so different colors appear for menus and what not and don’t want to go through and redo that, if it’s all in vain).

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