• Resolved ferjsz

    (@ferjsz)


    Hi!

    when I try to link a user to a moodle account from the users list, the server crashes because of a infinite loop. I checked the user.log from eb-logs:

    02-14-2017 @ 13:38:16 – Checking if username exists….
    02-14-2017 @ 13:38:16 – Checking if username exists….
    02-14-2017 @ 13:38:16 – Checking if username exists….
    02-14-2017 @ 13:38:16 – Checking if username exists….
    02-14-2017 @ 13:38:16 – Checking if username exists….
    02-14-2017 @ 13:38:16 – Checking if username exists….
    02-14-2017 @ 13:38:16 – Checking if username exists….

    It seems that is a problem with this loop in class-eb-manager.php (function createMoodleUser):

    // we will check if the username is vailable on moodle before creating a user
    while (!$this->isMoodleUsernameAvailable($user_data[‘username’])) {
    $user_data[‘username’] = $o_username.$append;
    ++$append;
    }
    Moodle version is 3.2.
    Any ideas?

    Thanks,
    Fernando

Viewing 1 replies (of 1 total)
  • Plugin Author WisdmLabs

    (@wisdmlabs)

    Hi Fernando,

    This is an issue that pops up when the user who purchases a course from WordPress enters his/her username in capital letters.

    In Moodle, the username letters cannot be in uppercase.

    We will be coming out with a fix in the next update of Edwiser Bridge.

    Regards,
    WisdmLabs Team

Viewing 1 replies (of 1 total)
  • The topic ‘Error link account’ is closed to new replies.