You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Encountered this issue in Totara 12.
Changed lib/classes/check/manager.php line 82 from $check->component = $plugintype . '_' . $plugin;
to $check->set_component($plugintype . '_' . $plugin);
Full stack trace:
Exception - Cannot access protected property tool_heartbeat\check\rangerequestcheck::$component
Debug info:
Error code: generalexceptionmessage
Stack trace:
line 82 of /lib/classes/check/manager.php: Error thrown
line 56 of /lib/classes/check/manager.php: call to core\check\manager::get_performance_checks()
line 72 of /lib/classes/check/table.php: call to core\check\manager::get_checks()
line 35 of /report/performance/index.php: call to core\check\table->__construct()
The check API is moodle is using the correct set_component method - so this bug is unlikely due to check api or heartbeat and just with a specific backport of the check api to totara.
Exception - Cannot access protected property tool_heartbeat\check\rangerequestcheck::$component
The text was updated successfully, but these errors were encountered: