Problem/Motivation

TypeError: Argument 1 passed to Drupal\rokka\RokkaStreamWrapper::openReadStream() must be of the type array, int given, called in /app/docroot/modules/contrib/rokka/src/RokkaStreamWrapper.php on line 156 in Drupal\rokka\RokkaStreamWrapper->openReadStream() (line 209 of modules/contrib/rokka/src/RokkaStreamWrapper.php).

Steps to reproduce

Attempt to open image in Drupal.

Proposed resolution

Wrap the options in an array (they don't appear to be used in the method openReadStream in any case.

Remaining tasks

Merge request to follow.

User interface changes

None.

API changes

None.

Data model changes

None.

Issue fork rokka-3184563

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

tcrawford created an issue. See original summary.

grahl’s picture

Status: Active » Needs review

  • grahl committed a83e6eb on 2.x authored by tcrawford
    Issue #3184563 by tcrawford, grahl: TypeError on RokkaStreamWrapper
    
grahl’s picture

Status: Needs review » Fixed

Refactored patch to remove unused parameter.

Status: Fixed » Closed (fixed)

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