Exception - Class '\availability_role\condition' not found

Exception - Class '\availability_role\condition' not found

by Wani Joseph -
Number of replies: 0

After upgrade to moodle 3.11+ latest version, when I visit the course page it gives this error, I have cleared the cache, but still, the error exists.

Stack trace:

  • line 792 of /availability/classes/info.php: Error thrown
  • line 162 of /course/classes/output/activity_information.php: call to core_availability\info::completion_value_used()
  • line 79 of /course/classes/output/activity_information.php: call to core_course\output\activity_information->build_completion_data()
  • line 2230 of /course/renderer.php: call to core_course\output\activity_information->export_for_template()
  • line 464 of /lib/outputrenderers.php: call to core_course_renderer->render_activity_information()
  • line 921 of /lib/outputrenderers.php: call to plugin_renderer_base->render()
  • line 961 of /course/renderer.php: call to core_renderer->activity_information()
  • line 836 of /course/renderer.php: call to core_course_renderer->course_section_cm()
  • line 1051 of /course/renderer.php: call to core_course_renderer->course_section_cm_list_item()
  • line 859 of /course/format/renderer.php: call to core_course_renderer->course_section_cm_list()
  • line 49 of /course/format/weeks/format.php: call to format_section_renderer_base->print_multiple_section_page()
  • line 278 of /course/view.php: call to require()

Average of ratings: -