moodle-theme_elegance
moodle-theme_elegance copied to clipboard
Strict standards notice changing theme
Upgrade your moodle test site to last weekly release. Go to change the theme. Once you push the "Change theme" button in head/theme/index.php you get: Strict standards: Declaration of theme_elegance_core_renderer::user_menu() should be compatible with theme_bootstrap_core_renderer::user_menu($user = NULL, $withlinks = NULL) in /head/theme/elegance/renderers/core_renderer.php on line 0
To fix this simply change line102 of head/theme/elegance/renderers/core_renderer.php from public function user_menu() { to public function user_menu($user=NULL, $withlinks=NULL) {
Works like a charm.
Did you set
- Debug messages to DEVELOPER: extra Moodle debug messages for developers
- Display debug messages to Yes
in Home > Site administration > Development > Debugging?