Projet

Général

Profil

Actions

Anomalie #1782

fermé

Update and maintenance pages are no longer working

Ajouté par Johan Cwiklinski il y a 10 mois. Mis à jour il y a 9 mois.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
Core
Version cible:
Début:
10/02/2024
Echéance:
% réalisé:

100%

Temps estimé:
Version utilisée:

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

Formats disponibles : Atom PDF