Fatal error: Call to undefined function get_header()
-
I’m trying to install some themes for my website, that I host on my localhost using XAMPP. I wanted to use glossy stylo, but everytime I try to load a file, I get the error: Fatal error: Call to undefined function get_header() in C:\Users\*****\Desktop\xampp\htdocs\wordpress\wp-content\themes\glossy-stylo\index.php on line 2. This is automatticly for my index.php file. I tried to use other themes aswell, but that gave me the same error. I have tried to paste the code from the header.php file into the index.php file, but then another error appeared: Fatal error: Call to undefined function language_attributes() in C:\Users\*****\Desktop\xampp\htdocs\wordpress\wp-content\themes\glossy-stylo\index.php on line 2. Because of this I think that all my functions are not working. I tried looking for other posts but I was not able to find any information that helped me. Help would be really much appreciated. (Btw, the ***** are just the name of the user.)
- The topic ‘Fatal error: Call to undefined function get_header()’ is closed to new replies.