• Resolved nick8182

    (@nick8182)


    hi, can you tell me how to cancel this notification (Did you know Autoptimize includes on-the-fly image optimization and CDN via ShortPixel? Check out the Autoptimize Extra settings to activate this option.), click on the X symbol, delete it but then on each page, reappear.

    Versione 2.4.1

    • This topic was modified 6 years, 1 month ago by nick8182.
Viewing 12 replies - 76 through 87 (of 87 total)
  • Thread Starter nick8182

    (@nick8182)

    no errors in the logs, other plugins that have the warning once closed no longer appears, while this continues to appear.

    example: in the WP Mail SMTP plugin, the warning appears as yours, but in addition there is this writing “Dismiss this notice”, clicking on the warning disappears forever.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    example: in the WP Mail SMTP plugin, the warning appears as yours, but in addition there is this writing “Dismiss this notice”, clicking on the warning disappears forever.

    afraid (lack) of that text has no impact; clicking that little cross _should_ dismiss the notice as per the exact aim of the “persist admin notice dismiss” component used in AO.

    so if you click on that little cross, does the notice go away immediately on the page? or does nothing happen?

    Thread Starter nick8182

    (@nick8182)

    if I click on the cross, the warning disappears immediately, then as soon as I click on another page or link it reappears immediately. I use the siteground cahce and empty all three cache levels.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    No idea why it is not working for you I’m afraid Nick. Andy, do you have any clues how we could troubleshoot this?

    My only thought is there another plugin using an older version the PAnD library and it’s loading earlier.

    I use the library in a couple of other plugins and I’m on SiteGround, no issues.

    Thread Starter nick8182

    (@nick8182)

    found the problem! it is the fault of this plugin “WooCommerce Print Invoice & Delivery Note”. I did some testing on my website staging, and disabling this plugin and then closing the notification, the warning no longer appears.

    What can I tell the plugin author, to solve the problem?

    thank you

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    well, that sort of confirms Andy’s hunch and if so would imply that “WooCommerce Print Invoice & Delivery Note” is also using PAnD (the dismissable notices component). Ask the developer to confirm and if so to update to the latest version?

    frank

    OK, I little digging and I think I see the issue.

    Both PAnD and Woo Print Invoice use the identically named dismiss-notice.js file. I think what’s happening is that the second plugin is having their version loaded.

    I’ll make an issue and hopefully have a solution soon.

    Andy

    https://github.com/collizo4sky/persist-admin-notices-dismissal/issues/26

    I believe the consensus opinion is that there is likely some JS error causing the admin-Ajax call to fail. Check your console.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Dug in a bit and can confirm the issue is with the JS code of “WooCommerce Print Invoice & Delivery Note”, I created a support issue with technical info there.

    frank

    I just started having this problem – it initially disappeared, and started happening after this issue with EWWW Optimization: https://www.ads-software.com/support/topic/update-deleted-plugin-files/

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Guess something (EWWW? or “WooCommerce Print Invoice & Delivery Note” or some other plugin from those developers) is breaking the dismissal logic Henry.

    If you want to take the easy road you can disable the notice once and for all with this code snippet;

    
    add_filter('autoptimize_filter_main_imgopt_plug_notice','__return_empty_string');

    frank

Viewing 12 replies - 76 through 87 (of 87 total)
  • The topic ‘Delete Notice: Check out the Autoptimize Extra settings to activate this option.’ is closed to new replies.