Hello, i get a lot of warnings with AKI theme. Heres the warnings:
Warning: count(): Parameter must be an array or an object that implements Countable in /home/lishop/domains/liolishop.lt/public_html/wp-includes/post-template.php on line 284 (I get this above the main header)
Warning: count(): Parameter must be an array or an object that implements Countable in /home/lishop/domains/liolishop.lt/public_html/wp-includes/media.php on line 1206 (I get this above all products)
Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/lishop/domains/liolishop.lt/public_html/wp-content/themes/aki/woocommerce/single-product/tabs/tabs.php on line 35 (I get this below the product in the product page)
I also include attachments with the warnings in the page.
Hello, i get a lot of warnings with AKI theme. Heres the warnings:
Warning: count(): Parameter must be an array or an object that implements Countable in /home/lishop/domains/liolishop.lt/public_html/wp-includes/post-template.php on line 284 (I get this above the main header)
Warning: count(): Parameter must be an array or an object that implements Countable in /home/lishop/domains/liolishop.lt/public_html/wp-includes/media.php on line 1206 (I get this above all products)
Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/lishop/domains/liolishop.lt/public_html/wp-content/themes/aki/woocommerce/single-product/tabs/tabs.php on line 35 (I get this below the product in the product page)
I also include attachments with the warnings in the page.
If I switch to other theme the errors disappear.
How can I solve this problem?
I am very happy to announce that I managed to solve this problem my self. I changed PHP version from 7.2 to 7.1
Hi,
If you have any problems, please contact us.
Can you take some time to rate our item 5stars in ThemeForest?
https://themeforest.net/item/aki-multipurpose-wordpress-theme/reviews/20738235
Thank you so much.
Alex Vũ