- Issue created by @blainelang
- π³π΅Nepal sujan shrestha Kathmanduπ³π΅, Nepal
Hi Blaine, thanks for the patch and fixes β I appreciate it!
Automatically closed - issue fixed for 2 weeks with no activity.
The following critical error occurring:
TypeError: Drupal\Core\Form\SubformState::createForSubform(): Argument #1 ($subform) must be of type array, null given, called in /var/www/html/web/modules/contrib/ck5_block_embed/src/Form/Ck5BlockEmbedDialogForm.php on line 187 in Drupal\Core\Form\SubformState::createForSubform() (line 60 of /var/www/html/web/core/lib/Drupal/Core/Form/SubformState.php).
Clicking on the CKEditor5 Block Embed tool, it opens the modal to select the type of block but never shows the subform to select a view block or other type of block from the selection.
Debugging the code Line 187 in Ck5BlockEmbedDialogForm, there is no $form['config']['plugin_config'] element, plugin_config is not defined in $form['config']
Attached is a patch that applied to version 1.0.2 and fixed the problem for me.
Active
1.0
Code
Hi Blaine, thanks for the patch and fixes β I appreciate it!
Automatically closed - issue fixed for 2 weeks with no activity.