Warning: count(): Parameter array or countable
6 years 4 months ago #48942
by Mago71
Warning: count(): Parameter array or countable was created by Mago71
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
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
Please Log in or Create an account to join the conversation.
6 years 4 months ago #48943
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Warning: count(): Parameter array or countable
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
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
Please Log in or Create an account to join the conversation.
6 years 4 months ago - 6 years 4 months ago #48944
by Mago71
Replied by Mago71 on topic Warning: count(): Parameter array or countable
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!
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: 6 years 4 months ago by Mago71.
Please Log in or Create an account to join the conversation.
6 years 4 months ago #48945
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Warning: count(): Parameter array or countable
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
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
Please Log in or Create an account to join the conversation.
6 years 4 months ago #48946
by Mago71
Replied by Mago71 on topic Warning: count(): Parameter array or countable
Thanks! Done!
Please Log in or Create an account to join the conversation.
Time to create page: 0.207 seconds