trema-tech / moodle-theme_trema

Theme trema, a Moodle LMS plugin.
https://moodle.org/plugins/theme_trema
GNU General Public License v3.0
40 stars 20 forks source link

Moodle 4.3 invalid get_string identifiers: 'bodybackgroundcolor' and 'bodybackgroundcolor_desc' during installation #174

Closed michael-milette closed 8 months ago

michael-milette commented 8 months ago

During the installation of Trema (actually, an upgrade) and on most pages of the Moodle LMS site after that, I get the following errors:

image

Here is the text from the above screenshot:

Invalid get_string() identifier: 'bodybackgroundcolor' or component 'theme_trema'. Perhaps you are missing $string['bodybackgroundcolor'] = ''; in D:\xampp\htdocs\moodle403/theme/trema/lang/en/theme_trema.php?

Invalid get_string() identifier: 'bodybackgroundcolor_desc' or component 'theme_trema'. Perhaps you are missing $string['bodybackgroundcolor_desc'] = ''; in D:\xampp\htdocs\moodle403/theme/trema/lang/en/theme_trema.php?

As a result, the text is missing from the following new settings:

image

I am installing the latest main branch available here on GitHub from September 8, 2023.

Best regards,

Michael Milette

michael-milette commented 8 months ago

Not sure why this happened during the installation. I just purged the cache afterwards and it resolved the issue.