Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-39127

Fatal error caused by navbar renderer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 2.4.4, 2.5
    • 2.5
    • Navigation
    • MOODLE_25_STABLE
    • MOODLE_24_STABLE, MOODLE_25_STABLE
    • wip-MDL-39127-m25-integration
    • Hide
      1. Log in as a admin.
      2. Ensure $CFG->navshowcategories is enabled.
      3. Log in as a student.
      4. Browse to a course.
      5. Check the category path for the course is shown in the navbar.
      6. Log in as an admin and disable $CFG->navshowcategories.
      7. Log in as a student.
      8. Browse to the same course.
      9. Check that the category path is no longer shown.
      Show
      Log in as a admin. Ensure $CFG->navshowcategories is enabled. Log in as a student. Browse to a course. Check the category path for the course is shown in the navbar. Log in as an admin and disable $CFG->navshowcategories. Log in as a student. Browse to the same course. Check that the category path is no longer shown.

      When going to any course in the simple theme, I get this problem:

      Coding error detected, it must be fixed by a programmer: PHP catchable fatal error
      Debug info: Argument 1 passed to renderer_base::render() must implement interface renderable, instance of stdClass given, called in [dirroot]/theme/bootstrap/renderers/core.php on line 58 and defined
      Error code: codingerror
      Stack trace:
      line 406 of /lib/setuplib.php: coding_exception thrown
      line 98 of /lib/outputrenderers.php: call to default_error_handler()
      line 58 of /theme/bootstrap/renderers/core.php: call to renderer_base->render()
      line 122 of /theme/simple/layout/general.php: call to theme_bootstrap_core_renderer->navbar()
      line 841 of /lib/outputrenderers.php: call to include()
      line 771 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
      line 240 of /course/view.php: call to core_renderer->header()
      

      It seems one of the items returned == false.

            samhemelryk Sam Hemelryk
            poltawski Dan Poltawski
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            Frédéric Massart Frédéric Massart
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.