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

MorganPub
Excursionist
40 0 8

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?

Replies 5 (5)

rohangaur
Visitor
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.

Jamie_Grove
Excursionist
32 0 52

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
Visitor
1 0 0

Frustrating I wish there was a way to address this

JS5
Shopify Partner
3 0 2

+1 Shopify please address this issue.

motomayhemstore
Visitor
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 ...