Warning: Invalid argument supplied for foreach() in
Submitted AndoverClub, May 07 2012 09:15 PM | Last updated May 07 2012 09:15 PM
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
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
Since it's a duplicate, is the issue confirmed? Is there a solution or workaround?
Anyway this is the original report which I've already fixed for 4.2.2: http://community.inv...hp-on-line-155/