Warnings on line 981 and 982 in Main.php

Project:phpAlbum.net
Version:0.4.1-14_fix06
Component:Code
Category:bug
Priority:normal
Assigned:Unassigned
Status:new
Description

I can read these warnings from the log file.
--
Warning
array_slice() expects parameter 1 to be array, null given
/www/album/main.php (Line:981)
Warning
Invalid argument supplied for foreach()
/www/album/main.php (Line:982)
--

How can I eliminate these errors?

Best regards from Norway

Updates

#1 submitted by pollisoft on Fri, 2011-01-28 08:45

I have the exact same issue.


style="display:inline-block;width:468px;height:60px"
data-ad-client="ca-pub-8698264690166658"
data-ad-slot="4417389723">