I created a custom system role with user upload permissions. When I'm uploading users with CSV (comma delimited) file, getting an error at Upload users results in http://localhost:80/moodle/admin/tool/uploaduser/index.php
The error is as follows:
Notice: Undefined variable: rolecache in D:\ProgramFiles\xampp\htdocs\moodle\admin\tool\uploaduser\locallib.php on line 384
Can anyone suggest how to overcome this error. I get this error because I turned on the developers debugging mode in moodle.
User Role Presets used in my custom role is attached with this post.