Quantcast
Channel: Web services
Viewing all articles
Browse latest Browse all 2364

Re: error when adding external functions to a web service.

$
0
0
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');
}


Viewing all articles
Browse latest Browse all 2364

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>