-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
3.3.14
-
None
If mysqli_real_connect fails to establish a connection to a MySQL database engine, PHP warning is thrown:
[phpBB debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 367: Attempt to read property "connect_error" on string
|
[phpBB debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 368: Attempt to read property "connect_errno" on string
|
This is caused by setting the db_connect_id property to an empty string in case of connection failure.
- is related to
-
PHPBB-17232 Improve MySQL error messages in PHP 8.1+
- Unverified Fix