WordPress.org

Ready to get started?Download WordPress

Forums

WP eCommerce
[resolved] Please help . Warning messages appearing in my Checkout widget on the sidebar (2 posts)

  1. thelaughingbuddha
    Member
    Posted 1 year ago #

    I have been currently trying to configure my e commerce site. I was trying to set up pay pal with no real success. but when i visitd my site next i noticed 4 copies of this error in my sidebar
    Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /home/lukesmit/public_html/thelaughingbuddha420.com/wp-content/plugins/wp-e-commerce/wpsc-shipping/ups_20.php on line 620
    Thanks for any help

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

  2. Justin Sainton
    Member
    Plugin Author

    Posted 1 year ago #

    That code assumes that you've set your UPS settings already, which would be an array. If not, then yes, you'll get this error. What we can do to fix it is set the default option if none exists to be an empty array. But on your end, you can fix it by setting your settings.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic