Actions
Anomalie #1782
ferméUpdate and maintenance pages are no longer working
Début:
10/02/2024
Echéance:
% réalisé:
100%
Temps estimé:
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
Actions
#1
Mis à jour par Johan Cwiklinski il y a 11 mois
- Sujet changé de Update and maintencnace pages ar eno longer working à Update and maintencnace pages are no longer working
Actions
#2
Mis à jour par Johan Cwiklinski il y a 11 mois
- Sujet changé de Update and maintencnace pages are no longer working à Update and maintenance pages are no longer working
Actions
#3
Mis à jour par Johan Cwiklinski il y a 11 mois
- Statut changé de Nouveau à Résolu
- % réalisé changé de 0 à 100
Appliqué par commit 6de4f4277264f39c29c2b10b47069c1437e4f10d.
Actions