Uncaught DOMException: Failed to execute 'define' on 'CustomElementRegistry'

JavaScript error

Uncaught DOMException: Failed to execute 'define' on 'CustomElementRegistry': the name "ss3-force-full-width" has already been used with this registry


For some reason on your website our JavaScript file is called in twice. This can happen due to:

  1. Optimization/cache plugins, which are putting all JavaScript codes into one combined file, but fail to remove them from your website.
  2. Wrong theme/template codes, which are making your website call in its JavaScript files multiple times.

So this is what you should debug, to turn off every optimization/cache plugin you have, and if you still have the same issue, try to change your theme/template, to see if the problem happens there too. In WordPress you can use Health Check & Troubleshooting plugin for your tests.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.