Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-4890

Invalid get_string() identifier

XMLWordPrintable

    • 0.5
    • MOODLE_26_STABLE

      Thank you for recently updating your plugin to make it compatible with Moodle 2.6. I was finally able to give it a try.

      When I run it with debug mode set to developer, errors similar to the following, for this and other plugins, appear on the screen:

      Invalid get_string() identifier: 'simplecertificate:addinstance' or component 'mod_simplecertificate'. Perhaps you are missing $string['simplecertificate:addinstance'] = ''; in mod/simplecertificate/lang/en/simplecertificate.php?
      line 293 of /lib/classes/string_manager_standard.php: call to debugging()
      line 6838 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
      line 2955 of /lib/accesslib.php: call to get_string()
      line 2813 of /lib/accesslib.php: call to get_capability_string()
      line 105 of /admin/roles/classes/capability_table_base.php: call to get_capability_docs_link()
      line 202 of /report/rolescapabilities/index.php: call to core_role_capability_table_base->display()

      Invalid get_string() identifier: 'simplecertificate:manage' or component 'mod_simplecertificate'. Perhaps you are missing $string['simplecertificate:manage'] = ''; in mod/simplecertificate/lang/en/simplecertificate.php?
      line 293 of /lib/classes/string_manager_standard.php: call to debugging()
      line 6838 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
      line 2955 of /lib/accesslib.php: call to get_string()
      line 2813 of /lib/accesslib.php: call to get_capability_string()
      line 105 of /admin/roles/classes/capability_table_base.php: call to get_capability_docs_link()
      line 202 of /report/rolescapabilities/index.php: call to core_role_capability_table_base->display()

      Invalid get_string() identifier: 'simplecertificate:view' or component 'mod_simplecertificate'. Perhaps you are missing $string['simplecertificate:view'] = ''; in mod/simplecertificate/lang/en/simplecertificate.php?
      line 293 of /lib/classes/string_manager_standard.php: call to debugging()
      line 6838 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
      line 2955 of /lib/accesslib.php: call to get_string()
      line 2813 of /lib/accesslib.php: call to get_capability_string()
      line 105 of /admin/roles/classes/capability_table_base.php: call to get_capability_docs_link()
      line 202 of /report/rolescapabilities/index.php: call to core_role_capability_table_base->display()

      Is this a bug with your plugin or is there something I need to tell developers of these plugins that they need to do? If I need to request a change for this and other plugins, please let me know what message I need to tell them so that this can be fixed.

      Best regards,

      Michael Milette

            danielneis Daniel Neis Araujo
            michael-milette Michael Milette
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.