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

Issue when creating users via web service call

$
0
0
by Carlos Chiarella.  

Hi,

We are having issues when creating users using the function: core_user_create_users

Sometimes the users are not being created. The Apache Error log table has this message:

[Thu May 09 06:25:06.379645 2019] [php7:notice] [pid 29417] [client 162.158.78.234:49134] Potential coding error - active database transaction detected during request shutdown:\n*
line 155 of /user/externallib.php: call to moodle_database->start_delegated_transaction()\n*
line 269 of /webservice/lib.php(1487) : eval()'d code: call to core_user_external::create_users()\n*
line ? of unknownfile: call to webservices_virtual_class_000000->core_user_create_users()\n*
line 201 of /webservice/soap/locallib.php: call to SoapServer->handle()\n* line 148 of /webservice/soap/locallib.php: call to webservice_soap_server->handle()\n*
line 43 of /webservice/soap/server.php: call to webservice_soap_server->run()\n

We are running Moodle version 3.5.3 and PHP version 7.1


Does anybody have any suggestions on how to fix this issue?


Thanks for your help,


Carlos




Viewing all articles
Browse latest Browse all 2363

Trending Articles



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