Hi, I have been using the phocagallery component with the phocagallery plugin without problems. Now I am having a problem with the plugin when i try to display images from Facebook Fan Page. on the front end it displays the error: "Warning: Invalid argument supplied for foreach().." yes it displays the Facebook images but images from other categories that are non-Facebook are not shown. Kindly help.
I am using Joomla 2.5 with the up to date version of phocagallery component and plugin.
Thank you.
Warning: Invalid argument supplied for foreach()
-
- Phoca Newbie
- Posts: 2
- Joined: 29 Jul 2013, 12:24
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Warning: Invalid argument supplied for foreach()
Hi, enable debug mode, seems like there is some database problem while loading the data from database
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 2
- Joined: 29 Jul 2013, 12:24
Re: Warning: Invalid argument supplied for foreach()
Hi, i've enabled the debug mode in htacces and the error reporting under global configuration is set to system default, still the same error.
so i tried another thing...in the phocagallery component i unpublished all images contained in the fanpage category then one by one published them, no errors until i publish the 46th image. could it be the sizes of the fanpage images are too big? or is there a limit to the number of facebook images that can be displayed?
so i tried another thing...in the phocagallery component i unpublished all images contained in the fanpage category then one by one published them, no errors until i publish the 46th image. could it be the sizes of the fanpage images are too big? or is there a limit to the number of facebook images that can be displayed?
- Jan
- Phoca Hero
- Posts: 48386
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Warning: Invalid argument supplied for foreach()
Hmm, yes, maybe this can be a memory issue, but 46 images - this should not be any problem, try to see some errorLog on the server etc., because without getting specific error message, it is hard to say what exactly is the problem
Jan
Jan
If you find Phoca extensions useful, please support the project