Ich bekomme bei dem Plugin linki-indication.php die folgende Warnung:
Zitat
Warning: Invalid argument supplied for foreach() in xxx/pospiech.eu/wp-content/plugins/link-indication/link-indication.php on line 149
Jetzt habe ich
error_reporting(0);
gesetzt, sehe die Fehler aber immer noch in der Webseite.
Der Quellcode ist übrigens:
PHP
foreach ($wmli_opt['mwli_searchstrings'] as $loopVar) {
$tmpFileType = $loopVar;
if ( ($loopVar != '') and ( substr($matches[4], -strlen($loopVar)) == $loopVar ) and ($wmli_opt['mwli_types'][$loopCount] == 'File Extension') ) {
$linktype = 'filename-extension';
$csssetting = $wmli_opt['mwli_cssclasses'][$loopCount];
break;
}
$loopCount++;
}
bin ratlos was ich tun soll. Den Quellcode verstehe ich nicht und den Fehler kann ich nicht ausschalten.
Dabei funktioniert das Plugin bei mir zu Hause ohne Probleme
Matthias