- Issue created by @kishan@lnwebworks
Getting error when adding clone block
TypeError: Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher::dispatch(): Argument #1 ($event) must be of type object, string given, called in D:\laragon\www\drupal10\web\modules\contrib\layout_builder_block_clone\src\Form\CloneLayoutBlockForm.php on line 314 in Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() (line 89 of D:\laragon\www\drupal10\web\core\lib\Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher.php).
1. Install the Layout builder, Layout Builder Block Clone module, and entity clone module.
2. Enable the layout builder in your content type.
3. Create a new block in the layout builder.
4. Click clone block
5. Saving the block will produce an error.
This error is only produced when the entity clone module is used with the Layout Builder Block Clone module
Active
1.3
Code