15.01.2024, 14:08
Hallo, mir werden zwei Warnungen angezeigt, durch was müsste ich die ersetzen bzw. austauschen?
Warning [2] Undefined property: session::$bots - Line: 342 - File: inc/plugins/onlinetoday.php PHP 8.1.26 (Linux)
Warning [2] Trying to access array offset on value of type null - Line: 342 - File: inc/plugins/onlinetoday.php PHP 8.1.26 (Linux)
Zeile ist wie folgt:
Warning [2] Undefined property: session::$bots - Line: 342 - File: inc/plugins/onlinetoday.php PHP 8.1.26 (Linux)
Warning [2] Trying to access array offset on value of type null - Line: 342 - File: inc/plugins/onlinetoday.php PHP 8.1.26 (Linux)
Zeile ist wie folgt:
PHP-Code:
elseif (strstr($user['sid'], "bot=") !== false && $session->bots[$botkey] && !in_array($user['ip'], $ips))
MyBB: 1.8.37 | PHP: 8.1.26 | SQL: 5.7.35