WBCE CMS – Way Better Content Editing.
You are not logged in.
Ich notiere das mal hier, scheint aber ein eher seltenes Problem zu sein:
Gerade diese Meldung bekommen:
Warning: count(): Parameter must be an array or an object that implements Countable in ,,,/search/search_modext.php on line 117
Die Seite, der der Fehler zuzurechnen wäre, ist nur 1 Abschnitt WYSIWYG ohne Besonderheiten.
PHP Version: 7.2.3
Jungfräuliche Installation mit nur WYSIWYG und Itemz
Eigenartig. An sich logisch, ist ja das selbe Problem wie https://forum.wbce.org/viewtopic.php?id=2418 - aber mit der 1.3.3 und PHP 7.2.11 kann ich's gerade nicht reproduzieren. Kannst Du mal testen, ob es was bringt, dort analog noch eine is_array-Prüfung drumherum zu setzen, also das hier
if (count($excerpt_array) >= $max_excerpt_num) {
$excerpt_array = array_unique($excerpt_array);
if (count($excerpt_array) >= $max_excerpt_num) {
break;
}
}
so zu ändern:
if (is_array($excerpt_array)) {
if (count($excerpt_array) >= $max_excerpt_num) {
$excerpt_array = array_unique($excerpt_array);
if (count($excerpt_array) >= $max_excerpt_num) {
break;
}
}
}
Sorgen sind wie Nudeln: man macht sich meist zu viele.
Offline
stefanek