Page 1 of 1

Warning: Invalid argument supplied for foreach() JoomFish

Posted: 15 Sep 2010, 20:10
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

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

Posted: 15 Sep 2010, 22:18
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: :(

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

Posted: 16 Sep 2010, 16:03
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

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

Posted: 16 Sep 2010, 16:19
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

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

Posted: 16 Sep 2010, 17:21
by Jan
Ok (not sure if this is a cache problem :-( )


Jan