Title: Errors when adding new products
Last modified: June 5, 2018

---

# Errors when adding new products

 *  Resolved [digitaleffex](https://wordpress.org/support/users/digitaleffex/)
 * (@digitaleffex)
 * [8 years ago](https://wordpress.org/support/topic/errors-when-adding-new-products/)
 * when I updated WC Vendors and log in as if I’m a vendor and try to add a new 
   product, I see this error on the product page:
 * parameter 2 to be array, string given in /home/ponojewels/public_html/wp-content/
   plugins/wc-vendors/classes/admin/class-admin-users.php on line 174
 * Warning: in_array() expects parameter 2 to be array, string given in /home/ponojewels/
   public_html/wp-content/plugins/wc-vendors/classes/admin/class-admin-users.php
   on line 174
 * Warning: in_array() expects parameter 2 to be array, string given in /home/ponojewels/
   public_html/wp-content/plugins/wc-vendors/classes/admin/class-admin-users.php
   on line 174
 * Warning: in_array() expects parameter 2 to be array, string given in /home/ponojewels/
   public_html/wp-content/plugins/wc-vendors/classes/admin/class-admin-users.php
   on line 174

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

 *  [Jamie Madden](https://wordpress.org/support/users/digitalchild/)
 * (@digitalchild)
 * [8 years ago](https://wordpress.org/support/topic/errors-when-adding-new-products/#post-10383870)
 * Hello,
 * Can you please reply with your WooCommerce Status Page? You can find this in 
   the WP Admin
 * WooCommerce > Status “click copy for support” and paste here.
 * cheers
 * Jamie
 *  [Jamie Madden](https://wordpress.org/support/users/digitalchild/)
 * (@digitalchild)
 * [8 years ago](https://wordpress.org/support/topic/errors-when-adding-new-products/#post-10383873)
 * Hello,
 * Also please go into your settings WC Vendors > Settings > capabilities and save
   the settings.
 * cheers,
 * Jamie
 *  Thread Starter [digitaleffex](https://wordpress.org/support/users/digitaleffex/)
 * (@digitaleffex)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/errors-when-adding-new-products/#post-10419154)
 * I found another plugin that doesn’t have as many issues. Thanks.

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

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

 * ![](https://ps.w.org/wc-vendors/assets/icon.svg?rev=1645455)
 * [WC Vendors - WooCommerce Multivendor, WooCommerce Marketplace, Product Vendors](https://wordpress.org/plugins/wc-vendors/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wc-vendors/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wc-vendors/)
 * [Active Topics](https://wordpress.org/support/plugin/wc-vendors/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wc-vendors/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wc-vendors/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [digitaleffex](https://wordpress.org/support/users/digitaleffex/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/errors-when-adding-new-products/#post-10419154)
 * Status: resolved