Invalid argument supplied foreach() Line 151

casmrl

Joined: 2003-10-30
Posts: 12
Posted: Thu, 2003-10-30 12:10

I am using Random_Photo.php with Gallery 1.3.4 It worked well for a longtime and then I am getting this:

Warning: Invalid argument supplied for foreach() in /home/dcasmr/public_html/blocks/block-Random_Photo.php on line 151

I followed the instructions by J-Mann and some others here, but I can still resolve this issue.

Is there any other Random_Photo that work great with Gallery?
Thanks,
casmrl