Essential theme - Undefined property: stdClass::$numsections

Essential theme - Undefined property: stdClass::$numsections

by heli g -
Number of replies: 1

PHP Notice filling up php error log:

PHP Notice:  Undefined property: stdClass::$numsections in theme/essential/classes/core_course_renderer.php on line 338

Is this something I should be worried about?

(Just upgraded and moved to new hardware so I'm feeling particularly anxious at the moment...)

Essential: 3.3.1.2 (Build: 2017040306)

Moodle 3.3.4+

Average of ratings: -
In reply to heli g

Re: Essential theme - Undefined property: stdClass::$numsections

by Gareth J Barnard -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers

Hi Heli,

Thanks for the bug report, it is a bug and I'll work on a fix.  It is related to the 'Course content search' so you can prevent the notice from happening by disabling that functionality by unticking the 'coursecontentsearch' setting (just search for that as an admin).

Ref: https://github.com/gjb2048/moodle-theme_essential/issues/856.

Gareth