Moodle error while working with XML-RPC API

Moodle error while working with XML-RPC API

by Evgeni Evgeni -
Number of replies: 0

Hi!

I use the php class in my project, which was taken from the site http://www.rumours.co.nz/manuals/using_moodle_web_services.htm


Creation of the user passes without errors, and here at record on a course of the user there is an error: 

string(842) "Moodle error: This entry cannot be found in the external_functions table of the database. | DEBUG INFO: SELECT * FROM {external_functions} WHERE name = ? [array ( 0 => 'core_user_get_users_by_id', )] | ERRORCODE: invalidrecord. Fault code: 23604497. Actual reply from server: faultCode23604497faultString This entry cannot be found in the external_functions table of the database. | DEBUG INFO: SELECT * FROM {external_functions} WHERE name = ? [array ( 0 => 'core_user_get_users_by_id', )] | ERRORCODE: invalidrecord"


I ask to prompt, who knows what the problem is. 

Thanks.


===

Parameters: 

version Moodle: 3.4+ (Build: 20171228)

PHP: 7.0

Average of ratings: -