Hello,

This bug is known and fixed in Debian testing.

Indeed, the create_function function was removed from PHP 8: it must be replaced.

Also, there is another bug arising with PHP8: static methods must be declared static, otherwise the program still does not work and the following message shows up in the apache logs:


[Mon Apr 08 14:05:42.179046 2024] [php:error] [pid 15211] [client 192.168.40.1:59772] PHP Fatal error: Uncaught Error: Non-static method Shuffle::get_int() cannot be called statically in /usr/share/oar-web-status/drawgantt-svg/drawgantt-svg.php:482\nStack trace:\n#0 /usr/share/oar-web-status/drawgantt-svg/drawgantt-svg.php(804): Job->color()\n#1 /usr/share/oar-web-status/drawgantt-svg/drawgantt-svg.php(1165): Resource->svg_jobs()\n#2 {main}\n thrown in /usr/share/oar-web-status/drawgantt-svg/drawgantt-svg.php on line 482, referer: http://192.168.40.4/drawgantt-svg/

Thanks for the bug report.
Pierre

Reply via email to