CODEIGNITER PHP Fatal error: Uncaught TypeError: count(): Argument #1 ($var) must be of type Countable|array, null given in October 26, 2023October 26, 2023 Rupesh 0 Comments Old Version @$sizeof = count($_POST['name']); in PHP 8 will not work you have to do it like that @$size = count((array)$_POST['name']);