Title: wp rocket issue
Last modified: March 21, 2020

---

# wp rocket issue

 *  Resolved [soydanielromero](https://wordpress.org/support/users/soydanielromero/)
 * (@soydanielromero)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/wp-rocket-issue/)
 * When I try to delete site’s cache it gives me the following error:
 * Warning: Invalid argument supplied for foreach() in /home/soydanielromero/public_html/
   wp-content/plugins/featured-images-for-rss-feeds/includes/freemius/includes/managers/
   class-fs-admin-menu-manager.php on line 557
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/soydanielromero/public_html/wp-content/plugins/featured-images-for-rss-
   feeds/includes/freemius/includes/managers/class-fs-admin-menu-manager.php:557)
   in /home/soydanielromero/public_html/wp-admin/includes/misc.php on line 1252
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/soydanielromero/public_html/wp-content/plugins/featured-images-for-rss-
   feeds/includes/freemius/includes/managers/class-fs-admin-menu-manager.php:557)
   in /home/soydanielromero/public_html/wp-includes/pluggable.php on line 1265
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/soydanielromero/public_html/wp-content/plugins/featured-images-for-rss-
   feeds/includes/freemius/includes/managers/class-fs-admin-menu-manager.php:557)
   in /home/soydanielromero/public_html/wp-includes/pluggable.php on line 1268
 * any suggestion?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwp-rocket-issue%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [5 Star Plugins (Rob)](https://wordpress.org/support/users/5starplugins/)
 * (@5starplugins)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/wp-rocket-issue/#post-12572070)
 * Hi there,
 * From the first warning, it is a menu related plugin causing a conflict, and affecting
   our plugin’s SDK.
 * The other warnings are caused by the first warning being output before regular
   headers can be output first.
 * I don’t recommend troubleshooting on a live site. I would suggest cloning the
   site to a staging site, changing the theme, and see if it still happens, or deactivate
   other plugins related to the menu, and see if it’s one of them causing the issue.
 * I would also recommend turning off WP_DEBUG on a live site, and it shouldn’t 
   show warnings, but that is fixing the display and not the root cause.
 * We’ve seen this before, and a plugin update usually resolves it:
    [https://wordpress.org/support/topic/receiving-warnings-invalid-argument-supplied-for-foreach/](https://wordpress.org/support/topic/receiving-warnings-invalid-argument-supplied-for-foreach/)
 * Let me know if you need help troubleshooting further.

Viewing 1 replies (of 1 total)

The topic ‘wp rocket issue’ is closed to new replies.

 * ![](https://ps.w.org/featured-images-for-rss-feeds/assets/icon-256x256.png?rev
   =1546995)
 * [Featured Images in RSS for Mailchimp & More](https://wordpress.org/plugins/featured-images-for-rss-feeds/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/featured-images-for-rss-feeds/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/featured-images-for-rss-feeds/)
 * [Active Topics](https://wordpress.org/support/plugin/featured-images-for-rss-feeds/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/featured-images-for-rss-feeds/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/featured-images-for-rss-feeds/reviews/)

## Tags

 * [cache](https://wordpress.org/support/topic-tag/cache/)
 * [Invalid argument supplied for foreach()](https://wordpress.org/support/topic-tag/invalid-argument-supplied-for-foreach/)

 * 1 reply
 * 2 participants
 * Last reply from: [5 Star Plugins (Rob)](https://wordpress.org/support/users/5starplugins/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/wp-rocket-issue/#post-12572070)
 * Status: resolved