Ich habe das in include_translate.php ab Zeile 600 so gelöst, da ich erst PHP 7.2.x laufen habe und is_countable() erst ab PHP 7.3 gibt.
Code: Alles auswählen
if (! function_exists('is_countable')) {
/**
* @param mixed $value The value to check
* @return bool
*/
function is_countable($value): bool
{
return is_array($value) || (is_object($value) && $value instanceof Countable);
}
}
if(is_countable($modulesInUse[$translationArray['idmod']])) {
$countCurrentModuleInUse = count($modulesInUse[$translationArray['idmod']]);
} else { $countCurrentModuleInUse = 0; }
Natürlich sollte die Funktion an zentrale Stelle, dass sie dort nur einmal eingebaut wird.
Beim Linkchecker wird es analog aufgebaut.
Beim Versioning ist es ein anderer Fehler, die Foreach-Schleife kann nicht durchlaufen werden, weil das Argument kein Array oder Objekt ist.
Daher bei Zeile 830 erstmal folgender Notbehelf:
Kann sein, dass es in der Entwicklungsversion bereits behoben ist.
Weiß ich jetzt nicht.
Fliegt der Bauer übers Dach, ist der Wind weißgott nicht schwach.