See this discussion https://moodle.org/mod/forum/discuss.php?d=350419 on reinstalling a core plugin and follow Howard's advice there.
Enrolment
Restore enrol_self plugin
This discussion has been locked so you can no longer reply to it.