Invalid argument supplied for foreach()

piri314

Member
Hi,

I have this problem

Warning: Invalid argument supplied for foreach() in /home.10.2/euromedih/www/components/com_fabrik/fabrik_table.class.php on line 2239

Can you resolve it ?

Thanks,
Pirina
 
We've been trying to track this one down for months. It only happens on certain installs, and so far has never shown up on either Rob or my text servers, so it's pretty hard to track.

Did this just recently start happening to you? If so, did you make any changes, like upgrading Fabrik, or PHP version (you may need to check with your host to see if they updated PHP), likewise MySQL?

I'll give it another go at tracking down, but it's proving to be a tough one.

What version of PHP are you running, BTW?

-- hugh
 
Can you also tell me exactly what you are doing when it does that? Is it when you display any table, or only when you are filtering a table, etc.

I've put some defensive code in to prevent that warning message being thrown, but this doesn't address the underlying issue of WHY the _groups array is not being populated by the getFormGroups() function.

So the band-aid is in SVN.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top