by Peter Rundqvist.
Hi,
When I try to add a new WS function to an existing WS i get the following error:
from the log file:
[11-Aug-2021 11:41:59 Europe/Stockholm] PHP Notice: External function parameters: invalid OPTIONAL value specified.<ul style="text-align: left" data-rel="backtrace"><li>line 729 of \lib\externallib.php: call to debugging()</li><li>line 41 of \filter\oembed\classes\webservice\ws_providers.php: call to external_function_parameters->__construct()</li><li>line 122 of \lib\externallib.php: call to filter_oembed\webservice\ws_providers::service_parameters()</li><li>line 199 of \admin\webservice\forms.php: call to external_api::external_function_info()</li><li>line 214 of \lib\formslib.php: call to external_service_functions_form->definition()</li><li>line 60 of \admin\webservice\service_functions.php: call to moodleform->__construct()</li></ul> in C:\inetpub\moodle\lib\weblib.php on line 3257
[11-Aug-2021 11:41:59 Europe/Stockholm] Default exception handler: Detta är ett kodningsfel, det måste åtgärdas av en programmerare: Cannot find file /externallib.php with external function implementation Debug:
Error code: codingerror
* line 87 of \lib\externallib.php: coding_exception thrown
* 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 60 of \admin\webservice\service_functions.php: call to moodleform->__construct()
I have recently upgraded Moodle from 3.10.0 to Moodle 3.11.1+
Does anyone have an idea why I get thiss error?
Kind regards,
Peter