as it’s just a warning you can safely ignore this ceslad, but *i think* this would go away when saving options on the autoptimize -> extra settings page.
hope this helps,
frank
Thread Starter
ceslad
(@ceslad)
Olá, @optimizingmatters.
I went to <settings> <extra> <save changes>, but the message still appears in the editor.
What does that really mean? I would like to delete this message. Is there any how?
Thanks in advance Franco
OK, try this; open wp-content/plugins/autoptimize/classes/autoptimizeExtra.php and on line 640 change
if ( $has_launched || ( array_key_exists( 'launch-threshold', $avail_imgopt ) && $magic_number < $avail_imgopt['launch-threshold'] ) ) {
into
if ( $has_launched || ( is_array( $avail_imgopt ) && array_key_exists( 'launch-threshold', $avail_imgopt ) && $magic_number < $avail_imgopt['launch-threshold'] ) ) {
let me know if that helps 🙂
frank
Thread Starter
ceslad
(@ceslad)
Hy, Franco, @optimizingmatters
The message has disappeared. This replacement of one code by another has solved.
The message that appeared may be because the code was already obsolete. Would it be this?
Anyway, thank you for your attention and for helping me resolve the issue..
great, I’ll make sure this goes in the next version ceslad!
and feel free to leave a review of the plugin and support here! 🙂