Moodle 3.2 asked me to upgrade plugins and I did so, but then my web pages lost their style and I had to restore from backup.
I tried setting up a test site upgrading the live one to 3.3+ but the same error occurred - so I am now trying to diagnose it.
Turns out I am getting a 500 error on /theme/style.php. The link is http://wmtf-test.renaissancekingdoms.uk/theme/styles.php?theme=boost.
If I try http://wmtf-test.renaissancekingdoms.uk/theme/styles.php?theme=academi then I get a stack dump:
Debug info: Object of class theme_config could not be converted to string
- line 433 of /lib/setuplib.php: coding_exception thrown
- line 1422 of /lib/outputlib.php: call to default_error_handler()
- line 1257 of /lib/outputlib.php: call to theme_config->get_pre_scss_code()
- line 898 of /lib/outputlib.php: call to theme_config->get_css_content_from_scss()
- line 173 of /theme/styles.php: call to theme_config->get_css_content()
If I try this with e.g. clean then it works, so I am guessing that LESS-based themes work but SCSS-based themes are having problems.
I am stumped with this so any help is appreciated.
Thx.