Notice: compact(): Undefined variable: forum in /var/www/ostrov-tucnaku.cz/www/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 /var/www/ostrov-tucnaku.cz/www/vendor/zendframework/zend-httphandlerrunner/src/Exception/EmitterException.php:23 Stack trace: #0 /var/www/ostrov-tucnaku.cz/www/vendor/zendframework/zend-httphandlerrunner/src/Emitter/SapiEmitterTrait.php(39): Zend\HttpHandlerRunner\Exception\EmitterException::forOutputSent() #1 /var/www/ostrov-tucnaku.cz/www/vendor/zendframework/zend-httphandlerrunner/src/Emitter/SapiEmitter.php(26): Zend\HttpHandlerRunner\Emitter\SapiEmitter->assertNoPreviousOutput() #2 /var/www/ostrov-tucnaku.cz/www/vendor/zendframework/zend-httphandlerrunner/src/RequestHandlerRunner.php(97): Zend\HttpHandlerRunner\Emitter\SapiEmitter->emit() #3 /var/www/ostrov-tucnaku.cz/www/vendor/flarum/core/src/Http/Server.php(46): Zend\HttpHandlerRunner\RequestHandlerRunner->run() #4 /var/www/ostrov-tucnaku.cz/www/public/index.php(22): Flarum\Http\Server->listen() #5 {main} thrown in /var/www/ostrov-tucnaku.cz/www/vendor/zendframework/zend-httphandlerrunner/src/Exception/EmitterException.php on line 23