How to fix Uncaught ReferenceError: MtPopUpList not defined?

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

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,

1 Like

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

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.

1 Like

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,