Warning: Invalid argument supplied for foreach() in.........

Phoca Gallery - image gallery extension
Neelufar
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 23 Jul 2011, 11:44

Warning: Invalid argument supplied for foreach() in.........

Post by Neelufar »

Hi, Phoca Gallery Installation went on well... :D

Unable to create categories....
In backend the error shown is

Warning: Invalid argument supplied for foreach() in /URL/administrator/components/com_phocagallery/models/phocagallerycs.php on line 126
:x
In frontend the error is

Warning: Invalid argument supplied for foreach() in /URL/components/com_phocagallery/models/categories.php on line 158
:x
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49190
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Warning: Invalid argument supplied for foreach() in.....

Post by Jan »

Hi, enable debug mode to get more detailed information from database.

Jan
If you find Phoca extensions useful, please support the project
Neelufar
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 23 Jul 2011, 11:44

Re: Warning: Invalid argument supplied for foreach() in.....

Post by Neelufar »

Went through this forum and tried it, that leads to 505 error...
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49190
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Warning: Invalid argument supplied for foreach() in.....

Post by Jan »

Hi, sorry I don't understand.

use the google search at the above.

Debug mode you can enable in Global Configuration in Joomla! administration.

Jan
If you find Phoca extensions useful, please support the project
Neelufar
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 23 Jul 2011, 11:44

Re: Warning: Invalid argument supplied for foreach() in.....

Post by Neelufar »

I mean to tel i changed the global configuration- debug on.....which results in 505 error

The problem is solved now....
I just uninstalled the old component & used the latest version 2.8.0....
But thanks for your support.... :D
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49190
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Warning: Invalid argument supplied for foreach() in.....

Post by Jan »

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