Answer the question
In order to leave comments, you need to log in
Error setting counter. How to decide?
Good afternoon. I decided to install a counter on joomla. It seems that I did everything as it should:
Extension - modules - create - html code. But when saving, it gives me this error, which is incomprehensible to me.
here is the full error code;
<br /> <b>Warning</b>: count(): Parameter must be an array or an object that implements Countable in <b>/home/i/irinastil/na-zakaz-diplom.ru/public_html/libraries/cms/application/cms.php</b> on line <b>470</b><br /> {"success":true,"message":null,"messages":null,"data":[",1,1. counter",",2,2. counter",",3,3. \u042f\u043d\u0434\u0435\u043a\u0441 \u043a\u0430\u0440\u0442\u0430"]}
Answer the question
In order to leave comments, you need to log in
1. Do not paste the code with the visual editor enabled - almost everything will be erased.
2. Your error is not related to the installation of the counter, see what is in the file public_html/libraries/cms/application/cms.php
Try to change the php version on the hosting.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question