Notice: compact(): Undefined variable: forum in /home/lindnerf/diyelectriccars.com/vendor/flarum/core/src/Forum/Content/Index.php on line 61

Fatal error: Uncaught Zend\HttpHandlerRunner\Exception\EmitterException: Output has been emitted previously; cannot emit response in /home/lindnerf/diyelectriccars.com/vendor/zendframework/zend-httphandlerrunner/src/Exception/EmitterException.php:23 Stack trace: #0 /home/lindnerf/diyelectriccars.com/vendor/zendframework/zend-httphandlerrunner/src/Emitter/SapiEmitterTrait.php(39): Zend\HttpHandlerRunner\Exception\EmitterException::forOutputSent() #1 /home/lindnerf/diyelectriccars.com/vendor/zendframework/zend-httphandlerrunner/src/Emitter/SapiEmitter.php(26): Zend\HttpHandlerRunner\Emitter\SapiEmitter->assertNoPreviousOutput() #2 /home/lindnerf/diyelectriccars.com/vendor/zendframework/zend-httphandlerrunner/src/RequestHandlerRunner.php(97): Zend\HttpHandlerRunner\Emitter\SapiEmitter->emit(Object(Zend\Diactoros\Response\HtmlResponse)) #3 /home/lindnerf/diyelectriccars.com/vendor/flarum/core/src/Http/Server.php(46): Zend\HttpHandlerRunner\RequestHandlerRunner->run() #4 /home/lindnerf/diyelectriccars.com/index.php(25): Flarum in /home/lindnerf/diyelectriccars.com/vendor/zendframework/zend-httphandlerrunner/src/Exception/EmitterException.php on line 23