Notice: Trying to get property of non-object in /home/wwwroot/www.hunterphp.com/module/front/src/Controller/FrontController.php on line 232

Fatal error: Uncaught RuntimeException: Output has been emitted previously; cannot emit response in /home/wwwroot/www.hunterphp.com/vendor/zendframework/zend-diactoros/src/Response/SapiEmitterTrait.php:31 Stack trace: #0 /home/wwwroot/www.hunterphp.com/vendor/zendframework/zend-diactoros/src/Response/SapiEmitter.php(27): Zend\Diactoros\Response\SapiEmitter->assertNoPreviousOutput() #1 /home/wwwroot/www.hunterphp.com/core/lib/Hunter/App/Application.php(515): Zend\Diactoros\Response\SapiEmitter->emit(Object(Zend\Diactoros\Response)) #2 /home/wwwroot/www.hunterphp.com/index.php(6): Hunter\Core\App\Application->run() #3 {main} thrown in /home/wwwroot/www.hunterphp.com/vendor/zendframework/zend-diactoros/src/Response/SapiEmitterTrait.php on line 31