Hi Simon,
Are you using a custom cache folder? If so, how are you setting it?
No, it’s the default one.
Just got the same problem on a site on another server, here’s the error message it’s showing when I try to flush the cache:
Warning: opendir(/): failed to open dir: Permission denied in /srv/[my-domain-here]/public/wp-content/plugins/bwp-google-xml-sitemaps/includes/class-bwp-simple-gxs.php on line 1745
Hope that’s useful!
Hmm look like opendir restriction is in effect, you will probably have to add the cache folder to the openbase dir configuration directive in php.ini. You should use a custom cache directory on situation like this I believe.
Will see what I can do about this though.
That error message is from a new server with a different config. The bug is also affecting all my other sites on different servers on which flushing the cache previously worked fine.
I am getting this same error on 2 of my WordPress 4 sites. Any updates on a fix?
What if you guys change the cache directory to for example /wp-content/cache?
@simon does that happen right after you update the plugin, or any recent changes to existing servers’ config?
I can’t think of anything changed on those servers that would affect this.
I will try running an older version of the plugin, then do an upgrade, and will let you know what happens. I’m a bit busy now so will do it later this week.