Warning: count(): Parameter array or countable

Warning: count(): Parameter array or countable was created by Mago71

Posted 5 years 9 months ago #48942
I've just updated to the new version an it doesn't work anymore. Plus it gives me this warning in the joomla administration:

Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\bailador\plugins\system\cookiesck\cookiesck.php on line 375

Any idea about what is happening?

Thanks in advance
by Mago71

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

Replied by ced1870 on topic Warning: count(): Parameter array or countable

Posted 5 years 9 months ago #48943
Hi
I'm working on the warning (this shows only because you have not set your PHP error report to none which shall be done in a live site to avoid hackers to get your infos ;) )

please tell me exactly what is no more working
CEd

Joomlack Webmaster and Developer

by ced1870

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

Replied by Mago71 on topic Warning: count(): Parameter array or countable

Posted 5 years 9 months ago #48944
Hello! And thanks for your quick answer!

I've modified the error_reporting parameter in configuration.php to 'none'. I did not know it was convenient to do it to prevent attacks ...

I better leave it like this? or only as long as you solve the warning?

The plugin works perfectly. It was just my browser: I had not deleted the temporary files and it did not show me the message.

Thanks again for your work and help!

Regards!
Last Edit:5 years 9 months ago by Mago71
Last edit: 5 years 9 months ago by Mago71.

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

Replied by ced1870 on topic Warning: count(): Parameter array or countable

Posted 5 years 9 months ago #48945
here you are on localhost, so this is great to have the report to know the problems
on a live site, it must be disabled because it gives informations (like the root file path)

you can install the 2.0.1 version to fix the Warning, I have put it live few minutes ago

Joomlack Webmaster and Developer

by ced1870

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

Replied by Mago71 on topic Warning: count(): Parameter array or countable

Posted 5 years 9 months ago #48946
Thanks! Done!
by Mago71

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

Time to create page: 0.632 seconds

Fast and powerful creation, customizable and responsive.

Read More

We have 1109 guests and no members online