Keyword

Problem with Warning: count

  • Angelin
  • Angelin's Avatar Topic Author
  • Offline
  • New Member
More
4 years 5 months ago #176194 by Angelin
Problem with Warning: count was created by Angelin
Hello, I recently had this error in the categories and I can't find a solution how to remove it!

Warning: count(): Parameter must be an array or an object that implements Countable in /home/bgmaisto/public_html/templates/gk_storebox/html/com_k2/templates/default/category.php on line 191

bg-maistor.com/interior
bg-maistor.com/banya
bg-maistor.com/instrumenti-mashini

i used: K2 v2.10.3 / Joomla! 3.9.18

Thank you!

Please Log in or Create an account to join the conversation.

More
4 years 5 months ago #176195 by JoomlaWorks
Replied by JoomlaWorks on topic Problem with Warning: count
You need to slightly update your K2 template overrides for PHP 7.

The issue has been discussed extensively here: www.joomlaworks.net/forum/k2-en/51050-warning-count-parameter-must-be-an-array-or-an-object-that-implements

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum