Jump to content


Photo

Warning: Invalid argument supplied for foreach() in


This is a fresh install of IP.Board 3.3.1 and IP.Gallery 4.2.1 and I'm not sure if it's a bug or me screwing up a setting. I only see this when visiting the gallery as a guest. Logged in as admin or my user login the error is gone and for guests the error go away when clicking on a gallery.

Error:

http://forum.andover...ub.com/gallery/

I created a global album "archery" with 6 images and there error is gone when clicking on the album - No error:

http://forum.andover...lbum/2-archery/


Warning: Invalid argument supplied for foreach() in /home/*/public_html/forum/admin/applications_addon/ips/gallery/modules_public/albums/home.php on line 153

Warning: Cannot modify header information - headers already sent by (output started at /home/andoverc/public_html/forum/admin/applications_addon/ips/gallery/modules_public/albums/home.php:153) in/home/*/public_html/forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 114

Warning: Cannot modify header information - headers already sent by (output started at /home/andoverc/public_html/forum/admin/applications_addon/ips/gallery/modules_public/albums/home.php:153) in/home/*/public_html/forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 127

Warning: Cannot modify header information - headers already sent by (output started at /home/andoverc/public_html/forum/admin/applications_addon/ips/gallery/modules_public/albums/home.php:153) in/home/*/public_html/forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 136

Warning: Cannot modify header information - headers already sent by (output started at /home/andoverc/public_html/forum/admin/applications_addon/ips/gallery/modules_public/albums/home.php:153) in/home/*/public_html/forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 137

Warning: Cannot modify header information - headers already sent by (output started at /home/andoverc/public_html/forum/admin/applications_addon/ips/gallery/modules_public/albums/home.php:153) in/home/*/public_html/forum/admin/sources/classes/output/formats/html/htmlOutput.php on line 141

Status: Duplicate
Version: 4.2.1
Fixed In:


5 Comments

Would be nice if you linked to "Duplicate" since I searched for the error with no result...

Since it's a duplicate, is the issue confirmed? Is there a solution or workaround?
Might be caused by the same hook as in http://community.inv...ed-for-foreach/
thank you sunrisecc, that looks similar except that their issue was in a hook and this is a clean install with a gallery module so I'm still wondering where the "Duplicate" is that "teraßyte" is indicating.
I review load of bugs every day so posting a link to each original report every time I mark a duplicate is not feasible unfortunately, I'd rather spend my time fixing more bugs than go search for the original issues ;)

Anyway this is the original report which I've already fixed for 4.2.2: http://community.inv...hp-on-line-155/ :)
Thank you, I appreciate the link and your time fixing the bugs... I'm looking forward to the 4.2.2 release (and I'll be more patient next time) :)