by Artur Welp.
This is one of the most difficult error to debug in my opinion.
The code now, fully stop the execution. I think this should not be a fatal error.
In a emergency, you can add a return before moodle throw a error.
In the file /lib/externallib.php line 87.
if (!file_exists($function->classpath)) {
return;
throw new coding_exception('Cannot find file with external function implementation');
}