WordPress.org

Ready to get started?Download WordPress

Forums

WP eCommerce
variations array error (5 posts)

  1. PPNSteve
    Member
    Posted 10 months 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 3.8.7.6.2 with gold cart.
    WordPress 3.5.1

    How to resolve this problem?

    http://wordpress.org/plugins/wp-e-commerce/

  2. Mihai
    Member
    Plugin Author

    Posted 10 months ago #

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

    Regards

  3. PPNSteve
    Member
    Posted 10 months ago #

    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.

  4. Mihai
    Member
    Plugin Author

    Posted 10 months ago #

    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
    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
    Member
    Posted 10 months 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.

Reply

You must log in to post.

About this Plugin

About this Topic