{ANSWERED – SEE COMMENTS}
Hey all – running into a pretty odd issue. My website header isn't rendering properly. Everything else on the page (content and footer) render fine, but the header css seems to be bugged. I've already tried the following:
- Regenerate CSS and Data
- Sync Library
This is the error from the logs:
“`
MessagePHP Fatal error: Uncaught Error: Call to undefined function get_header() in /srv/htdocs/wp-content/themes/twentytwentyone/index.php:17
Stack trace:
0 {main}
thrown in /srv/htdocs/wp-content/themes/twentytwentyone/index.php on line 17
Timestamp2024-08-26T02:26:29.000Z
Kindthemes
Nametwentytwentyone
File/srv/htdocs/wp-content/themes/twentytwentyone/index.php
Line17
“`
any help is much appreciated
>Fatal error: Uncaught Error: Call to undefined function get_header()
get_header() is a core WP function. My first step would be to reupload the WordPress core. The file containing that function may be missing.
I’m a web developer and WordPress expert offering to build a **free 1-page sample** to showcase my skills. Whether you need a landing page or something simple, I’m here to help. DM me if you’re interested!