Incompatibility with remote_stream_wrapper module

Created on 7 February 2017, almost 8 years ago
Updated 17 June 2024, 6 months ago

Hi,

after installing the module and try to administer image styles (admin/config/media/image-styles), I receive a server 500 error, logfile:
2017/02/07 11:27:41 [error] 3434#0: *27073 FastCGI sent in stderr: "PHP message: PHP Fatal error: Call to undefined method Drupal\remote_stream_wrapper\Entity\ImageStyle::getPipeline() in /var/www/drupal/modules/imageapi_optimize/src/ImageStyleWithPipelineListBuilder.php on line 31" while reading response header from upstream, client: 10.15.87.31, server: www.example.com, request: "GET /drupal/admin/config/media/image-styles HTTP/1.0", upstream: "fastcgi://127.0.0.1:9000", host: "www.example.com", referrer: "https://www.exemplae.com/drupal/admin/config/media"

When I try to uninstall the module using drush 8 (drush pmu imageapi_optimize), I receive the following error:

Error: Call to undefined method Drupal\remote_stream_wrapper\Entity\ImageStyle::hasPipeline() in /var/www/drupal/modules/imageapi_optimize/src/Entity/ImageAPIOptimizePipeline.php, line 152

To finally uninstall the module, I had to empty the libraries first (devel -> delete variables), then delete the libraries. After this I was able to uninstall the module via Drupal UI.

In between I tried to re-add image pipes, but when I tried to add a processor to a pipe, I received a 500 error as well. Error log:
2017/02/07 10:44:49 [error] 3436#0: *26334 FastCGI sent in stderr: "PHP message: PHP Fatal error: Call to undefined method Drupal\remote_stream_wrapper\Entity\ImageStyle::hasPipeline() in /var/www/drupal/modules/imageapi_optimize/src/Entity/ImageAPIOptimizePipeline.php on line 152" while reading response header from upstream, client: XX.XX.XX.XX, server: example.com, request: "POST /drupal/admin/config/media/imageapi-optimize-pipelines/manage/local_libraries HTTP/1.0", upstream: "fastcgi://127.0.0.1:9000", host: "www.example.com", referrer: "https://www.example.com/drupal/admin/config/media/imageapi-optimize-pipelines/manage/local_libraries"

At least, after uninstalling the module like described above, I can manage the image styles (admin/config/media/image-styles) again, but I would like to use resmush.it.

System:
Drupal 8.2.6
Nginx
PHP5-FPM

Can some help make the moldule run and not make it crush image styles ?

Thanks!

🐛 Bug report
Status

Needs work

Version

2.0

Component

Miscellaneous

Created by

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

Merge Requests

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.71.5 2024