• Hi,
    After a migration from wordpress im trying to do some stuff in my website.
    Bue i have this:

    Fatal error: Call to undefined function get_header() in C:\AppServ\www\Comuniland\wp-content\themes\beatstone\index.php on line 15

    I´ve seen a lot of information about this error in your forums and some more on the internet, but not enought to fix my problem.
    The most usefull solution is about to replace the new index.php. But after i tried that and some more nothing happened, just more errors indeed.

    Need some help please.

    Thanks all!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Seems like a theme issue. Can you post the code from the theme index.php file?

    Hello @carlossc !

    Can you open up the developer console in your browser when attempting to view your site and provide any errors that you see there? You can do this by just right clicking anywhere on the page and selecting Inspect . You can then click on the console tab in the new window that opens at the bottom of the page.

    My assumption is that something is trying to load the index.php file directly causing none of the built in function to load which then causes PHP to say….”I don’t know what this is” hence the undefined error.

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Call to undefined function get_header()’ is closed to new replies.