You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
the following problem has come up in my Moodle installation: studentquiz_get_coursemodule_info(): Return value must be of type cached_cm_info, 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
The text was updated successfully, but these errors were encountered:
Hi,
the following problem has come up in my Moodle installation:
studentquiz_get_coursemodule_info(): Return value must be of type cached_cm_info, 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
The text was updated successfully, but these errors were encountered: