I got following error while I tried to provide MySQL credentials and install Flarum:
Flarum\Http\Exception\MethodNotAllowedException: in file /forums/vendor/flarum/core/src/Http/Middleware/DispatchRoute.php on line 64
Stack trace:
1. Flarum\Http\Exception\MethodNotAllowedException->() /forums/vendor/flarum/core/src/Http/Middleware/DispatchRoute.php:64
2. Flarum\Http\Middleware\DispatchRoute->__invoke() /forums/vendor/zendframework/zend-stratigility/src/Dispatch.php:212
3. Zend\Stratigility\Dispatch->dispatchCallableMiddleware() /forums/vendor/zendframework/zend-stratigility/src/Dispatch.php:88
4. Zend\Stratigility\Dispatch->__invoke() /forums/vendor/zendframework/zend-stratigility/src/Next.php:160
5. Zend\Stratigility\Next->__invoke() /forums/vendor/flarum/core/src/Http/Middleware/SetLocale.php:51
6. Flarum\Http\Middleware\SetLocale->__invoke() /forums/vendor/zendframework/zend-stratigility/src/Dispatch.php:212
7. Zend\Stratigility\Dispatch->dispatchCallableMiddleware() /forums/vendor/zendframework/zend-stratigility/src/Dispatch.php:88
8. Zend\Stratigility\Dispatch->__invoke() /forums/vendor/zendframework/zend-stratigility/src/Next.php:160
9. Zend\Stratigility\Next->__invoke() /forums/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php:36
10. Flarum\Http\Middleware\AuthenticateWithSession->__invoke() /forums/vendor/zendframework/zend-stratigility/src/Dispatch.php:212
11. Zend\Stratigility\Dispatch->dispatchCallableMiddleware() /forums/vendor/zendframework/zend-stratigility/src/Dispatch.php:88
12. Zend\Stratigility\Dispatch->__invoke() /forums/vendor/zendframework/zend-stratigility/src/Next.php:160
13. Zend\Stratigility\Next->__invoke() /forums/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php:39
14. Flarum\Http\Middleware\RememberFromCookie->__invoke() /forums/vendor/zendframework/zend-stratigility/src/Dispatch.php:212
15. Zend\Stratigility\Dispatch->dispatchCallableMiddleware() /forums/vendor/zendframework/zend-stratigility/src/Dispatch.php:88
16. Zend\Stratigility\Dispatch->__invoke() /forums/vendor/zendframework/zend-stratigility/src/Next.php:160
17. Zend\Stratigility\Next->__invoke() /forums/vendor/flarum/core/src/Http/Middleware/StartSession.php:48
18. Flarum\Http\Middleware\StartSession->__invoke() /forums/vendor/zendframework/zend-stratigility/src/Dispatch.php:212
19. Zend\Stratigility\Dispatch->dispatchCallableMiddleware() /forums/vendor/zendframework/zend-stratigility/src/Dispatch.php:88
20. Zend\Stratigility\Dispatch->__invoke() /forums/vendor/zendframework/zend-stratigility/src/Next.php:160
21. Zend\Stratigility\Next->__invoke() /forums/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php:31
22. Flarum\Http\Middleware\ParseJsonBody->__invoke() /forums/vendor/zendframework/zend-stratigility/src/Dispatch.php:212
23. Zend\Stratigility\Dispatch->dispatchCallableMiddleware() /forums/vendor/zendframework/zend-stratigility/src/Dispatch.php:88
24. Zend\Stratigility\Dispatch->__invoke() /forums/vendor/zendframework/zend-stratigility/src/Next.php:160
25. Zend\Stratigility\Next->__invoke() /forums/vendor/flarum/core/src/Http/Middleware/HandleErrors.php:61
26. Flarum\Http\Middleware\HandleErrors->__invoke() /forums/vendor/zendframework/zend-stratigility/src/Dispatch.php:212
27. Zend\Stratigility\Dispatch->dispatchCallableMiddleware() /forums/vendor/zendframework/zend-stratigility/src/Dispatch.php:88
28. Zend\Stratigility\Dispatch->__invoke() /forums/vendor/zendframework/zend-stratigility/src/Next.php:160
29. Zend\Stratigility\Next->__invoke() /forums/vendor/zendframework/zend-stratigility/src/MiddlewarePipe.php:111
30. Zend\Stratigility\MiddlewarePipe->__invoke() /forums/vendor/flarum/core/src/Http/AbstractServer.php:55
31. Flarum\Http\AbstractServer->__invoke() /forums/vendor/zendframework/zend-diactoros/src/Server.php:157
32. Zend\Diactoros\Server->listen() /forums/vendor/flarum/core/src/Http/AbstractServer.php:36
33. Flarum\Http\AbstractServer->listen() /forums/index.php:16