Invalid argument for foreach()
- by johnny-kessel
Error I'm receiving Invalid argument supplied for foreach()
The offending portions is this:
foreach($subs[$id] as $id2 => $data2)
Strange cause I'm using the same construct elsewhere and it works fine.. I'm using it to generate sub-categories and it works but I want to get rid of the error
This is more context
foreach($parents as $id =>…