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

Add more info for error from course_delete_module

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Waiting for peer review
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.9.6, 3.10.3, 3.11, 4.0
    • Fix Version/s: None
    • Component/s: Course, Tasks

      Description

      I'm getting this error

      Adhoc task failed: core_course\task\course_delete_modules,Coding error detected, it must be fixed by a programmer: The course module 8117819 could not be deleted. #0 /var/www/site/lib/filestorage/file_storage.php(928): file_storage->create_file_from_storedfile(Array, Object(stored_file))

      But I can't see what error was thrown in the function `create_file_from_storedfile`.

      I want to have what kind of error, which file, and which line caused the error.

        Attachments

          Activity

            People

            Assignee:
            tomotsuyuki Tomo Tsuyuki
            Reporter:
            tomotsuyuki Tomo Tsuyuki
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona), Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: