Fatal error: Uncaught TypeError: Argument 1 passed to Layouts\Page\PageModel::__construct() must be an instance of WP_Post, null given, called in /www/airbakers.com/airbakers.com/wp-content/themes/airbakers/panda/Layouts/Page/PageFactory.php on line 14 and defined in /www/airbakers.com/airbakers.com/wp-content/themes/airbakers/panda/Layouts/Page/PageModel.php:15
Stack trace:
#0 /www/airbakers.com/airbakers.com/wp-content/themes/airbakers/panda/Layouts/Page/PageFactory.php(14): Layouts\Page\PageModel->__construct()
#1 /www/airbakers.com/airbakers.com/wp-content/themes/airbakers/panda/Components/Header/HeaderMain.php(12): Layouts\Page\PageFactory::create()
#2 /www/airbakers.com/airbakers.com/wp-includes/template.php(812): require('/www/airbakers....')
#3 /www/airbakers.com/airbakers.com/wp-includes/template.php(745): load_template()
#4 /www/airbakers.com/airbakers.com/wp-includes/general-template.php(206): locate_template()
#5 /www/airbakers.com/airbakers.com/wp-content/themes/airbakers/panda/Components/Header/Header.php(24 in /www/airbakers.com/airbakers.com/wp-content/themes/airbakers/panda/Layouts/Page/PageModel.php on line 15