"Each dictionary in the list "icons" should contain a non-empty UTF8 string field "type"."

MorganPub
Excursionist
40 0 6

I'm finding this error in the product pages, when inspecting a product page like this one: https://www.fermento24.com/collections/vini-in-offerta-questo-mese/products/paone-fiano-igp-2018-can...

 

The error is repeated 6 times but google console doesn't give me where does this problem start from. 

 

Anyone can give me some suggestions?

rohangaur
New Member
2 0 0

Did you get any solution for this? I'm not getting any error in firefox, but in every other browser like chrome, edge.

0 Likes
Jamie_Grove
Tourist
3 0 2

So this error is being thrown by Shopify's own code. It's happening in the payment icons https://cdn.shopify.com/shopifycloud/payment-sheet/assets/latest/<version>.1.en.js

{name:"ShopPay",type:"icon",icons:{ratio:82/24,dark:"payments-shopify-pay-dark",light:"payments-shopify-pay-light"},classNames:{dark:"shopifyPayDark",light:"shopifyPayLight"}},a={name:"PayPal",type:"icon",icons:{ratio:67/19,dark:"payments-paypal",light:"payments-paypal"},classNames:{dark:"paypalDark",light:"paypalLight"}},o={name:"GooglePay",type:"icon",classNames:{dark:"googlePayDark",light:"googlePayLight"},icons:{ratio:43/19,dark:"payments-google-pay-dark",light:"payments-google-pay-light"}},i={name:"DummyInstrument",type:"text",classNames:{dark:"checkoutDark",light:"checkoutLight"},copy:{buy_now:"Dummy Instrument",sheet:"Dummy Instrument",web_checkout:"Dummy Instrument",web_checkout_accelerated:"Dummy Instrument",cart_page:"Dummy Instrument",cart_page_accelerated:"Dummy Instrument",cart_ajax:"Dummy Instrument",cart_ajax_accelerated:"Dummy Instrument"}},s={AmazonPay:{name:"Amazon Pay",type:"icon",icons:{ratio:5.1,dark:"payments-amazon-pay",light:"payments-amazon-pay"},classNames:{dark:"amazonPayDark",light:"amazonPayLight"}},ApplePay:{name:"Apple Pay",type:"icon",icons:{ratio:43/19,dark:"payments-apple-pay-dark",light:"payments-apple-pay-

 Zero way for us to correct this and it's probably happening to everyone.

Skaupp
New Member
1 0 0

Frustrating I wish there was a way to address this

0 Likes
JS5
Tourist
3 0 0

+1 Shopify please address this issue.

0 Likes
motomayhemstore
New Member
3 0 0

I've only recently set-up our  Shopify store using Brooklyn theme and have now found this same error repeated 4 times?!

Is there still no solution to this? I've seen in other threads cases of this reported a few years ago ...

0 Likes