Title: Errors after updating
Last modified: August 21, 2016

---

# Errors after updating

 *  Resolved [design.smarterwebsites](https://wordpress.org/support/users/designsmarterwebsites/)
 * (@designsmarterwebsites)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/errors-after-updating/)
 * Hi, I am getting errors with this plugin when trying to tick “keep whitespace”.
   I have just updated the plugin.
    Warning: Invalid argument supplied for foreach()
   in /home/smartg2/public_html/wp-content/plugins/testimonials-widget/lib/class-
   settings-testimonials-widget.php on line 874
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/smartg2/public_html/wp-content/plugins/testimonials-widget/lib/class-
   settings-testimonials-widget.php:874) in /home/smartg2/public_html/wp-includes/
   pluggable.php on line 876
 * Please help?
 * [http://wordpress.org/extend/plugins/testimonials-widget/](http://wordpress.org/extend/plugins/testimonials-widget/)

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

 *  Thread Starter [design.smarterwebsites](https://wordpress.org/support/users/designsmarterwebsites/)
 * (@designsmarterwebsites)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/errors-after-updating/#post-3702874)
 * actually, I get errors whenever I try to save anything after updating. even if
   I haven’t changed anything
    Warning: Invalid argument supplied for foreach() 
   in /home/smartg2/public_html/wp-content/plugins/testimonials-widget/lib/class-
   settings-testimonials-widget.php on line 874
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/smartg2/public_html/wp-content/plugins/testimonials-widget/lib/class-
   settings-testimonials-widget.php:874) in /home/smartg2/public_html/wp-includes/
   pluggable.php on line 876
 *  Plugin Contributor [Michael Cannon](https://wordpress.org/support/users/comprock/)
 * (@comprock)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/errors-after-updating/#post-3702943)
 * Ick…
 * Could you please check the Reset tab > reset box and then save?
 * Then try to set new options?
 *  Thread Starter [design.smarterwebsites](https://wordpress.org/support/users/designsmarterwebsites/)
 * (@designsmarterwebsites)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/errors-after-updating/#post-3702960)
 * Hey, That did not work, I still get the Warning messages and now the widget is
   showing as a white box.
 *  Thread Starter [design.smarterwebsites](https://wordpress.org/support/users/designsmarterwebsites/)
 * (@designsmarterwebsites)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/errors-after-updating/#post-3702962)
 * We have purchased the Premium version under peter [@smarterwebsites](https://wordpress.org/support/users/smarterwebsites/).
   com.au. Should I set you up as a user?
 *  Plugin Contributor [Michael Cannon](https://wordpress.org/support/users/comprock/)
 * (@comprock)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/errors-after-updating/#post-3702963)
 * Can you please send me an admin login via [http://aihr.us/contact-aihrus/](http://aihr.us/contact-aihrus/)?
 *  Plugin Contributor [Michael Cannon](https://wordpress.org/support/users/comprock/)
 * (@comprock)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/errors-after-updating/#post-3702964)
 * Got it.
 *  Thread Starter [design.smarterwebsites](https://wordpress.org/support/users/designsmarterwebsites/)
 * (@designsmarterwebsites)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/errors-after-updating/#post-3702969)
 * Hi, How this going? This site is going live today.
    If its not able to be fixed
   soon we will need to swap widgets around so that the site looks great when its
   live. If we swap widgets, will this effect what you are doing?
 *  Plugin Contributor [Michael Cannon](https://wordpress.org/support/users/comprock/)
 * (@comprock)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/errors-after-updating/#post-3702974)
 * Please, next time you have a deadline, let the person you’re requesting help 
   from know it.
 * I’ve looked into this and it seems there’s a server configuration or plugin conflict
   issue regarding the grabbing and serialization of the `importexport` option. 
   It’ll take more debugging on your particular site to figure out why.
 * In the meantime, the Testimonials Widget widget instance does work regarding 
   setting of options and displaying on the front end.
 * I’ve added the following to your child theme’s `functions.php` which disables
   the troublesome setting for now. This way, you can continue to set global settings
   and then create widget instances which inherit them.
 *     ```
       add_filter( 'testimonials_widget_settings', 'my_testimonials_widget_settings' );
       function my_testimonials_widget_settings( $settings ) {
         unset( $settings['importexport'] );
         return $settings;
       }
       ```
   
 * Do let me know if you need something further.
 *  Thread Starter [design.smarterwebsites](https://wordpress.org/support/users/designsmarterwebsites/)
 * (@designsmarterwebsites)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/errors-after-updating/#post-3702977)
 * Thank you so much for your help.
    I was unaware of the urgency until just before
   I wrote it on here. I thought go live was next week. I will remember this for
   next time
 *  Plugin Contributor [Michael Cannon](https://wordpress.org/support/users/comprock/)
 * (@comprock)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/errors-after-updating/#post-3702986)
 * Not a problem. I’ve also put into the next release a check to ensure this problem
   won’t happen in the future. It shouldn’t have in the first place. But alas code
   does as it was coded to do.
 *  Thread Starter [design.smarterwebsites](https://wordpress.org/support/users/designsmarterwebsites/)
 * (@designsmarterwebsites)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/errors-after-updating/#post-3703004)
 * Hi Michael,
    The plugin now has a white background?? Any suggestions?
 *  Plugin Contributor [Michael Cannon](https://wordpress.org/support/users/comprock/)
 * (@comprock)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/errors-after-updating/#post-3703022)
 * Sorry… I’ve got the memory leak fixed. 2.12.1 will be coming out shortly have
   added a new test to try and prevent similar issues.

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

The topic ‘Errors after updating’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/testimonials-widget_c56561.svg)
 * [Testimonials Widget](https://wordpress.org/plugins/testimonials-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/testimonials-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/testimonials-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/testimonials-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/testimonials-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/testimonials-widget/reviews/)

 * 12 replies
 * 2 participants
 * Last reply from: [Michael Cannon](https://wordpress.org/support/users/comprock/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/errors-after-updating/#post-3703022)
 * Status: resolved