catalyst / moodle-mod_subcourse

Subcourse module for Moodle
https://moodle.org/plugins/mod_subcourse
GNU General Public License v3.0
25 stars 41 forks source link

PHP Warning: Invalid argument supplied for foreach() #54

Closed i-am-sheep closed 1 year ago

i-am-sheep commented 2 years ago

Hi I've been getting the following error message since I upgraded to the latest version of subcourse.

PHP Warning: Invalid argument supplied for foreach() in /var/www/vhosts/domain/mod/subcourse/locallib.php) on line 238

Moodle (Build: 20220912) although it was happening with the previous version too Subcourse 10.1 v. 2021021401 Ubuntu PHP v.7.4.3