General developer forum

Warning: Invalid argument supplied for foreach()

 
Picture of Matteo Scaramuccia
Re: Warning: Invalid argument supplied for foreach()
Core developersParticularly helpful MoodlersPlugin developers

Hi Mary,
are you running a "custom" theme?

        // cascade all layouts properly
        foreach ($baseconfig->layouts as $layout=>$value) {
            if (!isset($this->layouts[$layout])) {

It looks like an issue with the configuration of the theme.

HTH,
Matteo

 
Average of ratings: -