warning bizarre en php 7.2
Salut,
J'ai ce Warning en php 7.2 que je n'ai pas en php 5.6 :
Warning: Use of undefined constant auteurs - assumed 'auteurs' (this will throw an Error in a future version of PHP) in /home/CHEMIN/VERS/SPIP/htdocs/ecrire/public/composer.php(92) : eval()'d code on line 44
Pour une boucle :
<BOUCLE_upload(AUTEURS){id_auteur = #SESSION{id_auteur}}>
#FORMULAIRE_UPLOAD{'auteur',#ID_AUTEUR}
</BOUCLE_upload>
Le undefined constant auteurs
fait référence à la partie (AUTEURS)
de la boucle, car en changeant par (ARTICLES)
j'ai undefined constant articles
.
Je tourne en rond, une idée ?