Actions
Anomalie #1782
closedUpdate and maintenance pages are no longer working
Start date:
02/10/2024
Due date:
% Done:
100%
Estimated time:
Version utilisée:
Vote:
Description
Due to Slim framework internals I did not understood; update page (the one displayed when Galette needs a database update) and the maintenance page are no longer working.
A blank page is displayed (no error renderer is setup; this is too early); and we got following message in logs:
[10-Feb-2024 09:28:27 UTC] PHP Fatal error: Uncaught RuntimeException: Cannot create RouteContext before routing has been completed in galette.git/galette/vendor/slim/slim/Slim/Routing/RouteContext.php:36 Stack trace: #0 galette.git/galette/lib/Galette/Middleware/UpdateAndMaintenance.php(106): Slim\Routing\RouteContext::fromRequest() #1 galette.git/galette/lib/Galette/Middleware/UpdateAndMaintenance.php(172): Galette\Middleware\UpdateAndMaintenance->renderPage() #2 [internal function]: Galette\Middleware\UpdateAndMaintenance->needsUpdatePage() #3 galette.git/galette/lib/Galette/Middleware/UpdateAndMaintenance.php(92): call_user_func() #4 galette.git/galette/vendor/slim/slim/Slim/MiddlewareDispatcher.php(269): Galette\Middleware\UpdateAndMaintenance->__invoke() #5 galette.git/galette/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Psr\Http\Server\RequestHandlerInterface@anonymous->handle() #6 galette.git/galette/vendor/slim/slim/Slim/App.php(199): Slim\MiddlewareDispatcher->handle() #7 galette.git/galette/vendor/slim/slim/Slim/App.php(183): Slim\App->handle() #8 galette.git/galette/includes/main.inc.php(113): Slim\App->run() #9 galette.git/galette/webroot/index.php(48): require_once('...') #10 {main} thrown in galette.git/galette/vendor/slim/slim/Slim/Routing/RouteContext.php on line 36
Updated by Johan Cwiklinski 10 months ago
- Subject changed from Update and maintencnace pages ar eno longer working to Update and maintencnace pages are no longer working
Updated by Johan Cwiklinski 10 months ago
- Subject changed from Update and maintencnace pages are no longer working to Update and maintenance pages are no longer working
Updated by Johan Cwiklinski 10 months ago
- Status changed from Nouveau to Résolu
- % Done changed from 0 to 100
Appliqué par commit 6de4f4277264f39c29c2b10b47069c1437e4f10d.
Actions