codeigniter-uhoh
codeigniter-uhoh copied to clipboard
Wrong exception when MySQL error occured
I'm using CI version 1.7.2 and when my program runs into a MySQL error, it throws the following error:
http://postimage.org/image/qtbfo41dn/
ErrorException [ Fatal Error ]: Wrong parameters for ErrorException([string $exception [, long $code, [ long $severity, [ string $filename, [ long $lineno ]]]]])
APPPATH/libraries/MY_Exceptions.php [ 492 ]
487 break;
488 }
489 }
490 unset($trace);
491
492 self::exception_handler(new ErrorException($message, E_ERROR, 0, $file, $line));
493 return;
494 }
495
496 /**
497 * Is Extension
{PHP internal call} » MY_Exceptions::shutdown_handler(arguments)
Environment