Unhandled Exception

Message:

Trying to get property of non-object

Location:

/var/www/html/public/content/themes/SAHL/app/controllers/ProductsController.php on line 66

Stack Trace:

#0 /var/www/html/public/content/themes/SAHL/functions.php(233): Themosis\Error\Error::native(8, 'Trying to get p...', '/var/www/html/p...', 66)
#1 /var/www/html/public/content/themes/SAHL/app/controllers/ProductsController.php(66): {closure}(8, 'Trying to get p...', '/var/www/html/p...', 66, Array)
#2 [internal function]: ProductsController->single(Object(WP_Post), Object(WP_Query))
#3 /var/www/html/public/content/mu-plugins/themosis-framework/src/Themosis/Route/Controller.php(31): call_user_func_array(Array, Array)
#4 /var/www/html/public/content/mu-plugins/themosis-framework/src/Themosis/Route/ControllerDispatcher.php(77): Themosis\Route\Controller->callAction('single', Array)
#5 /var/www/html/public/content/mu-plugins/themosis-framework/src/Themosis/Route/ControllerDispatcher.php(49): Themosis\Route\ControllerDispatcher->call(Object(ProductsController), Object(Themosis\Route\Route), 'single')
#6 /var/www/html/public/content/mu-plugins/themosis-framework/src/Themosis/Route/Router.php(199): Themosis\Route\ControllerDispatcher->dispatch(Object(Themosis\Route\Route), Object(Themosis\Core\Request), 'ProductsControl...', 'single')
#7 [internal function]: Themosis\Route\Router->Themosis\Route\{closure}(Object(WP_Post), Object(WP_Query))
#8 /var/www/html/public/content/mu-plugins/themosis-framework/src/Themosis/Route/Route.php(222): call_user_func_array(Object(Closure), Array)
#9 /var/www/html/public/content/mu-plugins/themosis-framework/src/Themosis/Route/Router.php(269): Themosis\Route\Route->run()
#10 /var/www/html/public/content/mu-plugins/themosis-framework/src/Themosis/Route/Router.php(249): Themosis\Route\Router->dispatchToRoute(Object(Themosis\Core\Request))
#11 /var/www/html/public/content/mu-plugins/themosis-framework/src/Themosis/Core/Application.php(241): Themosis\Route\Router->dispatch(Object(Themosis\Core\Request))
#12 /var/www/html/public/content/mu-plugins/themosis-framework/src/Themosis/Core/Application.php(224): Themosis\Core\Application->dispatch(Object(Themosis\Core\Request))
#13 /var/www/html/public/content/mu-plugins/themosis-framework/src/Themosis/Core/Application.php(207): Themosis\Core\Application->handle(Object(Themosis\Core\Request))
#14 /var/www/html/public/content/mu-plugins/themosis-framework/src/Themosis/Action/Action.php(109): Themosis\Core\Application->run('', NULL)
#15 /var/www/html/public/content/mu-plugins/themosis-framework/src/Themosis/Action/ActionNotifier.php(28): Themosis\Action\Action->run()
#16 /var/www/html/public/content/mu-plugins/themosis-framework/src/Themosis/Action/ActionSubject.php(27): Themosis\Action\ActionNotifier->update()
#17 /var/www/html/public/content/mu-plugins/themosis-framework/src/Themosis/Action/Action.php(96): Themosis\Action\ActionSubject->notify()
#18 /var/www/html/public/cms/wp-includes/class-wp-hook.php(286): Themosis\Action\Action->action('')
#19 /var/www/html/public/cms/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#20 /var/www/html/public/cms/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#21 /var/www/html/public/content/themes/SAHL/functions.php(343): do_action('themosis_run')
#22 /var/www/html/public/content/themes/SAHL/index.php(9): themosis_start_app()
#23 /var/www/html/public/cms/wp-includes/template-loader.php(74): include('/var/www/html/p...')
#24 /var/www/html/public/cms/wp-blog-header.php(19): require_once('/var/www/html/p...')
#25 /var/www/html/public/index.php(11): require('/var/www/html/p...')
#26 {main}