Steps to reproduce
Create an image style using the Automated Crop plugin
Error get:
TypeError: Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher::dispatch(): Argument #1 ($event) must be of type object, string given, called in /Users/rosemary/Sites/iknew-drupal/web/modules/contrib/automated_crop/src/Plugin/ImageEffect/AutomatedCropEffect.php on line 268 in Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() (line 89 of core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php).
Temporary workaround is to use the Manual Crop plugin (which essentially does the same thing) and make sure to use and set the Automated Crop provider
Issue fork automated_crop-3398069
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
rosemaryreilmanComment #5
josh.fabeanI ran into this same issue, I looked at how other projects patched this issue for d10 and made the same changes. Here is one sample of another project patching the same issue: https://git.drupalcode.org/project/layout_builder_perms/-/merge_requests...
Comment #6
jrochate commentedThanks @josh.fabean.
Same here, the patch solved it.
Comment #8
rosemaryreilmanThanks so much for the patch for this!
It has been a crazy couple of weeks for me. Merging the PR in and made a release 3.0.2
Comment #9
rosemaryreilman