1 18-11-2025 16:45 - Dernière modification par lapierre-amerique (18-11-2025 16:46)

Bonjour Katryne,

J'espère que tu vas bien!

Je viens d'installer Piwigo version 15.7.0 et je vois beaucoup d'erreur.

As-tu eu ce genre de problèmes et que faut-il faire pour régler ces problèmes?

Voici les erreurs rencontrés:

Deprecated: Smarty::_getTemplateId(): Implicitly marking parameter $template as nullable is deprecated, the explicit nullable type must be used instead in /home/cnlglaca/domains/cnl-gla.ca/public_html/photos/include/smarty/libs/Smarty.class.php on line 1048

Deprecated: Smarty_Internal_Data::getTemplateVars(): Implicitly marking parameter $_ptr as nullable is deprecated, the explicit nullable type must be used instead in /home/cnlglaca/domains/cnl-gla.ca/public_html/photos/include/smarty/libs/sysplugins/smarty_internal_data.php on line 193

Deprecated: Smarty_Internal_Data::_mergeVars(): Implicitly marking parameter $data as nullable is deprecated, the explicit nullable type must be used instead in /home/cnlglaca/domains/cnl-gla.ca/public_html/photos/include/smarty/libs/sysplugins/smarty_internal_data.php on line 203

Deprecated: Smarty_Internal_Template::__construct(): Implicitly marking parameter $_parent as nullable is deprecated, the explicit nullable type must be used instead in /home/cnlglaca/domains/cnl-gla.ca/public_html/photos/include/smarty/libs/sysplugins/smarty_internal_template.php on line 149

Deprecated: Smarty_Resource::source(): Implicitly marking parameter $_template as nullable is deprecated, the explicit nullable type must be used instead in /home/cnlglaca/domains/cnl-gla.ca/public_html/photos/include/smarty/libs/sysplugins/smarty_resource.php on line 175

Deprecated: Smarty_Resource::source(): Implicitly marking parameter $smarty as nullable is deprecated, the explicit nullable type must be used instead in /home/cnlglaca/domains/cnl-gla.ca/public_html/photos/include/smarty/libs/sysplugins/smarty_resource.php on line 175

Deprecated: Smarty_Resource::populate(): Implicitly marking parameter $_template as nullable is deprecated, the explicit nullable type must be used instead in /home/cnlglaca/domains/cnl-gla.ca/public_html/photos/include/smarty/libs/sysplugins/smarty_resource.php on line 199

Deprecated: Smarty_Template_Source::load(): Implicitly marking parameter $_template as nullable is deprecated, the explicit nullable type must be used instead in /home/cnlglaca/domains/cnl-gla.ca/public_html/photos/include/smarty/libs/sysplugins/smarty_template_source.php on line 158

Deprecated: Smarty_Template_Source::load(): Implicitly marking parameter $smarty as nullable is deprecated, the explicit nullable type must be used instead in /home/cnlglaca/domains/cnl-gla.ca/public_html/photos/include/smarty/libs/sysplugins/smarty_template_source.php on line 158

Deprecated: Smarty_Internal_Resource_File::populate(): Implicitly marking parameter $_template as nullable is deprecated, the explicit nullable type must be used instead in /home/cnlglaca/domains/cnl-gla.ca/public_html/photos/include/smarty/libs/sysplugins/smarty_internal_resource_file.php on line 28

Deprecated: Smarty_Internal_Resource_File::buildFilepath(): Implicitly marking parameter $_template as nullable is deprecated, the explicit nullable type must be used instead in /home/cnlglaca/domains/cnl-gla.ca/public_html/photos/include/smarty/libs/sysplugins/smarty_internal_resource_file.php on line 101

Deprecated: Smarty_Internal_Method_GetTemplateVars::getTemplateVars(): Implicitly marking parameter $_ptr as nullable is deprecated, the explicit nullable type must be used instead in /home/cnlglaca/domains/cnl-gla.ca/public_html/photos/include/smarty/libs/sysplugins/smarty_internal_method_gettemplatevars.php on line 34

Deprecated: Smarty_Internal_Method_GetTemplateVars::_getVariable(): Implicitly marking parameter $_ptr as nullable is deprecated, the explicit nullable type must be used instead in /home/cnlglaca/domains/cnl-gla.ca/public_html/photos/include/smarty/libs/sysplugins/smarty_internal_method_gettemplatevars.php on line 87

Warning: Cannot modify header information - headers already sent by (output started at /home/cnlglaca/domains/cnl-gla.ca/public_html/photos/include/smarty/libs/sysplugins/smarty_internal_method_gettemplatevars.php:87) in /home/cnlglaca/domains/cnl-gla.ca/public_html/photos/include/page_header.php on line 99

Merci beaucoup à l'avance et passe une belle journée!

Généalogie Acadienne d’Amérique
Normand Lapierre
Saint-Philippe, Québec, Canada
J0L 2K0

WWW

2 18-11-2025 17:07 -

Bonjour Normand.
Tu as quelle version de php sur ton serveur ? Il faudrait peut-être l'augmenter.
Tu as mis quelle version de Piwigo. La dernière est la 15.7. Est-ce qu'en administration, on t'a proposé des mises à jour du core ou des plugins ?
Et quelle est l'adresse de ton site ?

Sinon, tu peux cacher ces vilains messages d'erreur en ouvrant le 1er onglet du plugin Local Files Editor, en y collant cela :
$conf['show_php_errors'] = E_STRICT; 
+ enregistrer

C'est cacher la poussière sous le tapis, mais ça permet d'y voir plus clair le temps de trouver la solution.

N'oublie pas que je ne suis pas codeur. En dernier recours : le forum de Piwigo : https://fr.piwigo.org/forum/

Aucun de nous ne sait ce que nous savons tous, ensemble.

WWW