Uncaught Error: Syntax error, unrecognized expression on console
Hey BeTheme support,
When opening my website (mano-noa.nl) I'm getting multiple messages in console followed by an Uncaught. These messages keep looping for a bit until the browser gives up (I'm using Firefox).
This page uses the non standard property “zoom”. Consider using calc() in the relevant property values, or using “transform” along with “transform-origin: 0 0”.
right after it gives the "JQMIGRATE: Migrate is installed, version 3.3.2" message and after that it gives this error:
Uncaught Error: Syntax error, unrecognized expression: #?secret=VZIzwTG4PP#?secret=oQRzuemxam
The browser seems pretty busy trying to reload the website multiple times. I think this causes a iOS 13 specific issue which got reported by my client. Safari and Chrome will eventually give the "a problem repeatedly occured on *website name*" error which forces the user off of the website.
I'm not entirely sure if the two problems above are connected, but it's my best guess.
Tried turning off all plugins and the error still persists.
I'm using BeBuilder.
Any thought on how to solve this issue?
Kind regards,
Kevin
Comments
Hi,
Please send us the WordPress dashboard and FTP access privately through the contact form on the right side at http://themeforest.net/user/muffingroup#contact, and we will check what might be the reason.
Notice!
Please attach a link to this forum discussion.
Sending incorrect or incomplete data will result in a longer response time.
Therefore, please ensure that the data you send are complete and correct.
Thanks
We have corrected it on your website. Please do not enable the minified version of JS files in the Theme options for now.
Also, you have enabled the caching plugin, and the caching option is enabled in the Theme options. It is not recommended to mix that, and you should decide if you want to use the plugin or our option. For now, I disabled the caching plugin.
Best regards
Hey Phil & Muffin Support,
Thanks a lot for taking the time to go through the website. Conflicting caching methods is never a good idea and I should've caught that.
Unfortunately trying to run the website on any version of the iPhone 13 for +2 minutes will still result in a browser crash.
Using firefox on desktop results in the following console errors/messages which it iterates through (I will post only one loop and the final syntax error):
This page uses the non standard property “zoom”. Consider using calc() in the relevant propertyvalues, or using “transform” along with “transform-origin: 0 0”.
JQMIGRATE: Migrate is installed, version 3.3.2
(jquery-migrate.min.js:2:709)Uncaught DOMException: Document.cookie getter: Forbidden in a sandboxed document without the 'allow-same-origin' flag. scripts.js:3997
it loops through these messages 10 time before it stops trying, finally it gives this error and stops looping:
Uncaught TypeError: t.contentWindow is null
(wp-embed.min.js:2:1411)I'm not sure what causes all of this, though I hope we can find a solution or workaround so the website will run smoothly on all iPhone 13 versions.
Thanks in advance,
Best regards,
Kevin
I need you to check one thing.
Please, create a new empty page, turn off Elementor, and check if the problem and errors display on it.
When you do that, please, tell me the results.
Thanks
Just created a blank new page with Elementor turned off and it's the same problem on desktop and on all iPhone 13 versions (using Browserstack for this).
Hope this helps and thanks in advance.
Best regards,
Kevin
The root cause is the last widget in your footer.
After removing it, everything works correctly.
I put it back because I do not know what you need it for, but you should get rid of it, or rewrite its content.
Best regards
Thanks a lot for the support, this fixed the problem!
Apparently having the same url as the current domain in the popup shortcode creates an iframe which instantiates a recursive loop which led to all of the problems.
Kind regards
Glad I could help.
If you have any other questions or problems, feel free to ask.
Best regards