Invalid get_string() identifier: 'pluginname' or component

Invalid get_string() identifier: 'pluginname' or component

by Michael Mills -
Number of replies: 3
I have an authentication plugin that I wrote to integrate with my current system the plugin functions properly but always returns the error.  Also under the plugin list under Manage authentication it appears as pluginname.  What am I missing?  Attached is the auth.php file.
Average of ratings: -
In reply to Michael Mills

Re: Invalid get_string() identifier: 'pluginname' or component

by Michael Mills -
I guess noone else has any similiar issues.
In reply to Michael Mills

Re: Invalid get_string() identifier: 'pluginname' or component

by Javier Laguna -

Hi there,

I have the same message(Invalid get_string() identifier: 'modulename' or component 'mod_avcautoeval')

I really doesn't know what it could be but, at least in my case, I think it is something to do with the language packs.

We are talking about this in http://moodle.org/mod/forum/discuss.php?d=160865#p709631

bye!Javier

In reply to Javier Laguna

Re: Invalid get_string() identifier: 'pluginname' or component

by jai sankar -

Hi, This may be problem of moodle 2. This can be easily solved by changing lang/en_utf8 to lang/en on the respective module/plugin.

 

Also please change inside the lang folder file (ex. "moodle\blocks\gaccess\lang\en\block_gaccess.php").

Change all $string['blockname'] = TO $string['pluginname']

Average of ratings: Useful (1)