Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-5108

block_configurable_reports: Argument 1 passed to html_writer::table() must be an instance of html_table

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.5.6, 2.6.3, 2.7
    • Fix Version/s: None
    • Labels:
      None
    • Plugin Version:
      2011040105
    • Affected Branches:
      MOODLE_25_STABLE, MOODLE_26_STABLE, MOODLE_27_STABLE

      Description

      111 $calcs = new stdclass;

      Line 111 in 'blocks/configurable_reports/reports/sql/report.class.php'
      causes the following exception:

      Argument 1 passed to html_writer::table() must be an instance of
      html_table, instance of stdClass given, called in
      [dirroot]/blocks/configurable_reports/report.class.php on line 681

      line 422 of /lib/setuplib.php: coding_exception thrown
      line 25 of /local/ns_errdedup.php: call to default_error_handler()
      line 1415 of /lib/outputcomponents.php: call to
      ns_error_dedup::handler()
      line 681 of /blocks/configurable_reports/report.class.php: call to
      html_writer::table()
      line 98 of /blocks/configurable_reports/viewreport.php: call to
      report_base->print_report_page()

        Attachments

          Activity

            People

            Assignee:
            netspot_dbezborodov Damien Bezborodov
            Reporter:
            netspot_dbezborodov Damien Bezborodov
            Participants:
            Component watchers:
            Juan Leyva, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: