- Issue created by @tmetzger
- 🇮🇳India ganesh9930 Mumbai
After upgrading to PHP 8.2 version. Then most facing issues in the code like
"TypeError: count(): Argument #1 ($value) must be of type Countable|array"Solution :- check that variable is array or not. Or use is_countable function.
e.g. $a = is_countable($b) ? count($b) : 0;Thank You