Headerphp returns error 500

Latest Reply from Alice at 2020-02-01 01:42:40 Solution
Hello,

I have purchased and activated the theme, and tried to add script tag inside header also directly via gamecenter theme option head code, however as i noticed that header is not working at all and returns error 500 when its open directly which should not happen.
Any solution for this.
footer.php is working just fine, i have tried to add the theme and replace header.php code multiple times issue is the same.
PHP Fatal error: Uncaught Error: Call to a member function get_layout() on null in wp-content/themes/gamecenter/header.php:13\nStack trace:\n#0 {main}\n thrown in wp-content/themes/gamecenter/header.php on line 13
i have solved the problem
It could be great if you could share the solution for people who may experience the same issue in future.

Leave a reply

Add codeAdd image