We use some of your themes, i.e. MedPark (1.0.2) and Lotus (1.0.2).
Now we migrated two websites to a new server with PHP 7.2.4 and now we have the following errors:
Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/jostmedical.ch/httpdocs/wp-content/themes/medpark/7league/shortcodes.php on line 3039
Could you fix this? Or what we have to do? With PHP 7.1 it works without errors.
Thank you very much.
that’s not an error, it’s a warning, and those messages should never be visible on public websites. A hacker can provoke such kind of warnings and messages and find weak points on your website, and hack it. Such pieces of information are only for developers, normally your hosting provider don’t should show such things by default.
I’m not sure if you have access to your php.ini file, there you can change the settings. These are the settings for your php.ini file:
error_reporting = off
display_errors = off
log_errors = off
If you cannot edit this file you need to contact your hosting provider.
Thanks very much for your response. Ah ok, that’s the problem… we migrated the websites to another server and there it seems, that there are not the same settings… we will change that.
Ok, perfect! Have a nice weekend!
You must be logged in to reply to this topic.