Title: Errors when adding woo products
Last modified: June 25, 2020

---

# Errors when adding woo products

 *  [vincemilia](https://wordpress.org/support/users/vincemilia/)
 * (@vincemilia)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/errors-when-adding-woo-products/)
 * Hello,
 * we are getting the following errors in browser preview of emails in automated
   woo emails when adding products to content. In test email also there are no woo
   products to see.
 * Warning: count(): Parameter must be an array or an object that implements Countable
   in /…/wp-content/plugins/mailpoet/lib/Newsletter/Renderer/Blocks/Renderer.php
   on line 80
 * Warning: Invalid argument supplied for foreach() in /…/wp-content/plugins/mailpoet/
   lib/Newsletter/Renderer/Blocks/Renderer.php on line 85
 * Warning: count(): Parameter must be an array or an object that implements Countable
   in /…/wp-content/plugins/mailpoet/lib/Newsletter/Renderer/Columns/Renderer.php
   on line 13
 * Warning: count(): Parameter must be an array or an object that implements Countable
   in /…/wp-content/plugins/mailpoet/lib/Newsletter/Renderer/Columns/Renderer.php
   on line 53
 * Warning: count(): Parameter must be an array or an object that implements Countable
   in /…/wp-content/plugins/mailpoet/lib/Newsletter/Renderer/Blocks/Renderer.php
   on line 80
 * Warning: Invalid argument supplied for foreach() in /…/wp-content/plugins/mailpoet/
   lib/Newsletter/Renderer/Blocks/Renderer.php on line 85
 * Warning: count(): Parameter must be an array or an object that implements Countable
   in /…/wp-content/plugins/mailpoet/lib/Newsletter/Renderer/Columns/Renderer.php
   on line 13
 * Warning: count(): Parameter must be an array or an object that implements Countable
   in /…/wp-content/plugins/mailpoet/lib/Newsletter/Renderer/Columns/Renderer.php
   on line 53
 * Warning: Cannot modify header information – headers already sent by (output started
   at /…/wp-content/plugins/mailpoet/lib/Newsletter/Renderer/Blocks/Renderer.php:
   80) in /…/wp-content/plugins/mailpoet/lib/Router/Endpoints/ViewInBrowser.php 
   on line 38
 * Any help?

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

 *  Plugin Author [MailPoet](https://wordpress.org/support/users/mailpoet/)
 * (@mailpoet)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/errors-when-adding-woo-products/#post-13051569)
 * Hi [@vincemilia](https://wordpress.org/support/users/vincemilia/)
 * Can you please check the PHP version you have installed on your website? You 
   can find that information on MailPoet’s Help page > System info tab.
 *  Thread Starter [vincemilia](https://wordpress.org/support/users/vincemilia/)
 * (@vincemilia)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/errors-when-adding-woo-products/#post-13052198)
 * Hi MailPoet,
 * the PHP version is 7.4.7.

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

 The topic ‘Errors when adding woo products’ is closed to new replies.

 * ![](https://ps.w.org/mailpoet/assets/icon-256x256.png?rev=3284564)
 * [MailPoet - Newsletters, Email Marketing, and Automation](https://wordpress.org/plugins/mailpoet/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailpoet/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailpoet/)
 * [Active Topics](https://wordpress.org/support/plugin/mailpoet/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailpoet/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailpoet/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [vincemilia](https://wordpress.org/support/users/vincemilia/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/errors-when-adding-woo-products/#post-13052198)
 * Status: not resolved