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
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:
- 3184563-type-error-on-rokkastreamwrapper
changes, plain diff MR !6
- 2.x
changes, plain diff MR !5
Comments
Comment #4
grahlComment #6
grahlRefactored patch to remove unused parameter.