Home Forums WoodMart support forum PHP Fatal error: Uncaught Error: Call to undefined function get_header()

PHP Fatal error: Uncaught Error: Call to undefined function get_header()

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #601110

    beto
    Participant

    Hello, my website started to show some errors after updating to PHP 8.4. I contacted SiteGround, which is hosting my website, and they informed me of the error below and suggested that I contact the theme developers. Could you please help me?

    Error reported by the SiteGround team

    [29-Sep-2024 09:05:14 UTC] PHP Fatal error: Uncaught Error: Call to undefined function get_header() in /home/customer/www/veganway.com.br/public_html/wp-content/themes/woodmart/index.php:11
    Stack trace:
    #0 {main}
    thrown in /home/customer/www/veganway.com.br/public_html/wp-content/themes/woodmart/index.php on line 11

    #601246

    Luke Nielsen
    Keymaster

    Hello,

    Could you please check how it works with some default WordPress themes like TwentyTwenty or WooCommerce Storefront to understand if is it our theme issue or not? This kind of problem is usually not caused by our theme, I suggest you check the below article:

    https://core.trac.wordpress.org/ticket/47154

    Kind Regards

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