Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Component/s: moodle.org
    • Labels:
      None

      Description

      Sam, can you look at blocks/unanswered_discussions ... it's a non-standard block that needs some upgrading.

      get_record() not available anymore
      Debug info: error() is a deprecated function, please call print_error() instead of error()
      Stack trace:

      • line 792 of /lib/deprecatedlib.php: moodle_exception thrown
      • line 1774 of /lib/deprecatedlib.php: call to error()
      • line 187 of /blocks/unanswered_discussions/block_unanswered_discussions.php: call to get_record()
      • line 301 of /blocks/moodleblock.class.php: call to block_unanswered_discussions->get_content()
      • line 355 of /blocks/moodleblock.class.php: call to block_base->is_empty()
      • line 880 of /lib/blocklib.php: call to block_base->get_content_for_output()
      • line 932 of /lib/blocklib.php: call to block_manager->create_block_contents()
      • line 342 of /lib/blocklib.php: call to block_manager->ensure_content_created()
      • line 6 of /theme/moodleofficial/layout/general.php: call to block_manager->region_has_content()
      • line 622 of /lib/outputrenderers.php: call to include()
      • line 580 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
      • line 202 of /course/view.php: call to core_renderer->header()

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              samhemelryk Sam Hemelryk
              Reporter:
              dougiamas Martin Dougiamas
              Tester:
              Helen Foster
              Participants:
              Component watchers:
              Helen Foster
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: