Closed (fixed)
Project:
Amazon associate tools
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
19 May 2006 at 07:31 UTC
Updated:
29 May 2006 at 02:27 UTC
I received the following errors when I tried to add ASIN# B000EVXKZM:
# warning: Invalid argument supplied for foreach() in /home/.doublestuff/luperry/luperry.com/modules/amazontools/amazon.php5.inc on line 112.
# warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/.doublestuff/luperry/luperry.com/modules/amazontools/amazon.php5.inc on line 211.while it's fine with other items. This item should be valid, the product link is here: http://www.amazon.co.jp/exec/obidos/ASIN/B000EVXKZM/249-4138944-9372310
My locale is set to JP.
I'm not sure if it's a problem with Amazon or this module.
Comments
Comment #1
Prometheus6 commentedLook around line 110 for the _amazon_editorialreviews_to_array() function. Make sure it looks like this:
Comment #2
luperry commentedYep, that's exactly what I have.
Comment #3
solipsist commentedI get the foreach error as well when using the "amazon item import" but it seems to work anyway except the terms don't get associated.
Comment #4
Prometheus6 commentedI would explain the error but it's stupid.
Okay, it's become too easy for me to edit my sites remotely. I fixed this problem on my live sites and forgot to update CVS. You should be good now with a fresh download.
Comment #5
luperry commentedOK. the problem is gone.
thanks.
Comment #6
Prometheus6 commented