Support » Plugin: WP eCommerce » Warning Error array_key_exist

  • Resolved Celiaetclaire


    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Justin Sainton


    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.

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Warning Error array_key_exist’ is closed to new replies.