WP eCommerce
variations array error (5 posts)

  1. PPNSteve
    Posted 2 years ago #

    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 with gold cart.
    WordPress 3.5.1

    How to resolve this problem?


  2. Mihai
    Plugin Author

    Posted 2 years ago #

    You need to upgrade your WPEC version.
    It has been resolved in new versions.


  3. PPNSteve
    Posted 2 years ago #


    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.

  4. Mihai
    Plugin Author

    Posted 2 years ago #

    Hey there,
    Check this git issue that i personally had and i think is similar to yours.

    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

  5. PPNSteve
    Posted 2 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic