Error in local plugin

Error in local plugin

by Rajeev Kuth -
Number of replies: 1

Hi,

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"

- Thanks,

Average of ratings: -
In reply to Rajeev Kuth

Re: Error in local plugin

by Rajeev Kuth -

Changed the $plugin->component = 'local_exzasvc' in version.php. It was $plugin->component = 'exzasvc', adding a 'local_' fixed the problem