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 17:53:00)
Sorgen sind wie Nudeln: man macht sich meist zu viele.
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.3.29 * 1. Projekt: FE: Simple responsive * 2. Projekt: FE: hortal * 3. Projekt: FE: WBCEZon * 4. Projekt: FE: WBCETik * Alle • BE: Argos
Status Projekt 1-4: OK
Offline
Ich habe in obigen Post die Dateinamen konkretisiert und hervorgehoben.
Sorgen sind wie Nudeln: man macht sich meist zu viele.
Offline
Pages: 1