LMS Development Company – Expert Moodle Developers Forums MooWoodle Problem with courses sync and enroll user

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #23619
    athletis
    Participant

    The token test is all ok in WordPress, the courses sync show 2 course added but in the courses page there is only one and if I buy that course the user in moodle doesn’t add.
    The Moodle version is 4.5.3+ (Build: 20250404) (2024100703.06), WordPress version 6.8.1.

    In the moodle log appear the API called “The web service function ‘core_user_create_users’ has been called”, but it doesn’t appear (I set “Completed” the order in WooCommerce).

    Thanks for the support in advance!

    #23623
    Purnendu Dash
    Keymaster

    Hello @athletis,

    Thanks for get in touch with us. Sorry for the inconvenience caused.

    To debug this further we need the site url along with access details. So that we can check the same.

    We need,
    1. Site URL for both WordPress and Moodle Site.
    2. Admin access in both the site.
    3. FTP / cPanel access details.

    Kindly mark your reply private while sharing the access details.

    Waiting for your reply regarding the same.

    #23626
    athletis
    Participant

    Hi,
    I add some information about the problem with the users sync.
    This is the error
    [Fri May 02 15:54:06.609386 2025] [php:notice] [pid 2755532:tid 2755532] [client 172.29.XXX.XXX:35873] REST exception handler: \xc3\x88 stato rilevato un valore non valido di un parametro Debug: The field firstname cannot be blank\nError code: invalidparameter\n* line 157 of /user/externallib.php: core\\exception\\invalid_parameter_exception thrown\n* line 1507 of /webservice/lib.php: call to core_user_external::create_users()\n* line 1353 of /webservice/lib.php: call to webservice_base_server->execute()\n* line 44 of /webservice/rest/server.php: call to webservice_base_server->run()\n]

    The call send only the email because in the free version of your plugin is not possible to add other fields in the sync setup, but in Moodle the name and the surname fields are required.

    Do you have any suggest?

    #23637
    athletis
    Participant

    Hi, can you help me?

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.