Hi,
the following problem has come up in my Moodle installation:
_studentquiz_get_coursemodule_info(): Return value must be of type cached_cminfo, bool returned
The reason is that method "studentquiz_get_coursemodule_info()" in file lib.php returns "false", which is obviously not an instance of cached_cm_info.
My immediate solution was to change "return false;" to "return new cached_cm_info();", although I am not sure this really helps a lot (except make the error message go away).
Best regards,
Hi, the following problem has come up in my Moodle installation: _studentquiz_get_coursemodule_info(): Return value must be of type cached_cminfo, bool returned The reason is that method "studentquiz_get_coursemodule_info()" in file lib.php returns "false", which is obviously not an instance of cached_cm_info. My immediate solution was to change "return false;" to "return new cached_cm_info();", although I am not sure this really helps a lot (except make the error message go away). Best regards,
Guido