0
Updated PHP to 7.2 and now I am getting the following error and would like to know how to fix it without lower PHP!
Warning: count(): Parameter must be an array or an object that implements Countable in /home/xxxxx/xxxxxxx/components/com_muscol/models/artist.php on line 170
Thanks
Warning: count(): Parameter must be an array or an object that implements Countable in /home/xxxxx/xxxxxxx/components/com_muscol/models/artist.php on line 170
Thanks
Responses (5)
-
Accepted Answer
-
Accepted Answer
0From what I am learning it seem to be a problem with a number of component, Module and Plugins thats having problem with Php 7.2...
Joomla recommends updating php to 7.1 or above so when I updated to php 7.2 this is when I started to get the above error. I have since updated all my components, modules and plugins. But music-collection is still at 3.0.6 I believe and haven't been updated in the last 5 months and there have been 3 updates to Joomla.
So I look forward for the next update and new features for Music-Collection... -
Accepted Answer
0charles wrote:
Updated PHP to 7.2 and now I am getting the following error and would like to know how to fix it without lower PHP!
Warning: count(): Parameter must be an array or an object that implements Countable in /home/xxxxx/xxxxxxx/components/com_muscol/models/artist.php on line 170
Thanks
I have the same error. Fresch install Joomla 3.9.15 and PHP 7.4. All plugin and component are updated to the latest version. Error reporting to "simple" in joomla global config. -
Accepted Answer
0Is there anything new about it?
When will there be an update in general?-
Germinal Campsmore than a month agowe're preparing an update for J4. I'll try to fix this PHP 7.2 warning before. working on it.
-
-
Accepted Answer
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »