I was trying to add a local web service plugin. I am getting below error. Any idea how to fix it? I am using moodle 3.5. Is it that moodle no longer supports local plugins?
Plugin "exzasvc" is installed in incorrect location "$CFG->dirroot/local/exzasvc", expected location is "$CFG->dirroot/mod/exzasvc"
Changed the $plugin->component = 'local_exzasvc' in version.php. It was $plugin->component = 'exzasvc', adding a 'local_' fixed the problem