I've installed Flarum on localhost. I'm using xampp for running localhost server. After i'm done with composer i successfully installed it without any errors but just as i tried to post a discussion i get an error like : "ops, something went wrong. Please refresh the page" .
Screenshot here : https://supremefree.tk/Screenshot%20-%208_15_2018%20%2C%203_51_54%20PM.png
So, just as i reload the page, this time the forum doesn't even loads rather it shows an error page saying :
Warning: count(): Parameter must be an array or an object that implements Countable in P:\web\htdocs\forum\vendor\flarum\core\src\Core\Post\RegisteredTypesScope.php on line 52
Fatal error: Uncaught RuntimeException: Output has been emitted previously; cannot emit response in P:\web\htdocs\forum\vendor\zendframework\zend-diactoros\src\Response\SapiEmitterTrait.php:41 Stack trace: #0 P:\web\htdocs\forum\vendor\zendframework\zend-diactoros\src\Response\SapiEmitter.php(30): Zend\Diactoros\Response\SapiEmitter->assertNoPreviousOutput() #1 P:\web\htdocs\forum\vendor\zendframework\zend-diactoros\src\Server.php(167): Zend\Diactoros\Response\SapiEmitter->emit(Object(Zend\Diactoros\Response)) #2 P:\web\htdocs\forum\vendor\flarum\core\src\Http\AbstractServer.php(36): Zend\Diactoros\Server->listen(Object(Zend\Stratigility\NoopFinalHandler)) #3 P:\web\htdocs\forum\index.php(16): Flarum\Http\AbstractServer->listen() #4 {main} thrown in P:\web\htdocs\forum\vendor\zendframework\zend-diactoros\src\Response\SapiEmitterTrait.php on line 41
I was thinking to upload it on my shared server after successfully installing on localhost.
Please help me out if possible.
I really wanted to try it out but i can't ?