Warning: Invalid argument supplied for foreach() JoomFish

Phoca Gallery - image gallery extension
margae
Phoca Member
Phoca Member
Posts: 19
Joined: 15 Sep 2010, 19:58

Warning: Invalid argument supplied for foreach() JoomFish

Post by margae »

Just installed the latest Phoca/Joomfish XML files so I would be able to translate the metatags, but since then I get the following error in the backend:

Code: Select all

Warning: Invalid argument supplied for foreach() in C:\domains\infofaience.com\wwwroot\administrator\components\com_joomfish\contentelements\translationSectionFilter.php on line 67
I can still do the translations, but I get a bit nervous seeing this error all the time.

Already checked other topics on this subject, but couldn't find the solution:

Also checked locally, but there I don't get the error; at least the database is similar.

Any suggestions?

Thanks.
Marga
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Warning: Invalid argument supplied for foreach() JoomFis

Post by Jan »

Hi, did you check the Joom!fish forum too. No idea what can be wrong there :idea: Something with loading sections but what exactly :idea: :(
If you find Phoca extensions useful, please support the project
margae
Phoca Member
Phoca Member
Posts: 19
Joined: 15 Sep 2010, 19:58

Re: Warning: Invalid argument supplied for foreach() JoomFis

Post by margae »

I've checked the JoomFish forum too, but haven't been able to find the solution. Someone suggested that there would be a "section" field in one of the Phoca XML files for JoomFish, but I can't find it.

Any suggestions where to look for it?

Marga
margae
Phoca Member
Phoca Member
Posts: 19
Joined: 15 Sep 2010, 19:58

Re: Warning: Invalid argument supplied for foreach() JoomFis

Post by margae »

Problem solved!
I left the old XML files, renamed to .XML_SAV in the /com_joomfish/contentelements folder, and somehow Joomla kept reading these files (don't know how, but it did).
So, after I removed the files from the /contentelements/ folder, everything worked ok.

Could it have been a cache problem? Well. at least the problem is gone.

Marga
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Warning: Invalid argument supplied for foreach() JoomFis

Post by Jan »

Ok (not sure if this is a cache problem :-( )


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