Forums
Home / Plugin: Nginx Cache / Error. I can not clear the cache.
(@foxse)
7 years, 4 months ago
Hello I can not clear the cache.
Warning: Invalid argument supplied for foreach() in /var/www/user/data/www/example.com/wp-content/plugins/nginx-cache/nginx-cache.php on line 198
What could be the reason?
(@tillkruess)
Could you make sure php has full access to that path?
I Do not know how to do it right. The WordPress has limited permissions. May be move the cache in the WP directory?
That’s not gonna work. Please consult your hosting company about how to grant PHP permissions to Nginx’s cache folder.