Bonsoir,
je viens de découvrir ces erreurs signalées par piwigo 16.2 :
Deprecated: Case statements followed by a semicolon (;) are deprecated, use a colon (:) instead in /htdocs/proto.ec-lannion.fr/piwi_jym/admin/include/functions.php on line 2785
Deprecated: Using null as an array offset is deprecated, use an empty string instead in /htdocs/proto.ec-lannion.fr/piwi_jym/admin/include/functions.php on line 650
Deprecated: Using null as an array offset is deprecated, use an empty string instead in /htdocs/proto.ec-lannion.fr/piwi_jym/admin/include/functions.php on line 652
Deprecated: Using null as an array offset is deprecated, use an empty string instead in /htdocs/proto.ec-lannion.fr/piwi_jym/admin/include/functions.php on line 654
: Cannot modify header information - headers already sent by (output started at /htdocs/proto.ec-lannion.fr/piwi_jym/admin/include/functions.php:650) in /htdocs/proto.ec-lannion.fr/piwi_jym/include/page_header.php on line 99
Ceci fait suite à une série de photos (avec des noms de fichiers "tordus") que j'ai chargée aujourd'hui.
En PHP 8.4, ce problème ne se produit pas.
Version de Piwigo: 16.2
Version de PHP: 8.5
Hors ligne
Bonsoir, j'ai également la même problématique malgré le passage en version 16.3.
Je précise que je suis sur un hébergement OVH avec un php version 8.5.
Ceci bloquait l'envoi de nouvelle photos.
J'ai effectué la correction sur la ligne stipulée (Ligne 2785 - du fichier functions.php), remplacer le point virgule ';' par un 2 points ':' :
-------------------------------------------------------
case 'user_activity'; ---> case 'user_activity':
-------------------------------------------------------
Le message a disparût et mon Upload fonctionne à nouveau.
Merci
Dernière modification par ludovicferra (2026-03-01 06:16:23)
Hors ligne
Bonjour,
Pour l'instant piwigo est donnée pour 8.4 on va regarder ce problème
Hors ligne