We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 9361ee0 + fc3bc3e commit f33611dCopy full SHA for f33611d
1 file changed
qa-include/qa-db.php
@@ -77,6 +77,9 @@ function qa_db_connect($failhandler = null)
77
if (QA_PERSISTENT_CONN_DB)
78
$host = 'p:' . $host;
79
80
+ // Avoid throwing exceptions (needed as of PHP 8.1)
81
+ mysqli_report(MYSQLI_REPORT_OFF);
82
+
83
// in mysqli we connect and select database in constructor
84
if ($port !== null)
85
$db = new mysqli($host, QA_FINAL_MYSQL_USERNAME, QA_FINAL_MYSQL_PASSWORD, QA_FINAL_MYSQL_DATABASE, $port);
0 commit comments