This is a comment on Problems when updating from 6.2.1 to 6.3.0, posted by WikiAdmin at 07/22/2026 20:14
View source for Re: Problems when updating from 6.2.1 to 6.3.0
The error **Undefined constant "MYSQLI_REPORT_OFF"** typically occurs when the **MySQLi extension is not installed or enabled** in your PHP environment. Without the MySQLi extension, PHP does not recognize MySQLi-specific constants like ##MYSQLI_REPORT_OFF##, ##MYSQLI_REPORT_ERROR##, or ##MYSQLI_REPORT_STRICT##.
Cause
The **MySQLi extension** is missing or disabled in your php.ini configuration.
There is a similar issue with SQLite:
%%
Fatal error: Uncaught Error: Call to undefined method PDO::sqliteCreateFunction() in /wiki/class/dbpdo.php:57
Stack trace:
#0 /wiki/class/dbal.php(28): DbPDO->__construct(Object(Settings))
#1 /wiki/class/settings.php(139): Dbal->__construct()
#2 /wiki/index.php(7): Settings->__construct()
#3 {main} thrown in /wiki/class/dbpdo.php on line 57
%%
We should contain both cases with a try and catch, showing the user what went wrong, e.g.
##The MySQLi extension is missing or disabled.##