Image on single product not showing in which variables are enabled

Solved1 reply1 participantUpdated by kutmaster

  • Avatar: kutmaster
    kutmaster
    Participant

    I get this 3 warnings:

    Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client60/web138/web/wp-content/themes/xstore/woocommerce/single-product/product-image.php on line 91

    Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client60/web138/web/wp-content/themes/xstore/woocommerce/single-product/product-image.php on line 122

    Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/clients/client60/web138/web/wp-content/themes/xstore/woocommerce/single-product/product-image.php on line 275

    other quastions:
    1. Can’t change translation of mini-cart mobile version string “Shopping Cart” at top.
    2. Can’t turn off “choose an option” in related products on single page and it’s not translatable too

    using php7.4

    1 Answer

    Avatar: kutmaster
    kutmaster
    Participant

    after disabling one by one plugin, I found that “YITH WooCommerce Color and Label Variations” was the problem.
    Need only answer to 1 question (1. Can’t change translation of mini-cart mobile version string “Shopping Cart” at top.)
    As the second problem was involved by “YITH WooCommerce Color and Label Variations” plugin too

The issue related to '‘Image on single product not showing in which variables are enabled’' has been successfully resolved, and the topic is now closed for further responses