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

  1. thelaughingbuddha
    Posted 2 years 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


  2. Justin Sainton
    Plugin Author

    Posted 2 years 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

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

About this Topic