OK, I looked in the plugin. That line says:
Code: Select all
foreach ($articleinfo as $article) {
I checked $articleinfo. I'm not quite certain how it's getting set, although at one point it does get set through amazon_fetch(). In any case, it winds up as part of the plugin's configuration. It should be saved across invocations.
It can be emptied, causing this error, if $info_asin doesn't match $config_asin. But $info_asin gets saved to $config_asin whenever you make changes, so the error shouldn't crop up more than once.
In short, it looks like there's a problem with amazon_fetch(), causing an empty $articleinfo array, causing the error "Invalid argument supplied for foreach()". That could very well be a network error, just like Garvin said.
You could try to change the ASIN you have configured in the plugin configuration. Even changing it to an arbitrary value, saving, and returning it to the original value should work.