General developer forum

Error in local plugin

 
Picture of Rajeev Kuth
Error in local plugin
 

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: -
Picture of Rajeev Kuth
Re: Error in local plugin
 

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

 
Average of ratings: -