We have found an issue in this plugin when we try to add a function inside Moodle Webservices. I detail the issue:
New install Moodle 4.1.6+
Install mod_videotime 2023100900
Then, we go to Site Administration -> Server -> Externa Services and add a new External Service.
After create the new external service, we go to Functions to assign functions and we got a Exception:
Exception - Class "core_external\external_single_structure" not found
Stack trace:
line 513 of /mod/videotime/classes/videotime_instance.php: Error thrown
line 78 of /mod/videotime/classes/external/get_videotime.php: call to mod_videotime\videotime_instance::get_external_description()
line 130 of /lib/externallib.php: call to mod_videotime\external\external::get_videotime_returns()
line 199 of /admin/webservice/forms.php: call to external_api::external_function_info()
line 214 of /lib/formslib.php: call to external_service_functions_form->definition()
line 63 of /admin/webservice/service_functions.php: call to moodleform->__construct()
If we remove mod_videotime, the add function in Webservice works.
Hello!
We have found an issue in this plugin when we try to add a function inside Moodle Webservices. I detail the issue:
Then, we go to Site Administration -> Server -> Externa Services and add a new External Service.
After create the new external service, we go to Functions to assign functions and we got a Exception:
If we remove mod_videotime, the add function in Webservice works.
Regards!