I was using Moodle Lms 4.5 to create a class but when I tried to add my own enrol plugin it is not showing up in the enrollment methods list and it shows this error.
Capability "enrol/inverse:config" was not found! This has to be fixed in code.
- line 458 of /lib/accesslib.php: call to debugging()
- line 142 of /enrol/inverse/lib.php: call to has_capability()
- line 282 of /enrol/instances.php: call to enrol_inverse_plugin->can_add_instance()