Support PHP 8.0 - jpGraph - Object of class GdImage could not be converted to int
Virtual Research Environment / On-line Bibliography Manager
Brought to you by:
sirfragalot
When you try to display a graph with Visualize plugin.
wikindx.local/index.php?action=visualize_visualize&yAxis=numResources&xAxis=resourceType&maxXAxis=-1&plot=line
Notice: Object of class GdImage could not be converted to int in /home/lkppo/devel/wikindx/trunk/components/plugins/visualize/jpgraph/gd_image.inc.php on line 129
News: 2021/10/wikindx-v6413-released
Bugs and feature requests : #376
This is a plugin so not essential to WIKINDX operation. I suggest we put in a PHP compatibility check when initializing the plugin menu. I had a look at JPGraph's website and they're not up to PHP 8 yet.
Mark
We can wait until PHP 8.0 is used more. The authors of this library will release a fix sooner or later.
Diff: