-
Bug
-
Resolution: Fixed
-
Major
-
4.2
-
MOODLE_402_STABLE
-
MOODLE_402_STABLE
-
See MDL-76760 where we already fixed this one, however it seems MDL-76583 mistakenly added the same lines back again which leads to the following error on the WS API page, if vendor/ directory isn't present:
Exception - Failed opening required '[dirroot]/vendor/autoload.php' (include_path='[dirroot]/lib/pear:.:/usr/share/php')
|
|
More information about this error
|
Debug info:
|
Error code: generalexceptionmessage
|
Stack trace:
|
|
line 37 of /admin/tool/behat/classes/external/get_entity_generator.php: Error thrown
|
line 145 of /lib/classes/component.php: call to include_once()
|
line ? of unknownfile: call to core_component::classloader()
|
line 61 of /lib/external/classes/external_api.php: call to class_exists()
|
line 39 of /admin/webservice/documentation.php: call to core_external\external_api::external_function_info()
|
|
Output buffer: <br /> <b>Warning</b>: require_once(/opt/moodle/master/src/vendor/autoload.php): Failed to open stream: No such file or directory in <b>/opt/moodle/master/src/admin/tool/behat/classes/external/get_entity_generator.php</b> on line <b>37</b><br />
|