WBCE CMS – Way Better Content Editing.
You are not logged in.
OneForAll verursacht Notices im errorlog, sobald der Addon-Monitor aufgerufen wird - siehe hier
024-11-11 16:58:50 Notice /modules/oneforall/languages/DE.php: L:212
from /modules/addon_monitor/tool.php L:65 getModulesArray "Undefined variable: mod_name"
Des weiteren kommen unter PHP 8.2 Fehlermeldungen ("Passing null to parameter #1 ($string) of type string is deprecated") aus der view_overview von strip_tags, htmlspecialchars, trim - ich habe das mit Hilfsfunktionen gelöst, d.h. in der /modules/oneforall*/functions.php eingefügt
if (!function_exists('lazyspecial')) {
function lazyspecial($val) {
if ($val!==null) {
$val = htmlspecialchars($val);
}
return $val;
}
}
if (!function_exists('lazyexplode')) {
function lazyexplode($x,$y) {
if ($y!==null) {
$val = explode($x,$y);
} else {
$val = array();
}
return $val;
}
}
if (!function_exists('lazytrim')) {
function lazytrim($val) {
if ($val!==null) {
$val = trim($val);
}
return $val;
}
}und dann in der modules/oneforall*/view_overview.php strip_tags durch lazystrip usw. ersetzt
*oder angepasster Verzeichnisname
Last edited by florian (18.01.2026 18:53:00)
Wir Benötigen: Cents, Euros... jetzt spenden!
Offline
Hallo florian,
die Meldungen habe ich heute auch bei mir gesehen.
In welchen Zeilen muss der Code eingefügt werden?
Hoster: ALL-INKL *** Grundsätzliche WBCE Konfig ***
WBCE: 1.6.5 • BE: 2.1.0 • PHP: 8.x * Alle • BE: Argos
Status Projekt 1-4: OK
Online
Ich habe in obigen Post die Dateinamen konkretisiert und hervorgehoben.
Wir Benötigen: Cents, Euros... jetzt spenden!
Offline
Pages: 1