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

Error while Student is viewing a linked Google drive file - Exception - Call to a member function is_writable() on null

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • 3.3, Future Dev
    • Repositories
    • None
    • MOODLE_33_STABLE

      I have used the new Google drive linked (controlled?) repository to link a file as a Teacher from my own Google drive, and then logged in as a student. and got the following error: "Exception - Call to a member function is_writable() on null" (https://prototype.moodle.net/office/mod/resource/view.php?id=47)

      See attached screen capture.

      Exception - Call to a member function is_writable() on null
      More information about this error
      Debug info: 
      Error code: generalexceptionmessage
      Stack trace:
      line 583 of /repository/googledocs/lib.php: Error thrown
      line 917 of /lib/filestorage/stored_file.php: call to repository_googledocs->send_file()
      line 2370 of /lib/filelib.php: call to stored_file->send_file()
      line 411 of /mod/resource/lib.php: call to send_stored_file()
      line 4636 of /lib/filelib.php: call to resource_pluginfile()
      line 37 of /pluginfile.php: call to file_pluginfile()
      

        1. snapshot151.png
          130 kB
          Nadav Kavalerchik

            Unassigned Unassigned
            nadavkav Nadav Kavalerchik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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