Bonjour
Apres migration de php7.4 vers ph8.0, le module cashdeskpro affichait l’erreur suivante dans le log d’apache:
PHP Fatal error: Uncaught Error: Undefined constant « Non » in /var/www/html/dolibarr/htdocs/cashdeskpro/tpl/facturation1.tpl.php:52\nStack trace:\n#0 /var/www/html/dolibarr/htdocs/cashdeskpro/facturation.php(219): require()\n#1 /var/www/html/dolibarr/htdocs/cashdeskpro/affContenu.php(57): include(‹ … ›)\n#2 /var/www/html/dolibarr/htdocs/cashdeskpro/affIndex.php(145): include_once(‹ … ›)\n#3 {main}\n thrown in /var/www/html/dolibarr/htdocs/cashdeskpro/tpl/facturation1.tpl.php on line 52, referer: http://dolibarr.mondomain.ext/htdocs/cashdeskpro/affIndex.php?menu=facturation&id=NOUV
L’erreur a été corrigée ligne 52 du fichier facturation1.tpl.php au niveau de Non:Oui en mettant des simple quote autour de Non et autour de Oui.
DV