Problem/Motivation

As soon as you enable automated crop, the error

error 'PHP message: Uncaught PHP Exception TypeError: "Drupal\\Component\\EventDispatcher\\ContainerAwareEventDispatcher::dispatch(): Argument #1 ($event) must be of type object, string given, called in /var/www/drupal/web/modules/contrib/drimage/src/Form/DrimageSettingsForm.php on line 166" at /var/www/drupal/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php line 89', referer: http://localhost/admin/config/media/imageapi-optimize-pipelines

occures

Steps to reproduce

  1. Install Drupal core 10.x
  2. Install drimage 2.2.0
  3. Install image_widget_crop 8.x-2.4

open /admin/config/media/drimage

everything works fine

  1. Install automated_crop 3.0.1

open /admin/config/media/drimage, again.

Error from above gets written to your server's error logs.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

Joachim Namyslo created an issue. See original summary.

  • weseze committed 3f084d5c on 2.x
    Issue #3366817 by weseze: WSOD when enabeling automated_crop
    
weseze’s picture

Thanks for reporting the issue!
It has been fixed, a new release is coming.

joachim namyslo’s picture

Issue summary: View changes
weseze’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.