I found this Notice in my Openshop 1.5.6.5_rc based TWEAKS Extension, most likely related to PHP v.7.4.x:
Notice: Uninitialized string offset: 0 in admin/controller/tool/tweaks.php on line 175
Code: Select all
foreach ($tfiles as &$tfile) {
$tfile = str_replace('../','',$tfile);
----- if ($tfile[0] == '/') $tfile = substr($tfile,1); ----- Line 175
}
if (!$tfiles) $tfiles = array();
$tfiles = array_unique($tfiles);
sort($tfiles);
$info['files'] = $tfiles;
}
Ernie