Author Topic: Array Error  (Read 724 times)

BlueInkAlchemist

  • Newbie
  • *
  • Posts: 2
    • Blue Ink Alchemy
Array Error
« on: October 11, 2010, 12:48:01 PM »
Greetings!

I am using WordPress 3.0.1 and AVH Amazon 3.3.1; when I added the widget to my layout I was given the following error:

Code: [Select]
Warning: array_rand() [function.array-rand]: First argument has to be an array in /home/blueinka/public_html/wp-content/plugins/avh-amazon/2.8/avh-amazon.client.php on line 501
I entered the access key ID and secret key ID associated with my Amazon AWS account.  I've also tried the AWS Account ID (xxxx-xxxx-xxxx) and my email address for the associated ID (the first option in the Settings area).  The wishlist ID I'm using for testing is 2EEJ9VHVY7SZJ and I confirmed there are no trailing spaces.

Any help you can offer would be greatly appreciated.  Thanks in advance!

Peter

  • Administrator
  • Regular
  • *****
  • Posts: 439
    • http://blog.avirtualhome.com
Re: Array Error
« Reply #1 on: October 11, 2010, 03:31:39 PM »
Try clearing the cache in the tools section.
Peter van der Does
AVH Plugins developer

BlueInkAlchemist

  • Newbie
  • *
  • Posts: 2
    • Blue Ink Alchemy
Re: Array Error
« Reply #2 on: October 11, 2010, 04:52:22 PM »
That did the trick.  Thanks very much!