Upload Users not sending notification for new users Moodle 2.7

Upload Users not sending notification for new users Moodle 2.7

by Major Dads -
Number of replies: 4

Hi, i am having a problem with my upload users in moodle. All users are uploaded ok, but the email is not sent to them notifying that a new account has been created with their user name and password.

When i run the cron i get this error:

Creating passwords for new users...

Notice: Undefined property: stdClass::$auth in /var/www/html/moodle/lib/moodlelib.php on line 4731
... used 2 dbqueries
... used 0.0029590129852295 seconds
Scheduled task failed: Send new user passwords,Authentication plugin {$a} not found.

I would really appreciate some help with this error. Thank you
Average of ratings: Useful (1)
In reply to Major Dads

Re: Upload Users not sending notification for new users Moodle 2.7

by Rosario Carcò -

>>Authentication plugin {$a} not found

What type of authentication plugin did you specify in your user csv file? Might be, you misspelled something there or the column is missing or malformed.

Rosario

In reply to Rosario Carcò

Re: Upload Users not sending notification for new users Moodle 2.7

by Major Dads -
Thanks for your response.

I didn't specify a authentication method in the csv file so it chose manual as default. However if i manually add a user, a password is generated and sent to the user. But when i use upload users, its not sending the password.  I tried the  same csv on another instance of moodle and the generated password was sent.

I'm confused as to why i am getting this error.
In reply to Major Dads

Re: Upload Users not sending notification for new users Moodle 2.7

by Rosario Carcò -

Ok, is this other instance of Moodle the very very same version and build number? Can you specify the versions and build numbers of both?

You might send me your csv-file by email, so that I can try to upload it on my test-servers (going from 2.3 to 2.6. - I have no 2.7 yet, as this needs a higher php-version). But you should alter the eMail-Addresses to something like x.y@test.com, so as to avoid your users being sent real mails, unless you are using some test-accounts in which case we could leave them as is, so that you will be able to get my eMails with the passwords for real.

Rosario

In reply to Rosario Carcò

Re: Upload Users not sending notification for new users Moodle 2.7

by Aaron Leggett -

Hey guys,

We have come across the same issue with our Moodle 2.7 sites.

Scheduled task failed: Send new user passwords,Authentication plugin {$a} not found.

It seems there is also a Moodle Bug Tracker MDL-46589. We are going to apply the bug fix manually until Moodle release the official fix. Will post back here when we know if it worked or not.