bmbrands / moodle-theme_elegance

This is the new official elegance repository
http://basbrands.nl
23 stars 12 forks source link

Strict standards notice changing theme #86

Open kordan opened 9 years ago

kordan commented 9 years ago

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) {

richardschwarz commented 9 years ago

Works like a charm.

kordan commented 9 years ago

Did you set

in Home > Site administration > Development > Debugging?