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
Cause
For some reason on your website our JavaScript file is called in twice. This can happen due to:
- Optimization/cache plugins, which are putting all JavaScript codes into one combined file, but fail to remove them from your website.
- 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.