gjb2048 / moodle-theme_shoehorn

Shoehorn theme for Moodle with the underlying Bootstrap v3 theme.
Other
3 stars 6 forks source link

Invalid get_string() identifier #20

Closed hartmut1s closed 8 years ago

hartmut1s commented 8 years ago

Hi Gareth,

When I installed Shoehorn version 3.0.1.1 (2015112408), I got the following debug message:

Invalid get_string() identifier: 'findcoursecontent' or component 'theme_essential'. Perhaps you are missing $string['findcoursecontent'] = ''; in /lang/en/theme_essential.php? line 349 of \lib\classes\string_manager_standard.php: call to debugging() line 6675 of \lib\moodlelib.php: call to core_string_manager_standard->get_string() line 76 of \theme\shoehorn\layout\default.php: call to get_string() line 1016 of \lib\outputrenderers.php: call to include() line 946 of \lib\outputrenderers.php: call to core_renderer->render_page_layout() line 164 of \my\index.php: call to core_renderer->header()

With kind regards, Hartmut

gjb2048 commented 8 years ago

Ops!

gjb2048 commented 8 years ago

Thanks for reporting Hartmut. Patch soon. If you want to change yours locally, change to 'theme_shoehorn' on line 76 of default.php then 'Purge all caches'. String is in the language file.

gjb2048 commented 8 years ago

Updated in: https://moodle.org/plugins/pluginversion.php?id=10857

Fixed in: https://github.com/gjb2048/moodle-theme_shoehorn/commit/ad26c994484430f541f8b7e7b4c0b8de0bf1234a