|
I'm getting an error saying "Invalid argument supplied for foreach()" |
|
|
|
|
Written by jasperd
|
|
Thursday, 07 August 2008 11:04 |
Hmmm… well, we haven’t totally figured it out why this is happening. The funny thing is that as far as we know this is uccurring randomly… so one moment the plugin seems to work the next moment it’s resulting in this error message like:
Warning: Invalid argument supplied for foreach() in /www /plugins/content/flickrslideshows.php on line 141
That makes us believe that the plugin is doing it’s work sort of correctly. It shouldn’t display this error message and mess up your whole website. That’s why we’ll try to fix this in one of the next versions.
But back to the cause of this error. It probably is out of our reach. Either the PHPflickr library cannot make a connection to the flickr api or the flickr api is malfunctioning itself. We don’t know at this moment, but we’ll probably dig into it at some point. ;-)
|