- changed status to resolved
Notice: Undefined property: stdClass:
With the new Version I receive in debug mode the following notice:
Notice: Undefined property: stdClass::$topmenuscount in /var/www/lms.alte-kanti-aarau.ch/moodle/theme/adaptable/settings/header_menus.php on line 89 Notice: Undefined property: stdClass::$toolsmenuscount in /var/www/lms.alte-kanti-aarau.ch/moodle/theme/adaptable/settings/header_navbar_menu.php on line 61 Notice: Undefined property: stdClass::$newstickercount in /var/www/lms.alte-kanti-aarau.ch/moodle/theme/adaptable/settings/frontpage_ticker.php on line 71 Notice: Undefined property: stdClass::$slidercount in /var/www/lms.alte-kanti-aarau.ch/moodle/theme/adaptable/settings/frontpage_slider.php on line 177 Notice: Undefined property: stdClass::$alertcount in /var/www/lms.alte-kanti-aarau.ch/moodle/theme/adaptable/settings/alert_box.php on line 74 Notice: Undefined property: stdClass::$analyticscount in /var/www/lms.alte-kanti-aarau.ch/moodle/theme/adaptable/settings/analytics.php on line 62
Comments (7)
-
-
- changed status to invalid
-
- removed responsible
- marked as trivial
-
I have the same problem. Lots of un-initialized variables depending on where you are on the Moodle site.
For example, I get the following notices on the Moodle Notification page as well as the Theme Selector and Theme Settings page (and probably others):
Notice: Undefined property: stdClass::$topmenuscount in /var/www/moodle/adaptable/settings/header_menus.php on line 89
Notice: Undefined property: stdClass::$toolsmenuscount in /var/www/moodle/adaptable/settings/header_navbar_menu.php on line 61
Notice: Undefined property: stdClass::$newstickercount in /var/www/moodle/adaptable/settings/frontpage_ticker.php on line 71
Notice: Undefined property: stdClass::$slidercount in /var/www/moodle/adaptable/settings/frontpage_slider.php on line 177
Notice: Undefined property: stdClass::$alertcount in/var /www/moodle/adaptable/settings/alert_box.php on line 74
Notice: Undefined property: stdClass::$analyticscount in /var/www/moodle/adaptable/settings/analytics.php on line 62
I have debugging turned on and the "Clean" theme activated on the latest Moodle 3.1.2+. I have not activated the Adaptable Moodle theme yet. This is a that plain vanilla installation of Moodle that I just installed today.
Let me know if you need any additional information.
Best regards,
Michael
-
- changed status to open
Revert partially https://bitbucket.org/covuni/moodle-theme_adaptable/commits/b5247215a054 to avoid this moodle issue
-
- changed status to resolved
fix
#516→ <<cset 1aeb59db236b>>
-
Issue
#510was marked as a duplicate of this issue. - Log in to comment
Please, post your questions in the moodle forum.