提问前请务必仔细阅读如何排查故障和常见问题。
问题描述:换了新服务器,从旧服务器迁移到新服务器后,都是宝塔面板,完成后出错
报错内容:
Warning: Undefined array key “data” in /www/wwwroot/*******.com/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 /www/wwwroot/****.com/vendor/laminas/laminas-httphandlerrunner/src/Exception/EmitterException.php:24 Stack trace: #0 /www/wwwroot/*.com/vendor/laminas/laminas-httphandlerrunner/src/Emitter/SapiEmitterTrait.php(40): Laminas\HttpHandlerRunner\Exception\EmitterException::forOutputSent() #1 /www/wwwroot/*.com/vendor/laminas/laminas-httphandlerrunner/src/Emitter/SapiEmitter.php(27): Laminas\HttpHandlerRunner\Emitter\SapiEmitter->assertNoPreviousOutput() #2 /www/wwwroot/*.com/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(98): Laminas\HttpHandlerRunner\Emitter\SapiEmitter->emit() #3 /www/wwwroot/*.com/vendor/flarum/core/src/Http/Server.php(44): Laminas\HttpHandlerRunner\RequestHandlerRunner->run() #4 /www/wwwroot/*.com/public/index.php(26): Flarum\Http\Server->listen() #5 {main} thrown in /www/wwwroot/****.com/vendor/laminas/laminas-httphandlerrunner/src/Exception/EmitterException.php on line 24
调试模式报错内容:无
已尝试的解决办法:
网址: