-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
If mysqli is not available, i get the following misleading error message during inclusion of wrapper-mysql.php:
PHP Fatal error: Uncaught TypeError: Exception::__construct(): Argument kinghost/php5-compat#2 ($code) must be of type int, string given in Standard input code:2
Stack trace:
#0 Standard input code(2): Exception->__construct()
kinghost/php5-compat#1 {main}
thrown in Standard input code on line 62
Line 62 should imo read:
throw new Exception ('MySQL wrapper requires the mysqli extension', E_ERROR);
Metadata
Metadata
Assignees
Labels
No labels