• Resolved foxse

    (@foxse)


    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?

    • This topic was modified 7 years, 4 months ago by foxse.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    Could you make sure php has full access to that path?

    Thread Starter foxse

    (@foxse)

    I Do not know how to do it right.
    The WordPress has limited permissions.
    May be move the cache in the WP directory?


    • This reply was modified 7 years, 4 months ago by foxse.
    Plugin Author Till Krüss

    (@tillkruess)

    That’s not gonna work. Please consult your hosting company about how to grant PHP permissions to Nginx’s cache folder.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error. I can not clear the cache.’ is closed to new replies.