From c9d0ac6a63824c1701fe967de793af241b227406 Mon Sep 17 00:00:00 2001 From: Damian Zaremba Date: Thu, 12 Dec 2024 15:41:37 +0000 Subject: [PATCH] includes - explicitly set MYSQLI_REPORT_OFF This prevents mysqli from throwing fatal errors and maintains the existing warning logic --- includes.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/includes.php b/includes.php index 23bada8..abe2a43 100644 --- a/includes.php +++ b/includes.php @@ -35,6 +35,9 @@ ) ); +// Stick with warnings in php 8 (at least for now) +mysqli_report(MYSQLI_REPORT_OFF); + require_once 'cluebot-ng.config.php'; require_once 'action_functions.php'; require_once 'cbng.php';