A fatal error has occurred

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

Details have been logged for the administrator.