Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-56942

Call to undefined function core_login_get_return_url() in /lib/moodlelib.php on line 4441

XMLWordPrintable

    • MOODLE_31_STABLE
    • MOODLE_31_STABLE
    • MDL-56942-master
    • Hide
      1. Enable sign-up in the site via the e-mail auth plugin
      2. Create a new user account via the sign-up form (using an existing email account to retrieve the confirmation email)
      3. As admin, edit the user created in the previous step and tick the "Force change password" checkbox
      4. Open the new user account confirmation email link received by email
      5. You should be redirected to the change password page
      Show
      Enable sign-up in the site via the e-mail auth plugin Create a new user account via the sign-up form (using an existing email account to retrieve the confirmation email) As admin, edit the user created in the previous step and tick the "Force change password" checkbox Open the new user account confirmation email link received by email You should be redirected to the change password page

      While testing autologin in the Mobile app I got this error with a user that had forcechangepassword enabled:

      Call to undefined function core_login_get_return_url() in /lib/moodlelib.php on line 4441
      

      It only happened once, I wasn't able to reproduce it. I don't see any require to import login/lib.php in that file.

      Steps to reproduce:

      1. Enable sign-up in the site via the e-mail auth plugin
      2. Create a new user account via the sign-up form (using an existing email account to retrieve the confirmation email)
      3. As admin, edit the user created in the previous step and tick the "Force change password" checkbox
      4. Open the new user account confirmation email link received by email
      5. You should see that error

            jleyva Juan Leyva
            dpalou Dani Palou
            Simey Lameze Simey Lameze
            David Monllaó David Monllaó
            Mark Nelson Mark Nelson
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.