So first off, I'm trying to set this up on http://forum.hexabyte.me but my router (because I'm hosting it on a home server) isn't being cooperative and port forwarding port 80. But that's not what I'm asking about.
Whenever I go to localhost, it pulls up this error,
Warning: count(): Parameter must be an array or an object that implements Countable in C:\Users\Administrator\Documents\HexaForum\vendor\flarum\core\src\Core\Post\RegisteredTypesScope.php on line 52
Fatal error: Uncaught RuntimeException: Output has been emitted previously; cannot emit response in C:\Users\Administrator\Documents\HexaForum\vendor\zendframework\zend-diactoros\src\Response\SapiEmitterTrait.php:31 Stack trace: #0 C:\Users\Administrator\Documents\HexaForum\vendor\zendframework\zend-diactoros\src\Response\SapiEmitter.php(27): Zend\Diactoros\Response\SapiEmitter->assertNoPreviousOutput() #1 C:\Users\Administrator\Documents\HexaForum\vendor\zendframework\zend-diactoros\src\Server.php(162): Zend\Diactoros\Response\SapiEmitter->emit(Object(Zend\Diactoros\Response)) #2 C:\Users\Administrator\Documents\HexaForum\vendor\flarum\core\src\Http\AbstractServer.php(36): Zend\Diactoros\Server->listen(Object(Zend\Stratigility\NoopFinalHandler)) #3 C:\Users\Administrator\Documents\HexaForum\index.php(16): Flarum\Http\AbstractServer->listen() #4 {main} thrown in C:\Users\Administrator\Documents\HexaForum\vendor\zendframework\zend-diactoros\src\Response\SapiEmitterTrait.php on line 31
Now this is annoying because if I go to localhost/u/username it comes up with the user, but with a little box in the corner that says "Oops! Something went wrong. Please reload the page and try again."
Any help would be appreciated.