Random Block and PostNuke 7.13

starteck2002

Joined: 2002-08-23
Posts: 2
Posted: Fri, 2002-08-23 09:24

I have just installed a Gallery random block and get the following error:

Warning: Invalid argument supplied for foreach() in /home/virtual/site33/fst/var/www/html/modules/gallery/session.php on line 55

My Gallery works fine, the block works fine - i just get this annoying arror. Does anyone know a fix for this?

 
dmolavi
dmolavi's picture

Joined: 2002-12-05
Posts: 573
Posted: Fri, 2002-12-06 13:43

if you have PHP 4.0.6 or greater, change $HTTP_SESSION_VARS to just $_SESSION.
fixed it for me :smile: