Forums | Mahara Community
Support
/
Error sync_users.php
02 November 2020, 22:28
Hi,
I have a problema when we apply: php sync_users.php -i='uvicprova' -f=employeeType=PDI
I attach de logs errors picture.
Tell me something as soon as possible please.
Thaks.
06 November 2020, 22:28
Hi Robert,
Days after my post and I don't have any answer.
I need an urgent answer to resolve this.
Tell me something please.
Thanks.
10 November 2020, 10:15
Hi Joan,
Sorry for the late reply - I've taken a look at this and from the error you pasted it looks like the issue is a user being synced doesn't seem to have an email address to check against - see the line where it mentions get_record() and the third parameter is 'null'
I've made a patch so that it should handle this problem better
https://reviews.mahara.org/#/c/11424/
Feel free to try it out
Cheers
Robert
27 November 2020, 12:07
Hi Joan,
Just following up on the above issue. Can you confirm whether this patch: https://reviews.mahara.org/#/c/11424/ fixes the issue?
Thank you,
Lisa