PHP 7.4 to PHP 8.1: Uncaught TypeError
-
Hello there,
I upgraded my website from 7.4 to 8.1. Since then I’ve been getting this error message:
Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given in […]
This is the specified string:
‘count’ => count( $value ),$var = array(
‘html’ => $var . ‘Delete ‘,
‘count’ => count( $value ),
‘sortable’ => true,
‘limit’ => ”,
‘name’ => $this->parent->args[‘opt_name’] . ‘[‘ . $field[‘id’] . ‘][99999]’,
);I don’t understand what’s wrong with that.
Thanks in advance for your help,
Jasmin
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘PHP 7.4 to PHP 8.1: Uncaught TypeError’ is closed to new replies.