Call to undefined method Drupal\\images_optimizer\\Entity\\ImagesOptimizerImageStyle::getPipeline()

Created on 30 November 2023, 7 months ago
Updated 1 July 2024, 1 day ago

Problem/Motivation

When both Images Optimizer and Optimize Image modules are activated, accessing Image Styles configuration causes a WSOD.

Steps to reproduce

Activate both Images Optimizer and Optimize Image modules and go to /admin/config/media/image-styles

Proposed resolution

It looks like the two modules are not compatible and shouldn't be used together.

But at least imagepapi_optimize should check that ImageStyle entities are of the right type before acting on them, I will create an issue there.

Could images_optimizer allow to disable the handling of image styles so both modules could be used together without conflict? Will create a specific issue for that.

We are still interested in using the FileInsertHookHandler that imageapi_optimize doesn't seem to provide.

๐Ÿ› Bug report
Status

Closed: works as designed

Version

2.0

Component

Code

Created by

๐Ÿ‡ซ๐Ÿ‡ทFrance mably

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024