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

Error when trying to export logs from site

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 3.8 regressions
    • Fix Version/s: None
    • Component/s: Reports
    • Labels:
      None

      Description

      If you try to export logs from site (only from site) for CSV or XLSx an error will be showed:

      Output can not be buffered before instantiating table_dataformat_export_format.

      Moodle 3.8+ (Build: 20191220)

      The debug shows:

      Stack trace:
      line 1771 of /lib/tablelib.php: coding_exception thrown
      line 194 of /lib/tablelib.php: call to table_dataformat_export_format->__construct()
      line 178 of /lib/tablelib.php: call to flexible_table->export_class_instance()
      line 516 of /report/log/classes/renderable.php: call to flexible_table->is_downloading()
      line 182 of /report/log/index.php: call to report_log_renderable->download()

       

       

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            Ferreira Suzana Ferreira
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: