Project

General

Profile

Actions

Evolution #1239

closed

handle gently mysql conn error

Added by Simon almost 3 years ago. Updated almost 3 years ago.

Status:
Fermé
Priority:
Normal
Assignee:
Category:
general
Target version:
Start date:
01/26/2022
Due date:
% Done:

100%

Estimated time:
0.50 h
Resolution:

Description


Fatal error: Uncaught TypeError: mysqli_errno(): Argument #1 ($mysql) must be of type mysqli, bool given in /class/system/class.mysql.php:130 Stack trace: #0 /class/system/class.mysql.php(130): mysqli_errno() #1 /class/system/class.mysql.php(81): mysql->DBError() #2 /config/define.php(141): mysql->DBConnexion() #3 /public/index.php(50): include_once('...') #4 {main} thrown in /class/system/class.mysql.php on line 130
Actions

Also available in: Atom PDF