Опора кульова

TS CL0414-0-TS
count(): Argument #1 ($value) must be of type Countable|array, null given