Someone can help?

sergiofelipener
Visitor
2 0 0

i have a following error:  Uncaught ReferenceError: MtPopUpList is not defined

 

sergiofelipener_0-1678817666261.png

 

 

Replies 4 (4)
Olivia
Shopify Staff
Shopify Staff
1497 126 264

Hi, @sergiofelipener!

 

Welcome to Shopify Community.

 

Thanks for sharing your question with our network. At first glance, it appears that a variable is being referenced via your code that does not exist. There are some other potential reasons that cause this, depending on where a variable is called in the code before it is defined.

 

I found this helpful third-party blog post that walks you through these commons reasons, along with addressing some fixes that I encourage you to review.

 

While I'm not familiar with the variable you created, it almost sounds like it is related to a pop up form or list. If you're using an app that could have injected this code, then make sure to consult with the App Developers directly for their expert advice on resolving it.

 

Warm regards,

Olivia | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

sergiofelipener
Visitor
2 0 0

well, unfortunately this article didn't help me with the error, but I'll keep trying other ways anyway, thanks.

Mastm111
Shopify Partner
1 0 1

I think it happens on a product page or other where the content is edited by the WSYIWYG editor? I had this problem with the Chrome extension for page translation. This extension added a lot of unnecessary HTML and JS code to the product description. I disabled the extension and the problem went away. Try to test this idea.

eCommerce and Web Development, Shopify stores optimization.
Olivia
Shopify Staff
Shopify Staff
1497 126 264

Thank you for joining this thread and sharing your perspective, @Mastm111. I didn't consider an extension causing this issue, which actually could explain a lot. Thanks for that tidbit of information, I'm sure other users will find this helpful.


Warm regards,

Olivia | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog