- Debian12 et Debian13
- Core 4.5.3
Installation de plugin avec source Github provoque une erreur HTTP_ERROR :
PHP Fatal error: Uncaught TypeError: log::add(): Argument #3 ($_message) must be of type string, null given, called in /var/www/html/core/repo/github.repo.php on line 148 and defined in /var/www/html/core/class/log.class.php:111
Stack trace:
#0 /var/www/html/core/repo/github.repo.php(148): log::add()
#1 /var/www/html/core/class/update.class.php(305): repo_github::downloadObject()
#2 /var/www/html/core/ajax/update.ajax.php(82): update->doUpdate()
#3 {main}\n thrown in /var/www/html/core/class/log.class.php on line 111
Remplacer dans github.repo.php ligne 148 :
log::add('update', 'alert', $result);
par
log::add('update', 'alert', $result ?? "");