chesio / bc-cache

Simple full page cache plugin for WordPress inspired by Cachify
The Unlicense
9 stars 0 forks source link

PHP warning triggered when deleting request variant of cache entry with more request variants in directory #109

Closed chesio closed 6 months ago

chesio commented 6 months ago
PHP Warning:  rmdir([...]/cache/bc-cache/https_wp-lab.bcweb.dev/en/@dir): Directory not empty in [...]/plugins/bc-cache/classes/BlueChip/Cache/Core.php on line 197
chesio commented 6 months ago

The warning itself does not warrant a bugfix release. Unfortunately the .htaccess file shared for all request variants gets deleted, so any remaining request variants are served without proper HTTP headers - this should be fixed ASAP.