fbpx
Want To Add Extra Images Per Product Variation For Free? Download Now

Error: Each dictionary in the list “icons” should contain a non-empty UTF8 string field “type”.

Huu Buu

I have a woocommerce wordpress website. I have the goya theme and your plugin. I have a product with 2 attributes each with 3 values. thats why there are 6 clickable buttons or whatever they are called on the product page so that the customer can configere his desired product. when the product page is loaded and also each time someone presses one of the 6 buttons to change the variation in the console

I get this 2 yellow errors:
1) “Each dictionary in the list ‘icons’ should contain a non-empty UTF8 string field ‘type'”
2) “Each dictionary in the list ‘icons’ should contain a non-empty UTF8 string field ‘sizes'”

I checke the Sources tab on my browser and found this pice of code:

<script src=”https://mydeepnudes.com/wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart-variation.min.js?ver=8.2.2″ id=”wc-add-to-cart-variation-js”></script> <script id=”goya-app-js-extra”> var goya_theme_vars = { “ajaxUrl”: “https://mydeepnudes.com/wp-admin/admin-ajax.php”, “l10n”: { “back”: “Back”, “view_cart”: “View cart” }, “icons”: { “prev_arrow”: “<svg xmlns=”http://www.w3.org/2000/svg” width=”24″ height=”24″ viewBox=”0 0 24 24″ fill=”none” stroke=”currentColor” stroke-width=”2″ stroke-linecap=”round” stroke-linejoin=”round” class=”feather feather-chevron-left”><polyline points=”15 18 9 12 15 6″></polyline></svg>”, “next_arrow”: “<svg xmlns=”http://www.w3.org/2000/svg” width=”24″ height=”24″ viewBox=”0 0 24 24″ fill=”none” stroke=”currentColor” stroke-width=”2″ stroke-linecap=”round” stroke-linejoin=”round” class=”feather feather-chevron-right”><polyline points=”9 18 15 12 9 6″></polyline></svg>” }, “settings”: { “current_url”: “https://mydeepnudes.com/product/start/”, “site_url”: “https://mydeepnudes.com”, “pageLoadTransition”: false, “ajaxSearchActive”: false, “ajaxAddToCartSingle”: true, “cart_icon”: “cart-page”, “minicart_auto”: true, “shop_infinite_load”: “button”, “shop_update_url”: false, “ajaxWishlistCounter”: false, “YITH_WCWL_Premium”: false, “posts_per_page”: “10”, “related_slider”: true, “popup_length”: “1”, “is_front_page”: false, “is_blog”: false, “is_cart”: false, “is_checkout”: false, “checkoutTermsPopup”: true, “single_atc_nonce”: “e05e4dc287”, “facebook4WC”: false } };

Were in wordpress do i need to do what changes to fix the problem?

Hakik Zaman

Hi Huu,

Thanks for reaching out to us. Could you disable our Swatches plugin and check if is it working without our plugin or not?

Thank you