Hello. Just purchased and installed Kalium but am getting the following error (with the demo content):
Warning: count(): Parameter must be an array or an object that implements Countable in /srv/users/serverpilot/apps/beige-wordpress/public/wp-content/themes/kalium/inc/laborator_functions.php on line 739
Not sure if this an issue with your theme, or something server side.
This error is showing because you are using the the very latest PHP version 7.2, we where not aware of this problem but some users reported this, we have already 'fixed' this and on the next theme update the warning will not show.
Until then you can manually change a file on your theme, so please download this file and replace it in this directory (of the theme): /inc
Hey @Ylli I had the same problem and made what you said and now I get the following error:
Fatal error: Cannot redeclare kalium_clean_excerpt() (previously declared in /www/htdocs/w00cd2f1/wordpress/wp-content/themes/kalium/inc/functions/core-functions.php:398) in /www/htdocs/w00cd2f1/wordpress/wp-content/themes/kalium/inc/laborator_functions.php on line 1219
This ticket is created by another user, kindly open a new ticket and post your request so it will be helpful for the other users to take advantage of searching them on the forum. We’re glad to help you in your new thread.
Hello. Just purchased and installed Kalium but am getting the following error (with the demo content):
Warning: count(): Parameter must be an array or an object that implements Countable in /srv/users/serverpilot/apps/beige-wordpress/public/wp-content/themes/kalium/inc/laborator_functions.php on line 739
Not sure if this an issue with your theme, or something server side.
Any ideas?
Hi signeralex,
This error is showing because you are using the the very latest PHP version 7.2, we where not aware of this problem but some users reported this, we have already 'fixed' this and on the next theme update the warning will not show.
Until then you can manually change a file on your theme, so please download this file and replace it in this directory (of the theme): /inc
Thanks!
Perfect! Thanks.
You're welcome signeralex
P.S: If you like our theme, it would help us a lot if you could give us a five-star rating on Themeforest from your Downloads tab.
A huge thank you from Laborator in advance!
Have a great weekend!
Hey @Ylli I had the same problem and made what you said and now I get the following error:
Fatal error: Cannot redeclare kalium_clean_excerpt() (previously declared in /www/htdocs/w00cd2f1/wordpress/wp-content/themes/kalium/inc/functions/core-functions.php:398) in /www/htdocs/w00cd2f1/wordpress/wp-content/themes/kalium/inc/laborator_functions.php on line 1219
Not sure why. Any clue?
Hi minorkontor,
This ticket is created by another user, kindly open a new ticket and post your request so it will be helpful for the other users to take advantage of searching them on the forum. We’re glad to help you in your new thread.
Thanks for your understanding!
Will set this ticket as closed from here.