• Resolved luito

    (@luito)


    Many days ago i have de same problem on all my sites.
    The plugin crashes when i go to the “main tab” and in the “Optimize More tab” I dont have php errors in my logs.
    both URLs:
    /wp-admin/options-general.php?page=autoptimize
    /wp-admin/options-general.php?page=ao_partners
    Can you help me?.
    Thank you.

    • This topic was modified 6 years, 3 months ago by Jan Dembowski. Reason: Fixed broken formatting

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 32 total)
  • Thread Starter luito

    (@luito)

    i found this error on wordpress logs
    Undefined index: autoptimize_extra_checkbox_field_0 in /wpfiles/current/incatrail/wp-content/plugins/autoptimize/classlesses/autoptimizeExtra.php on line 290

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, some questions @luito;
    * what version of Autoptimize are you on?
    * did this work before?
    * if it worked before, when did it break?
    * does your host(er) by any chance stop reqeusts to the outside world (AO fetches an RSS-file to populate the “optimize more”-tab?

    (the undefined index one is harmless and has been fixed on the development build already, will be part of AO 2.3.2. if you want you can download the update from github here)

    frank

    Thread Starter luito

    (@luito)

    Hello Frank.
    Thanks for your answer.
    I use the last version of the plugin.
    My problem come in the last wordpress version.
    and i saw this when upgrade the last version of Autoptimize.
    I dont know why is working “extra tab” of the plugin and others doesnt

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    @luito some more questions (as I honostly have no idea what is causing this);
    * can enable WP_DEBUG as per these guidelines to see if you get more info on the problem?
    * can you deactivate AO, delete it and then reinstall?
    * if that does not work, can you download the previous version of AO and see if that “fixes” it for you?

    frank

    I got same issue since last update. I currently disable the Autoptimize plugin and no more 502 error. With the previous version I never got this issue.

    Thread Starter luito

    (@luito)

    Hello Frank.
    I found the problem, is a conflic between W3 Total Cache plugin and Autoptimize.
    Still I cant fix.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    ah … are all W3TC minification options deactivated?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    just installed W3TC and ticked almost all options, but still can’t reproduce I’m afraid.

    from my side I don’t have the W3 Total Cache plugin, but other cache plugin: WP Super Cache

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    me too @nechry, no issues there either. I’m afraid I’m completely in the dark here, can you provide me with feedback on my questions here?

    @ optimizingmatters as you proposed, I deactivate AO (this step already done), delete it and then reinstall.

    from now I did not got the error 502, so wait and see. Last time in 5 minutes I got the error and a restart nginx is not enough to resolve I always have to reboot the host.

    Thread Starter luito

    (@luito)

    Minify module is desactivated.
    I found the problem maybe is a error in object cache from W3 total cache.
    Something in the update from WordPress, Autoptimize or W3 total cache.
    I working to find the problem.

    Since I previously have the issue, I get this entry in my log file:
    2018/01/04 06:48:33 [error] 10856#10856: *784773 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 51.15.xx.xx, server: mysite.com, request: “GET /?ao_speedup_cachebuster=34252 HTTP/1.1”, upstream: “fastcgi://unix:/run/php/php7.0-fpm.sock”, host: “mysite.com”, referrer: “https://mysite.com/?ao_speedup_cachebuster=34252”

    refer to log /var/log/nginx/mysite.com.error.log.1

    ever and ever

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    ah, but that is an error I know of (and which is fixed on the development version) @nechry. I bet you’re using an external object cache (redis or memcached)? try this zip file (github) which has a fix for that and let me know if that fixes things.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    the developement version is now also available from the wordpress.org repo.

Viewing 15 replies - 1 through 15 (of 32 total)
  • The topic ‘Autoptimize 502 error’ is closed to new replies.