oncletom/wp-less — pull request #20 by oncletom (2012-11-21 13:42:38+00:00)
Title: Active compiled style files are being pruned away

I checked my web site this morning to find out that the CSS was missing. Clearing my caches and forcing a recompile of my LESS file resolved the problem. I can confirm from my access logs that the WP-LESS garbage collector was active when the file went missing.

I did see the following message in my error logs from that time period. But more importantly, I need to figure out why GarbageCollector thinks it can remove my active files! My suspicion is that there is an undesirable interaction with my fastcgi caching.

error.log.1:2012/11/13 15:51:23 [error] 29972#0: *495312 FastCGI sent in stderr:
"PHP message: PHP Warning: unlink(/home/wordpress/cvxr/assets/wp-less/cvxrb/..)
[function.unlink]:
Is a directory in /home/wordpress/cvxr/wp-content/plugins/wp-less/lib/Garbagecollector.class.php on line 67