Warning: Invalid argument supplied for foreach()
If you get this error it means that the “array” you’ve passed to the foreach loop is actually not an array. To check if a variable is an array use the is_array($var) function. But if your variable turns out to be an array, it means then that it is [...]


