Fatal error: Uncaught TypeError: Argument 1 passed to JpGraphException::defaultHandler() must be an instance of Exception, instance of Error given in

153 views
Skip to first unread message

Vijay Nair

unread,
Jul 26, 2020, 2:15:35 PM7/26/20
to JpGraph
Hello,

I am using jpgraph 4.3.1-pro in php 7.2.

My system is developed in codeigniter.

Wven when I am not calling jpgraph function, this error is thrown. 

I commented out all jpgraph calling functions, still this error is shown. .

Full error is

Fatal error: Uncaught TypeError: Argument 1 passed to JpGraphException::defaultHandler() must be an instance of Exception, instance of Error given in /var/www/html/application/libraries/jpgraph/jpgraph_errhandler.inc.php:158 Stack trace: #0 [internal function]: JpGraphException::defaultHandler(Object(Error)) #1 {main} thrown in /var/www/html/application/libraries/jpgraph/jpgraph_errhandler.inc.php on line 158

Kindly guide me wwhat I can do to rectify this issue.

Thanks  in advance,

Regards,
Vijay

Reply all
Reply to author
Forward
0 new messages