Actions
Anomalie #1617
ferméErr500 due to Telemetry popup
Début:
14/01/2022
Echéance:
% réalisé:
100%
Temps estimé:
Version utilisée:
Vote:
Description
Galette 0.9.6.1
PHP 8.1
Navigateur: Firefox 96.0
Erreur 500 dès la home page, après le login. Probablement lorsque l'on a pas le bon cookie en place.
2022/01/14 16:53:05 [error] 555#555: *501260 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught ErrorException: Undefined array key "renew_telemetry" in /var/www/galette/includes/dependencies.php:157
Stack trace:
#0 /var/www/galette/includes/dependencies.php(157): {closure}()
#1 [internal function]: {closure}()
#2 /var/www/galette/vendor/php-di/invoker/src/Invoker.php(74): call_user_func_array()
#3 /var/www/galette/vendor/php-di/php-di/src/Definition/Resolver/FactoryResolver.php(80): Invoker\Invoker->call()
#4 /var/www/galette/vendor/php-di/php-di/src/Definition/Resolver/ResolverDispatcher.php(71): DI\Definition\Resolver\FactoryResolver->resolve()
#5 /var/www/galette/vendor/php-di/php-di/src/Container.php(390): DI\Definition\Resolver\ResolverDispatcher->resolve()
#6 /var/www/galette/vendor/php-di/php-di/src/Container.php(139): DI\Container->resolveDefinition()
#7 /var/www/galette/lib/Galette/Middleware/SmartyCsrf.php(68): DI\Container->get()
#8 /var/www/galette/includes/main.inc.php(95): Galette\Middleware\SmartyCsrf->__construct()
Contournement: commenter dans includes/dependencies.php le if suivant:
if ($now > $sent && !$_COOKIE['renew_telemetry']) {
$smarty->assign('renew_telemetry', true);
}
Actions