Projet

Général

Profil

Actions

Anomalie #1572

fermé

La constante GLOB_BRACE n'est pas définie sur Alpine

Ajouté par Valentin Day il y a plus de 2 ans. Mis à jour il y a plus de 2 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
Core
Version cible:
Début:
25/09/2021
Echéance:
% réalisé:

100%

Temps estimé:
Version utilisée:

Description

Hello,

Galette utilise une constante qui n'est pas définie sur Alpine (https://github.com/zendframework/zend-stdlib/issues/58) :

2021/09/24 17:34:48 [error] 9#9: *7976 FastCGI sent in stderr: "PHP message: PHP Warning:  Use of undefined constant GLOB_BRACE - assumed 'GLOB_BRACE' (this will throw an Error in a future version of PHP) in /var/www/html/lib/Galette/Core/Logs.php on line 66PHP message: PHP Warning:  glob() expects parameter 2 to be int, string given in /var/www/html/lib/Galette/Core/Logs.php on line 66PHP message: PHP Warning:  Invalid argument supplied for foreach() in /var/www/html/lib/Galette/Core/Logs.php on line 69" while reading response header from upstream, client: 172.17.7.5, server: _, request: "GET /fields/dynamic/configure/contrib HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "xxxx" 

Je ne sais pas si ça empêche certaines parties de l'application de fonctionner, mais ça pollue bien les logs !
Je peux fournir l'image Docker pour reproduire le problème si nécessaire.

Merci,
Valentin

Actions

Formats disponibles : Atom PDF