No thumbnails on main page

Hello,

I can't get any thumbnail photos to show up on the main page. (tonyfranchitto.com/phpAlbum) However, there is no problem with thumbnails showing up on each of the album pages. These are the messages in the error log when I try to refresh the main page:

Warning
08/02/16 23:03:51 array_slice(): The first argument should be an array
/nfs/cust/7/84/67/676487/web/phpAlbum/main.php (Line:980)
Warning
08/02/16 23:03:51 Invalid argument supplied for foreach()
/nfs/cust/7/84/67/676487/web/phpAlbum/main.php (Line:981)

Thank you.


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