Title: variations array error
Last modified: August 21, 2016

---

# variations array error

 *  [PPNSteve](https://wordpress.org/support/users/ppnsteve/)
 * (@ppnsteve)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/variations-array-error/)
 * I’m now seeing this Warning:
    `array_merge() [function.array-merge]: Argument#
   1 is not an array in /home/{username}/public_html/wp-includes/post.php on line
   2996` error when I add variations.
 * Version 3.8.7.6.2 with gold cart.
    WordPress 3.5.1
 * How to resolve this problem?
 * [http://wordpress.org/plugins/wp-e-commerce/](http://wordpress.org/plugins/wp-e-commerce/)

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

 *  [Mihai Joldis](https://wordpress.org/support/users/misulicus/)
 * (@misulicus)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/variations-array-error/#post-4104420)
 * You need to upgrade your WPEC version.
    It has been resolved in new versions.
 * Regards
 *  Thread Starter [PPNSteve](https://wordpress.org/support/users/ppnsteve/)
 * (@ppnsteve)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/variations-array-error/#post-4104465)
 * OK
 * I’ve updated to the latest version (both WPEC and WP) and am now getting this
   error when editing variations on the products entry admin page:
    `Warning: implode()[
   function.implode]: Invalid arguments passed in /home/{USERNEAME}/public_html/
   wp-content/plugins/wp-e-commerce/wpsc-admin/includes/product-variation-list-table.
   class.php on line 208`
 * `208 $title = implode( ', ', $this->object_terms_cache[$item->ID] );`
 * Not sure what is happening here.
 *  [Mihai Joldis](https://wordpress.org/support/users/misulicus/)
 * (@misulicus)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/variations-array-error/#post-4104470)
 * Hey there,
    Check this git issue that i personally had and i think is similar
   to yours.
 * [https://github.com/wp-e-commerce/WP-e-Commerce/issues/146](https://github.com/wp-e-commerce/WP-e-Commerce/issues/146)
   
   Try diasbling all other plugins. Also if adding a new product that has variations,
   try to publish the product first without variations and then edit it and add 
   the variants.
 * See if that helps
 *  Thread Starter [PPNSteve](https://wordpress.org/support/users/ppnsteve/)
 * (@ppnsteve)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/variations-array-error/#post-4104471)
 * It seems that when adding new variations you need to run through the variations
   setup (setup tab) again on the add/edit product page.. Once I did that, they 
   started working.
 * I’m no going through all the existing entries in the store to fix them and will
   then try to add new products and see what happens with variations again then.

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

The topic ‘variations array error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-e-commerce_ebebeb.svg)
 * [WP eCommerce](https://wordpress.org/plugins/wp-e-commerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-e-commerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-e-commerce/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-e-commerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-e-commerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-e-commerce/reviews/)

## Tags

 * [array error](https://wordpress.org/support/topic-tag/array-error/)
 * [variations](https://wordpress.org/support/topic-tag/variations/)

 * 4 replies
 * 2 participants
 * Last reply from: [PPNSteve](https://wordpress.org/support/users/ppnsteve/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/variations-array-error/#post-4104471)
 * Status: not resolved