Problem/Motivation

Error: Call to undefined method Drupal\Core\File\FileSystem::uriScheme() in Drupal\file_view_access\FileViewAccessControlHandler->checkAccess() (line 25 of modules\Contrib\file_view_access\src\FileViewAccessControlHandler.php).

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

shalini_jha created an issue. See original summary.

shalini_jha’s picture

Title: Error: Call to undefined method Drupal\Core\File\FileSystem::uriScheme() in Drupal\file_view_access\FileViewAccessControlHandler->checkAccess() (line 25 of modules\Contrib\file_view_access-3401647\src\FileViewAccessControlHandler.php). » Error: Call to undefined method Drupal\Core\File\FileSystem::uriScheme() in Drupal\file_view_access\FileViewAccessControlHandler->checkAccess() (line 25 of modules\Contrib\file_view_access\src\FileViewAccessControlHandler.php).
Issue summary: View changes
shalini_jha’s picture

Assigned: shalini_jha » Unassigned
Status: Active » Needs review
StatusFileSize
new1.02 KB

I have fixed the issues and added a patch for this.
Thanks

arunkumark’s picture

Status: Needs review » Reviewed & tested by the community
StatusFileSize
new1.03 MB

The patch was applied successfully. The warning issue has been resolved now.

Apply patch

  • arunkumark committed 046e3245 on master
    Issue #3401738 by shalini_jha, arunkumark: Error: Call to undefined...
arunkumark’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.