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

Exceção - Object of class stored_file could not be converted to string

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 4.4, 4.5
    • Other
    • None
    • MOODLE_404_STABLE, MOODLE_405_STABLE

      Whenever the error_log method is called, an exception occurs because $file is an object rather than a string.

      error_log('Non-empty default output handler buffer detected while serving the file ' . $file);

      https://github.com/moodle/moodle/blob/main/lib/filelib.php#L2324

       


       

            Unassigned Unassigned
            eduardokraus Eduardo Kraus
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

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