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
| Comment | File | Size | Author |
|---|
Issue fork patternkit-3406341
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
Comment #2
pravat231 commentedComment #3
pravat231 commentedComment #4
pravat231 commentedComment #7
pravat231 commentedComment #8
pravat231 commented