Code:
[2022-05-17T20:08:50.519942+01:00] request.CRITICAL: Uncaught PHP Exception TypeError: "count(): Argument #1 ($value) must be of type Countable|array, null given" at //htdocs/httpdocs/www.domain/vendor/felixpfeiffer/subcolumns/elements/colsetStart.php line 132 {"exception":"[object] (TypeError(code: 0): count(): Argument #1 ($value) must be of type Countable|array, null given at /htdocs/httpdocs/www.domain.de/vendor/felixpfeiffer/subcolumns/elements/colsetStart.php:132)"} []
Das kommt vorher mit count:
$intCountContainers = count($GLOBALS['TL_SUBCL'][$this->strSet]['sets'][$this->sc_type]);
$container = $GLOBALS['TL_SUBCL'][$this->strSet]['sets'][$this->sc_type];
Im Fehler genannte Zeile:
Zeile 132: if(count($container) == 2)
Ich hoffe, da kann jemand etwas mit anfangen. Vielen Dank für jegliche Tipps!
Lesezeichen