Problem/Motivation

When I am running drush image:flush --all. We are receiving below errors;

[warning] Undefined array key 2 LibraryStream.php:36
[warning] The following theme is missing from the file system: styles ExtensionPathResolver.php:63
[warning] The following theme is missing from the file system: styles ExtensionPathResolver.php:63
[warning] Array to string conversion LocalStream.php:122

I found web/modules/contrib/patternkit/src/StreamWrapper/LibraryStream.php file is causing this warning message. This below line of code is expecting the $uri should contain minimum two "/" however it received one "/" for which it's triggering these warning messages.

[$extension, $library, $type_level] = explode('/', $uri);

Steps to reproduce

Run drush image:flush --all in your Drupal setup

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Issue fork patternkit-3406341

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

pravat231 created an issue. See original summary.

pravat231’s picture

StatusFileSize
new1.14 KB
pravat231’s picture

pravat231’s picture

StatusFileSize
new1.14 KB

pravat231 changed the visibility of the branch 3406341-undefined-array-key to hidden.

pravat231 changed the visibility of the branch 3406341-undefined-array-key to active.

pravat231’s picture

StatusFileSize
new1.14 KB
pravat231’s picture

Status: Active » Closed (duplicate)