WordPress.org

Forums

WP Super Cache
Warning: Invalid argument supplied for foreach() (3 posts)

  1. aahmedsyd
    Member
    Posted 4 years ago #

    Hi Guys,
    Once I am going in to the Super cache settings I am getting the errors below:

    Warning: file(/home/wphand5/public_html/wp-content/wp-cache-config.php) [function.file]: failed to open stream: No such file or directory in /home/wphand5/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 1621

    Warning: Invalid argument supplied for foreach() in /home/wphand5/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 1622

    Warning: Invalid argument supplied for foreach() in /home/wphand5/public_html/wp-content/plugins/wp-super-cache/wp-cache.php on line 1642

    Please help

  2. Donncha O Caoimh
    Member
    Plugin Author

    Posted 4 years ago #

    Did the errors go away when you saved your settings?

    You probably have display_errors on, which is a bad idea for a production site!

  3. aahmedsyd
    Member
    Posted 4 years ago #

    Thanks don, I was thinking it was more like file permission issue. But its all working now. Thanks doncha.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP Super Cache
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic