• 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, 5 months ago by nick8182.
Viewing 15 replies - 31 through 45 (of 87 total)
  • Checked for ao-img-opt-plug in DB – not found. Only thing I have (similar) is autoptimize_imgopt_launched which is on.

    • This reply was modified 6 years, 5 months ago by WebFactory.

    @danicasati,

    Did you try the permanent solution I posted above? If it works for you, you won’t have to worry about this issue anymore and it will buy @optimizingmatters some time until he can identify and fix the issue.

    @optimizingmatters,

    Tried your instructions above. The transient “ao-img-opt-plug” is not listed in our outputs. In fact, none whatsoever related to AO.

    Update: Are your instructions applicable to a website that still has the issue or not? In our case, we fixed the issue, so perhaps that’s why we didn’t see the transient. Please clarify.

    Cheers!

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    the ao-img-opt-plug is added when clicking on the dismiss-button (that’s the core of https://github.com/collizo4sky/persist-admin-notices-dismissal/ ; setting -through an AJAX request- and checking for a named transient to return true or false for displaying a notice). if the transient isn’t there, the notice is shown.

    @danicasati if you haven’t tried the permanent solution yet, can you first try this:
    * execute this code (adding it in a code snippet or to your functions.php temporarily) set_transient('ao-img-opt-plug' , "10627200", 10627200 );
    * check if the notice remains
    * check if ao-img-opt-plug is to be found in the db?

    @webfactory; you tested on a clean install (which worked) and were going to experiment with different plugins to find one that might intervene, have you had a chance to do so already?

    I’ve found the bug.

    persist-admin-notices-dismissal.php:93 – seems $transient is too big of an int on some systems so it fails to write the transient despite returning true. Not sure if it’s PHP or memcached to blame. I hardcoded it to 10 * DAY_IN_SECONDS and it works (50 was too big too).

    Before that, the transient just wasn’t getting saved so the problem is definitely in that. Not sure what’s the cause.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    that is _great_ info @webfactory, thanks!!

    @collizo4sky any idea what might be happening/ how to fix in your great pand library? ??

    @webfactory Can you please try increasing the item size limit of memcache and see if that resolve this issue?

    See https://www.alphadevx.com/a/387-Changing-the-maximum-item-size-allowed-by-Memcache

    @collizo4sky shared hosting ?? can’t do anything like that

    will disable memcache and give it a go

    All,

    My other two-cents:

    I personally appreciate everyone’s effort to help fix this. I believe this topic is now “quicksand.”

    Wouldn’t it be better to simply update the plugin to remove the codes that were added in V2.4.1 which are triggering the pesky message in the first place? In other words, kill the ad. Nobody likes pop-ups anyway.

    In short, update the code and release V2.4.2. We get it. When we click the AO “Extra” tab, we’ll see the Shortpixel CDN offering (checkbox) anyway.

    “If something is constantly breaking, and being fixed . . . it’s definitely broken. Replace it.”

    Cheers!

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    but then again; it’s not a pop-up, is it? :-p

    ?? You get my point! OK, let’s call it “embedded pop-up” ??

    You own the plugin, you da man, you decide. Just a suggestion.

    Cheers!

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    @jetxpert; we’ll have a notice and it has to be dismissable for 99,999% of users (vs. I guess 90-95% now).

    @webfactory; can you confirm that a transient with no expiry is _always_ successfully written (in your tests at least)?

    I just installed this plugin in my Siteground hosted multisite test server. I saw the notice and dismissed it. It has stayed dismissed so far. FWIW I have not saved or set any options.

    @collizo4sky and I have been discussing this here, https://github.com/collizo4sky/persist-admin-notices-dismissal/issues/16

    • This reply was modified 6 years, 5 months ago by Andy Fragen.

    @afragen all cache levels are enabled? including memcached?

    @webfactory all caches are set at default.

    From the set_transient Codex entry

    $expiration
    (integer) The maximum of seconds to keep the data before refreshing. Transients may expire before the $expiration (Due to External Object Caches, or database upgrades) but will never return their value past $expiration.

    The transient is only guaranteed to not last longer than the set expiration.

    • This reply was modified 6 years, 5 months ago by Andy Fragen.
Viewing 15 replies - 31 through 45 (of 87 total)
  • The topic ‘Delete Notice: Check out the Autoptimize Extra settings to activate this option.’ is closed to new replies.