• This is new, have not experienced this before.

    After making changes to a product and saving “Update” via WordPress admin I try to go back to dashboard or other admin nav but the product page pops-up with error “This page is asking you to confirm that you want to leave – data you have entered may not be saved.” Well I can hit update multiple times and it still gives the error. The product appears to keep the changes I made after hitting “update” so not sure what is going on here.

    Is this a bug? Anyone else having this issue?

    Thanks for your ideas and feedback on this.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    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

    Thread Starter wordmax

    (@wordmax)

    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.

    Plugin Contributor Alexander C.

    (@alexanderfoxc)

    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.

    Thread Starter wordmax

    (@wordmax)

    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
    Thread Starter wordmax

    (@wordmax)

    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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘After updating product, can’t leave the page? (warning)’ is closed to new replies.