Tons of error in log files even if it does seem to work
-
Hi Frank,
I have a WordPress Multisite and I have enabled debug log to see if there was any broken plugin somewhere. More as maintenance cause everything is working fine.
I have discovered that for every site that has autoptimize installed there is those lines that appears over and over.
`[10-Feb-2022 04:00:02 UTC] PHP Warning: touch(): Unable to create file /home/xxxx/public_html/wp-content/uploads/ao_ccss/1/queue.lock because No such file or directory in /home/xxxx/public_html/wp-content/plugins/autoptimize/classes/autoptimizeCriticalCSSCron.php on line 80
[10-Feb-2022 04:00:02 UTC] PHP Warning: file_put_contents(/home/xxxx/public_html/wp-content/uploads/ao_ccss/1/ccss_f9de54ffd480fd16745bbd95a138ede2.css): failed to open stream: No such file or directory in /home/xxxx/public_html/wp-content/plugins/autoptimize/classes/autoptimizeCriticalCSSCron.php on line 661
[10-Feb-2022 04:00:02 UTC] PHP Warning: error_log(/home/xxxx/public_html/wp-content/uploads/ao_ccss/1/queuelog.html): failed to open stream: No such file or directory in /home/xxxx/public_html/wp-content/plugins/autoptimize/classes/autoptimizeCriticalCSSCore.php on line 624
[10-Feb-2022 04:00:02 UTC] PHP Warning: file_put_contents(/home/xxxx/public_html/wp-content/uploads/ao_ccss/1/ccss_aa266198788362b56b0c930bcf4303ee.css): failed to open stream: No such file or directory in /home/xxxx/public_html/wp-content/plugins/autoptimize/classes/autoptimizeCriticalCSSCron.php on line 661
[10-Feb-2022 04:00:02 UTC] PHP Warning: error_log(/home/xxxx/public_html/wp-content/uploads/ao_ccss/1/queuelog.html): failed to open stream: No such file or directory in /home/xxxx/public_html/wp-content/plugins/autoptimize/classes/autoptimizeCriticalCSSCore.php on line 624`Folders are not created but then, I have instructed Autoptimize to save files in another folder. (All CSS are there)
define(‘AUTOPTIMIZE_CACHE_CHILD_DIR’, ‘/fichiers/’);
I guess I could mkdir the site->id but I want your opinion on this as this seems like a bug you would like to fix.
Best regards,
- The topic ‘Tons of error in log files even if it does seem to work’ is closed to new replies.