askvortsov
After seeing some members mentioned that it does not work with PHP 8.1, I install PHP 7.4 and get these error:
Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.2". You are running 7.4.27. in /Users/user/Sites/forum/vendor/composer/platform_check.php on line 24
After I disabled version check while installing, I got these errors:
Notice: Undefined index: data in /Users/user/Sites/forum/vendor/flarum/core/src/Frontend/Content/CorePayload.php on line 74
Fatal error: Uncaught Laminas\HttpHandlerRunner\Exception\EmitterException: Output has been emitted previously; cannot emit response in /Users/user/Sites/forum/vendor/laminas/laminas-httphandlerrunner/src/Exception/EmitterException.php:24 Stack trace:
#0 /Users/user/Sites/forum/vendor/laminas/laminas-httphandlerrunner/src/Emitter/SapiEmitterTrait.php(40): Laminas\HttpHandlerRunner\Exception\EmitterException::forOutputSent()
#1 /Users/user/Sites/forum/vendor/laminas/laminas-httphandlerrunner/src/Emitter/SapiEmitter.php(27): Laminas\HttpHandlerRunner\Emitter\SapiEmitter->assertNoPreviousOutput()
#2 /Users/user/Sites/forum/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(98): Laminas\HttpHandlerRunner\Emitter\SapiEmitter->emit(Object(Laminas\Diactoros\Response\HtmlResponse))
#3 /Users/user/Sites/forum/vendor/flarum/core/src/Http/Server.php(44): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
#4 /Users/user/Sites/forum/public/index.php(26): Flarum\Http\Server->listen()
#5 {main} thrown in /Users/user/Sites/forum/vendor/laminas/laminas-httphandlerrunner/src/Exception/EmitterException.php on line 24
And this is the log: https://pastebin.com/1ucw4csN
Something is wrong with type hinting of the Symfony Filesystem module.