Does the error mention the filename of the file that is trying top opn the autoptimized CSS-file and the line number in that php-file?
Yes, Below is the error that I get.
file_get_contents(/public_html/wp-content/cache/autoptimize/js/autoptimize_snippet_f4002c96a1f673a88a51803ce2c2f4b0.js): Failed to open stream: No such file or directory in /public_html/wp-content/plugins/autoptimize/classes/autoptimizeCache.php on line 82
I’m afraid I’m stumped aparnawd, the code first checks if the file exists (with file_exists()) and only if that is true it tries to file_get_contents it :-/
Hi,
So what does this error indicate. When I check the cache folder I see that autoptimized js and css files updated time changes frequently without us manually clearing the cache.
So what does this error indicate.
I’m afraid the error does not make sense to me, I can’t explain it :-/
When I check the cache folder I see that autoptimized js and css files updated time changes frequently without us manually clearing the cache.
it is normal for files to be added, but autoptimize does not remove files by itself, so if you see files are being removed then something else (a plugin or theme, Divi is a known culpirt) is clearing the cache (but should not).
any news about what might be removing files from cache aparnawd ?
No feedback so I assume this got resolved? Feel free to follow up if you still encounter issues!
have a nice day!
frank