General developer forum

Warning: Invalid argument supplied for foreach()

 
Picture of Richard Oelmann
Re: Warning: Invalid argument supplied for foreach()
Core developersParticularly helpful MoodlersPlugin developersTesters

Which version of PHP7, Mary?

There are some things which appear to have changed about variable types (or maybe not changed but are more strictly enforced) in PHP7.2 over 7.0.

So far I've only upgraded dev sites rather than set up a new 3.6, and haven't updated to PHP7.2 yet, so I'm not saying that's the issue, just raising a possibility smile

 
Average of ratings: -