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

Exception Too few arguments to function repository Moodle 3.2.2 Php 7.1.2

XMLWordPrintable

    • MOODLE_32_STABLE
    • MOODLE_31_STABLE, MOODLE_32_STABLE
    • MDL-58372-master
    • Hide
      Prerequisites.
      1. Setup a WebDAV repository.
      Test 1
      1. In a course, add a new file resource.
      2. In the filepicker, start selecting a file by navigating to a WebDAV repository instance and choosing a file
      3. In the "Select ***" dialog you can set the fields as you like, this does not have an impact.
      4. Press "Select this file"
      5. Verify that no exception is raised (neither shown as a popup nor on console)
      6. Verify that the uploaded file is shown in the file chooser.
      Show
      Prerequisites. Setup a WebDAV repository. Test 1 In a course, add a new file resource. In the filepicker, start selecting a file by navigating to a WebDAV repository instance and choosing a file In the "Select ***" dialog you can set the fields as you like, this does not have an impact. Press "Select this file" Verify that no exception is raised (neither shown as a popup nor on console) Verify that the uploaded file is shown in the file chooser.

      We now have version 3.2.2+ of Moodle and 7.1.2 of PHP but since we upgraded the PHP server from version 5.4 to version 7.1.2, we can no longer use our OwnCloud application via the webdav Repositorie. Here is the error message:

      Exception : Too few arguments to function repository::prepare_file(), 0 passed in [dirroot]/repository/webdav/lib.php on line 75 and exactly 1 expected

      See https://youtu.be/dfx6wM-gu2k

            jan.dagefoerde Jan Dageförde
            jalam gabriel jalam
            Ankit Agarwal Ankit Agarwal
            David Monllaó David Monllaó
            Mark Nelson Mark Nelson
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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