J
J
JohnSky72020-04-20 14:51:52
Joomla
JohnSky7, 2020-04-20 14:51:52

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.
5e9d8c42a1137416361373.png

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"]}


please tell me how to solve this problem and what is the error?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton R., 2020-04-20
@anton_reut

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 question

Ask a Question

731 491 924 answers to any question