Error after upgrade of PHP and jpgraph

80 views
Skip to first unread message

Bas Laurier

unread,
Feb 20, 2025, 3:08:06 AMFeb 20
to JpGraph
After i upgraded to PHP 7.4 and jpgraph 4.4.2 my graphs that worked before in version 4.4.1 look like cr*p. A look at the PHP log gives this error : PHP Warning:  imagefilledpolygon() expects exactly 4 parameters, 3 given in /var/www/html/jpgraph/gd_image.inc.php on line 1441. Anybody got a clue whats going wrong ?

Mikhail Oleynik

unread,
Feb 20, 2025, 3:15:18 AMFeb 20
to JpGraph
There is a version of jpgraph with latest php compatibility patches https://packagist.org/packages/mitoteam/jpgraph

Try it, should work for you.
Reply all
Reply to author
Forward
0 new messages