Hi,
Did you update anything in your site before this happened?
Do you have a cache plugin running in your site? Can you test this using different browsers? Make sure you clear the browser cache.
Let me know how you go.
Thank you
I’m not using any cache plugin. Running latest versions of WordPress with all updated Ocean WP theme and a handful of small plugins. Have tried with Chrome & Firefox, cleared browser cache, still experiencing the error when trying to exit Stripe payments product editor/page after hitting update and trying to close it.
Hi.
This looks like JavaScript conflict with some other plugin or theme.
Can you open Debug Console in Chrome (F12) and then update the product. Let me know if there are any error messages displayed on the console during the process.
This started happening after the most recent update of theme & plugins. Here’s a list of the plugins being used. The product does get updated on front-end after using “update” button with changes. Just can’t leave the product edit page without getting the browser popup warning about leaving the page…
Theme: Ocean WP
Plugins:
– Ad Inserter (no extra javascript code is being inserted)
– Akismet Anti-Spam
– Contact Form 7
– Duplicator (deactivated)
– Ocean Extra (deactivated)
– Really Simple SSL
– Stripe Payments
– UpdraftPlus Backup/Restore
– WP Fastest Cache (deactivated)
– Yoast Duplicate Post
– Yoast SEO
Here’s what’s showing in the Chrome console (hope this helps):
jquery-migrate.min.js?ver=3.3.2:2 JQMIGRATE: Migrate is installed, version 3.3.2
post-edit-1562.js:1 [Violation] 'DOMContentLoaded' handler took 1209ms
[Violation] Forced reflow while executing JavaScript took 105ms
jquery.min.js?ver=3.5.1:2 [Violation] 'setTimeout' handler took 59ms
[Violation] Forced reflow while executing JavaScript took 42ms
jquery.min.js?ver=3.5.1:2 [Violation] 'setTimeout' handler took 61ms
edit-product.js?ver=2.0.42:150 one_time
[Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
[Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
[Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
[Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
[Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
[Violation] Added non-passive event listener to a scroll-blocking <some> event. Consider marking event handler as 'passive' to make the page more responsive. See <URL>
tinymce.min.js?ver=49110-20201110:2 [Violation] Avoid using document.write(). https://developers.google.com/web/updates/2016/08/removing-document-write
bw @ tinymce.min.js?ver=49110-20201110:2
ww @ tinymce.min.js?ver=49110-20201110:2
Aw @ tinymce.min.js?ver=49110-20201110:2
(anonymous) @ tinymce.min.js?ver=49110-20201110:2
(anonymous) @ tinymce.min.js?ver=49110-20201110:2
jt @ tinymce.min.js?ver=49110-20201110:2
u @ tinymce.min.js?ver=49110-20201110:2
n @ tinymce.min.js?ver=49110-20201110:2
l.<computed>.l.<computed>.l.<computed>.o.onload @ tinymce.min.js?ver=49110-20201110:2
tinymce.min.js?ver=49110-20201110:2 [Violation] 'load' handler took 245ms
lodash.min.js?ver=4.17.19:87 [Violation] 'setTimeout' handler took 122ms
[Violation] Forced reflow while executing JavaScript took 43ms
Also, forgot to mention, I only get the leave page changes may not be save error for Stripe Product edit-product pages. I don’t see these error popups when editing/saving/leaving normal WP posts or pages.
Thanks