Warning: count(): Parameter must be an array or an object that implements Countable in /home/vol15_6/epizy.com/epiz_22455287/htdocs/vendor/flarum/core/src/Core/Post/RegisteredTypesScope.php on line 52

Fatal error: Uncaught RuntimeException: Output has been emitted previously; cannot emit response in /home/vol15_6/epizy.com/epiz_22455287/htdocs/vendor/zendframework/zend-diactoros/src/Response/SapiEmitterTrait.php:41 Stack trace: #0 /home/vol15_6/epizy.com/epiz_22455287/htdocs/vendor/zendframework/zend-diactoros/src/Response/SapiEmitter.php(30): Zend\Diactoros\Response\SapiEmitter->assertNoPreviousOutput() #1 /home/vol15_6/epizy.com/epiz_22455287/htdocs/vendor/zendframework/zend-diactoros/src/Server.php(167): Zend\Diactoros\Response\SapiEmitter->emit(Object(Zend\Diactoros\Response)) #2 /home/vol15_6/epizy.com/epiz_22455287/htdocs/vendor/flarum/core/src/Http/AbstractServer.php(36): Zend\Diactoros\Server->listen(Object(Zend\Stratigility\NoopFinalHandler)) #3 /home/vol15_6/epizy.com/epiz_22455287/htdocs/index.php(16): Flarum\Http\AbstractServer->listen() #4 {main} thrown in /home/vol15_6/epizy.com/epiz_22455287/htdocs/vendor/zendframework/zend-diactoros/src/Response/SapiEmitterTrait.php on line 41