After upgrading to 1.6.3, I have turned on some of the extensions. Then it asked me to enter database password again. (I have already entered the password after upgrading) Yet, after entering the correct password, it just shows another error message on the screen:
Something went wrong: Flarum\Http\Exception\MethodNotAllowedException: POST in file /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php on line 62 Stack trace: 1. Flarum\Http\Exception\MethodNotAllowedException->() /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php:62
2. Flarum\Http\Middleware\ResolveRoute->process() /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php:49
3. Laminas\Stratigility\Next->handle() /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/flarum/core/src/Http/Middleware/SetLocale.php:51
4. Flarum\Http\Middleware\SetLocale->process() /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php:49
5. Laminas\Stratigility\Next->handle() /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php:31
6. Flarum\Http\Middleware\AuthenticateWithSession->process() /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php:49
7. Laminas\Stratigility\Next->handle() /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php:52
8. Flarum\Http\Middleware\RememberFromCookie->process() /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php:49
9. Laminas\Stratigility\Next->handle() /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/flarum/core/src/Http/Middleware/StartSession.php:61
10. Flarum\Http\Middleware\StartSession->process() /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php:49
11. Laminas\Stratigility\Next->handle() /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/flarum/core/src/Http/Middleware/CollectGarbage.php:46
12. Flarum\Http\Middleware\CollectGarbage->process() /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php:49
13. Laminas\Stratigility\Next->handle() /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php:28
14. Flarum\Http\Middleware\ParseJsonBody->process() /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php:49
15. Laminas\Stratigility\Next->handle() /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/flarum/core/src/Http/Middleware/HandleErrors.php:57
16. Flarum\Http\Middleware\HandleErrors->process() /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php:49
17. Laminas\Stratigility\Next->handle() /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/flarum/core/src/Http/Middleware/InjectActorReference.php:25
18. Flarum\Http\Middleware\InjectActorReference->process() /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php:49
19. Laminas\Stratigility\Next->handle() /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php:75
20. Laminas\Stratigility\MiddlewarePipe->process() /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/middlewares/request-handler/src/RequestHandler.php:84
21. Middlewares\RequestHandler->process() /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php:49
22. Laminas\Stratigility\Next->handle() /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/middlewares/base-path-router/src/BasePathRouter.php:101
23. Middlewares\BasePathRouter->process() /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php:49
24. Laminas\Stratigility\Next->handle() /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/Middleware/OriginalMessages.php:36
25. Laminas\Stratigility\Middleware\OriginalMessages->process() /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php:49
26. Laminas\Stratigility\Next->handle() /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/middlewares/base-path/src/BasePath.php:73
27. Middlewares\BasePath->process() /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php:49
28. Laminas\Stratigility\Next->handle() /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/flarum/core/src/Http/Middleware/ProcessIp.php:24
29. Flarum\Http\Middleware\ProcessIp->process() /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php:49
30. Laminas\Stratigility\Next->handle() /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php:75
31. Laminas\Stratigility\MiddlewarePipe->process() /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php:64
32. Laminas\Stratigility\MiddlewarePipe->handle() /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php:96
33. Laminas\HttpHandlerRunner\RequestHandlerRunner->run() /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/flarum/core/src/Http/Server.php:45
34. Flarum\Http\Server->listen() /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/public/index.php:26
Here is the log:
[2023-01-19 22:36:00] flarum.ERROR: Error: Call to a member function setAttribute() on null in /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/extiverse/api-client/src/Flarum/UpdatesChecker.php:27
Stack trace:
#0 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/extiverse/mercury/src/Api/Controller/ExtensionsUpdatesController.php(27): Extiverse\Api\Flarum\UpdatesChecker->core()
#1 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/flarum/core/src/Http/RouteHandlerFactory.php(41): Extiverse\Mercury\Api\Controller\ExtensionsUpdatesController->handle()
#2 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http{closure}()
#3 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ExecuteRoute->process()
#4 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/flarum/core/src/Api/Middleware/ThrottleApi.php(33): Laminas\Stratigility\Next->handle()
#5 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Api\Middleware\ThrottleApi->process()
#6 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/flarum/core/src/Http/Middleware/CheckCsrfToken.php(36): Laminas\Stratigility\Next->handle()
#7 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\CheckCsrfToken->process()
#8 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(69): Laminas\Stratigility\Next->handle()
#9 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ResolveRoute->process()
#10 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Laminas\Stratigility\Next->handle()
#11 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\SetLocale->process()
#12 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/flarum/core/src/Http/Middleware/AuthenticateWithHeader.php(58): Laminas\Stratigility\Next->handle()
#13 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\AuthenticateWithHeader->process()
#14 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(31): Laminas\Stratigility\Next->handle()
#15 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\AuthenticateWithSession->process()
#16 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Laminas\Stratigility\Next->handle()
#17 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\RememberFromCookie->process()
#18 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/flarum/core/src/Http/Middleware/StartSession.php(61): Laminas\Stratigility\Next->handle()
#19 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\StartSession->process()
#20 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/flarum/core/src/Api/Middleware/FakeHttpMethods.php(29): Laminas\Stratigility\Next->handle()
#21 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Api\Middleware\FakeHttpMethods->process()
#22 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(28): Laminas\Stratigility\Next->handle()
#23 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ParseJsonBody->process()
#24 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle()
#25 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\HandleErrors->process()
#26 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/flarum/core/src/Http/Middleware/InjectActorReference.php(25): Laminas\Stratigility\Next->handle()
#27 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\InjectActorReference->process()
#28 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(75): Laminas\Stratigility\Next->handle()
#29 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/middlewares/request-handler/src/RequestHandler.php(84): Laminas\Stratigility\MiddlewarePipe->process()
#30 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\RequestHandler->process()
#31 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/middlewares/base-path-router/src/BasePathRouter.php(101): Laminas\Stratigility\Next->handle()
#32 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\BasePathRouter->process()
#33 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/Middleware/OriginalMessages.php(36): Laminas\Stratigility\Next->handle()
#34 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Laminas\Stratigility\Middleware\OriginalMessages->process()
#35 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/middlewares/base-path/src/BasePath.php(73): Laminas\Stratigility\Next->handle()
#36 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Middlewares\BasePath->process()
#37 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/flarum/core/src/Http/Middleware/ProcessIp.php(24): Laminas\Stratigility\Next->handle()
#38 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/Next.php(49): Flarum\Http\Middleware\ProcessIp->process()
#39 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(75): Laminas\Stratigility\Next->handle()
#40 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(64): Laminas\Stratigility\MiddlewarePipe->process()
#41 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(96): Laminas\Stratigility\MiddlewarePipe->handle()
#42 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/vendor/flarum/core/src/Http/Server.php(45): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
#43 /mnt/BLOCKSTORAGE/home/folder/public_html/flarum/public/index.php(26): Flarum\Http\Server->listen()
#44 {main}
Flarum information
Flarum core 1.6.3
PHP version: 7.4.32
MySQL version: 5.5.5-10.4.20-MariaDB-1:10.4.20+maria~buster-log
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, pcntl, Reflection, SPL, session, standard, sodium, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dba, dom, enchant, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, igbinary, imagick, imap, intl, json, exif, mongodb, msgpack, mysqli, odbc, pdo_dblib, PDO_Firebird, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, apc, posix, readline, redis, shmop, SimpleXML, soap, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tidy, tokenizer, xmlreader, xmlrpc, xmlwriter, xsl, zip, Phar, memcached, ionCube Loader, Zend OPcache
+--------------------------------+-------------+--------+
| Flarum Extensions | | |
+--------------------------------+-------------+--------+
| ID | Version | Commit |
+--------------------------------+-------------+--------+
| hamzone-auth-wechat | 1.0.11 | |
| fof-linguist | 1.1.0 | |
| flarum-tags | v1.6.1 | |
| flarum-lang-english | v1.6.0 | |
| flarum-lang-chinese-simplified | v1.1.1.1220 | |
| flarum-flags | v1.6.1 | |
+--------------------------------+-------------+--------+
Base URL: https://www.livecan.net
Installation path: /mnt/BLOCKSTORAGE/home/899574.cloudwaysapps.com/tcdwqjzuus/public_html/flarum
Queue driver: sync
Session driver: file
Mail driver: smtp
Debug mode: ON
One other issue which is quite weird, the flarum site can load with no error message(I logged in as admin before the upgrading), and my phone with chrome browser can function well as guest too. but when I use chrome, it asked me to enter database password again, shows me the error messages in the first section.
Please help me.