WSOD when enabeling automated_crop

Created on 14 June 2023, almost 2 years ago
Updated 13 September 2023, over 1 year ago

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

🐛 Bug report
Status

Fixed

Version

2.2

Component

Code

Created by

🇩🇪Germany joachim namyslo Kulmbach 🇩🇪 🇪🇺

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

Comments & Activities

Production build 0.71.5 2024