• Well Ive read a few posts about people having theme issues with 1.5.1. Errors like:

    Fatal error: Call to undefined function: get_header() in public_html/blog/index.php on line 4

    Is this common? Why are the themes not working as they are with out needed editing?

    Maybe Im missing something, but ive uploaded 3 different 3 panel themes and none will workth with out this errror. Ive fixed the error according to one post. Then another error comes, then another.. and so on. Kinda pointless to do all the editing if the theme isnt going to be easy to install in the first place..

    AnyAdivce?

Viewing 3 replies - 1 through 3 (of 3 total)
  • If you’re using themes, then something is amiss as the index.php in your blog’s root shouldn’t call get_header(), or in fact any WordPress functions at all. Double-check it to make sure that index.php has nothing more than:

    <?php
    define('WP_USE_THEMES', true);
    require('./wp-blog-header.php');
    ?>

    Thread Starter ataylor20

    (@ataylor20)

    Well from what I have seen in the other themes to choose from, there index.php always starts with:
    <?php
    get_header();
    ?>

    And there are atleast 3 ive looked at. If us the orginal index.php then what you are saying is correct but it will not use the theme that I have installed using the orgional index.php.

    Advice?

    Thread Starter ataylor20

    (@ataylor20)

    Totally feel like and idiot. Ive been editing the index.php for my blog not using the admin panel for new themes.

    doing things the hard way as usual. For those who find this post go here if you have having trouble.

    https://codex.www.ads-software.com/Using_Themes

    Sorry for the brain fart.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Upgraded to 1.5.1 and themse arent working..’ is closed to new replies.