WordPress.org

Ready to get started?Download WordPress

Forums

WP eCommerce
[resolved] Warning Error array_key_exist (3 posts)

  1. Celiaetclaire
    Member
    Posted 1 year ago #

    I just install the plugin WP e-commerce, and i can't create product and other things, because of one message "Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /homez.666/brevelas/www/wp-content/plugins/wp-e-commerce/wpsc-shipping/ups_20.php on line 620"

    I don't understand the problem ...

    Thanks to help

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

  2. Justin Sainton
    Member
    Plugin Author

    Posted 1 year ago #

    That line is checking if a key exists in the UPS configuration array.

    Go to your UPS settings and save them and see if the error still occurs.

  3. Fourth Man
    Member
    Posted 1 year ago #

    I've only been working with WordPress a few days and I had the same problem when testing my shopping cart. I couldn't go to the Shipping tab because the error wouldn't allow the page to load. The way I "fixed" it was I clicked on the shipping tab, copied the url and opened it in another browser. I logged in and it loaded the shipping page. Not sure why it worked but it did. I was then able to turn off UPS and that stopped the error. I also found next to the shipping choices of UPS, USPS and Australia that "edit" shows up when you mouse-over, when you click it the settings appear on the right and you can select "Use Testing Environment" or "Use Testing Server". Until you have all the set up complete. Not sure what will happen if I turn it back on now but at least I can finish setting up the site and I'll cross that bridge when I get to it. I only had 3 items in the system so far and was just messing with it so hopefully once all the shipping is set up and items are real I won't have any errors. So, that's what worked for me, hope it helps someone.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic