Error with Random Image Module

Phoca Gallery modules - modules for Phoca Gallery extension
Kayletta
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 09 Nov 2008, 21:49

Error with Random Image Module

Post by Kayletta »

I am using version 2.1 for both the component and module with Joomla 1.5.7.

I am getting a frontend error:
Warning: Invalid argument supplied for foreach() in /home/content/t/h/e/thefang/html/joomla/modules/mod_phocagallery_random_image/mod_phocagallery_random_image.php on line 361


Any ideas?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error with Random Image Module

Post by Jan »

Hi, try to download and udpate the module now... the error should be fixed, so now you should not get such error, but I think you don't get any image in the module, because, images array should be empty if this error is appearing, maybe the categery doesn't exists or there is no image in the category...

Try it with fixed module and let me know (the module has the same version 2.1.0)

Jan
If you find Phoca extensions useful, please support the project
Kayletta
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 09 Nov 2008, 21:49

Re: Error with Random Image Module

Post by Kayletta »

It worked wonderfully :) Thank you very much!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48386
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error with Random Image Module

Post by Jan »

Great to hear it...

Jan
If you find Phoca extensions useful, please support the project
Post Reply