Error 404 and openat() after unistalling Autoptimize.
-
Hi, so I’ve unistalled Autoptimize, deleted every single file related to it on the website, cleaned the DB, delete Cloudflare cache and server cache, but after few days I’m still getting tons of error logs related to autoptimize:
404 GET /wp-content/cache/autoptimize/js/autoptimize_single_7ee92212a3ecbc19d9d71fa3818508af.js?ver=5.8.3 HTTP/2.0 nginx
and
17388#0: *25792705 openat() "/var/www/vhosts/domain.com/httpdocs/wp-content/cache/autoptimize/js/autoptimize_single_a1b4fb962926f4e0715d0c1ea40a1ac5.js" failed (2: No such file or directory)
I’m using NGINX and searching around the most similar error a person had was this:
https://www.ads-software.com/support/topic/autoptimize-js-autoptimize_xxxxxxxx-js-404-error/Unfortunatly the solution was for Apache server so it doesn’t works in my case, another detail to add, I’m not having any issue, visually on the site, because probably is related to browser cache (at least from my side) but apparently a tons of users (the 404 errors comes from users not bot, and the openat error comes from NGINX) are having a lot of issues with it, now is it possible to do a 410 redirect only for autoptimize files with NGINX (so I can keep the logs clean because with the amount of visitors I have right now is impossible to keep track of what’s happening on them) and could it solve the problem for thoose users that are getting the 404 errors? I have no clue on why the openat () error appears but sure is related to the problem or cloud be the main issue, if anyone have a clue about it please let me know.
Another detail to add, I’ve tried to disable every caching (server,plugin,cloudflare) but it seems that nothing is changing, same errors, and an astonish quantity of them, in 1 hour I’m generating 200MB+ of error logs just filled with Autoptimize errors.
- The topic ‘Error 404 and openat() after unistalling Autoptimize.’ is closed to new replies.