I have been using jpgraph without problems with php 5 for some time.
I am now trying to get it to run with php7, and have downloaded the latest version from the website
However, any attempt to use the library now gives me:
PHP Fatal error: Uncaught TypeError: Argument 1 passed to JpGraphException::defaultHandler() must be an instance of Exception, instance of Error given in ...../jpgraph/jpgraph_errhandler.inc.php:158
I suspect whatever is wrong is very basic...but I can't seem to track it down. Any ideas...?