My website host sent me this stating why they think it is the theme.
Fatal error: Uncaught Error: Call to undefined function get_header() in /home/herbalco/public_html/wp-content/themes/colormag/index.php:9
Stack trace:
#0 {main}
thrown in /home/herbalco/public_html/wp-content/themes/colormag/index.php on line 9
This error does not occur when using PHP 5.6, but when I switch it to PHP 7.0 or above, that is the error produced. I would recommend getting in touch with the developer of the theme so they can update it to work with PHP 7, or use a theme that is compatible with PHP 7+.
Regards,
Kale M.
Support Specialist
A2 Hosting – Our Speed, Your Success!
https://www.a2hosting.com/support
Hi Nitu:
What do you mean by ‘used’ plugin?
Do you mean an unused plugin?
Or do you mean the LearnDash plugin that needs to be updated?
Should I deactivate that?
Sincerely
Marilyn Zink
My message is above on the PHP update to 7.0 and higher crashing my site.