Sign in to follow this  
Followers 0

Updating the php to 7.2.26 generates an error

2 posts in this topic

I have recently finished a website, where I changed the php, from 7.1 I went to 7.2, as reported by joomla. but now I find this error:

Warning: count (): Parameter must be an array or an object that implements Countable in /web/htdocs/ ... tegory.php on line 104
I opened the file and at line 104 I find myself:


if (!count($array['extra_fields'])) {
            $array['extra_fields'] = ",";


its a syntax error? or what?

for the moment I have limited myself to removing the display, but if I can, I would like to resolve the error. Thanks in advance.

Share this post

Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in

Sign In Now
Sign in to follow this  
Followers 0