I am also having this problem, I guess this is very common, If you try searching on google (excluding “”): “Warning: Invalid argument supplied foreach() in /inc/amazon-product-in-a-post-shortcodes.php on line 224” a lot of sites will show up. I have tried switching to curl and momentarily fixed the problem but it randomly reappears for a time then disappears again. Help anyone? 🙂