TypeError on RokkaStreamWrapper

Created on 24 November 2020, over 3 years ago
Updated 18 March 2024, 3 months ago

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.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡¨πŸ‡­Switzerland tcrawford

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024