-
Bug
-
Resolution: Fixed
-
Minor
-
3.4
-
Any
-
MOODLE_34_STABLE
-
MOODLE_33_STABLE, MOODLE_34_STABLE
-
MDL-60809-master -
Discovered while attempting to call the function core\hub\registration::unregister from a CLI script:
Default exception handler: Exception - Call to undefined function download_file_content() Debug:
|
Error code: generalexceptionmessage
|
* line 86 of /webservice/xmlrpc/lib.php: Error thrown
|
* line 95 of /lib/classes/hub/api.php: call to webservice_xmlrpc_client->call()
|
* line 72 of /lib/classes/hub/api.php: call to core\hub\api::call_xmlrpc()
|
* line 308 of /lib/classes/hub/api.php: call to core\hub\api::call()
|
* line 418 of /lib/classes/hub/registration.php: call to core\hub\api::unregister_site()
|
* line 13 of /local/moodlecloud/cli/pre-removal.php: call to core\hub\registration::unregister()
|
|
!!! Exception - Call to undefined function download_file_content() !!!
|
/webservice/xmlrpc/lib.php is missing require_once($CFG->libdir . '/filelib.php')