Title: Is theme causing plugin errors?
Last modified: August 21, 2016

---

# Is theme causing plugin errors?

 *  Resolved [awentherapy](https://wordpress.org/support/users/awentherapy/)
 * (@awentherapy)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/is-theme-causing-plugin-errors/)
 * I’ve gotten a similar error from 2 different plugins and haven’t been able to
   resolve them. I’m wondering if it might be a theme error.
 * I used WP Ultra Simple Paypal Shopping Cart. When I add an item and them try 
   to delete it from the cart I get – Warning: Invalid argument supplied for foreach()
   in /home/content/p3nexnas05_data03/59/2166859/html/wp-content/plugins/wp-ultra-
   simple-paypal-shopping-cart/wp_ultra_simple_shopping_cart.php on line 152
 * I just updated JetPack plugin and got – Warning: Invalid argument supplied for
   foreach() in /home/content/p3nexnas05_data01/75/2167375/html/wp-content/plugins/
   jetpack/class.jetpack.php on line 4470
 * Is it possible the them is the issue here?
 * Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Thread Starter [awentherapy](https://wordpress.org/support/users/awentherapy/)
 * (@awentherapy)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/is-theme-causing-plugin-errors/#post-5150554)
 * Figured it out! Unrelated.
 *  [awright715](https://wordpress.org/support/users/awright715/)
 * (@awright715)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/is-theme-causing-plugin-errors/#post-5150674)
 * Can you share what fixed the issue? I just updated JetPack as well and got the
   same error and cannot figure out how to get rid of it!
 * Thanks!
 *  [julianomadalena](https://wordpress.org/support/users/julianomadalena/)
 * (@julianomadalena)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/is-theme-causing-plugin-errors/#post-5150727)
 * Same problem here. Anyone?
 *  [awright715](https://wordpress.org/support/users/awright715/)
 * (@awright715)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/is-theme-causing-plugin-errors/#post-5150750)
 * Julianomadalena, I found a solution on another thread and it worked.
 * [https://wordpress.org/support/topic/update-causing-errors](https://wordpress.org/support/topic/update-causing-errors)
 * Turns out jetpack update screwed things up, but that is a patch up until 3.1.1
   update.
 *  Thread Starter [awentherapy](https://wordpress.org/support/users/awentherapy/)
 * (@awentherapy)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/is-theme-causing-plugin-errors/#post-5150773)
 * Yes, that’s the thread that solved my problem. BUT, I’m still getting the plugin
   error with 3 different paypal carts. They all happen when I try to remove an 
   item that was added to the cart. This error began before I did the jetpack upgrade.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Is theme causing plugin errors?’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/delighted/1.0.3/screenshot.png)
 * deLighted
 * [Support Threads](https://wordpress.org/support/theme/delighted/)
 * [Active Topics](https://wordpress.org/support/theme/delighted/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/delighted/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/delighted/reviews/)

## Tags

 * [errors](https://wordpress.org/support/topic-tag/errors/)
 * [invalid argument](https://wordpress.org/support/topic-tag/invalid-argument/)

 * 5 replies
 * 3 participants
 * Last reply from: [awentherapy](https://wordpress.org/support/users/awentherapy/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/is-theme-causing-plugin-errors/#post-5150773)
 * Status: resolved