Error when adding paragraph to Ckeditor via embed button

Created on 15 October 2025, 9 days ago

Problem/Motivation

I have this error when I' m using embed button with entity browser that has paragraph form as widget and the display is Iframe. I didn't have the same issue with drupal 10.

Error: Call to a member function getTypeSetting() on null in Drupal\paragraphs_inline_entity_form\Plugin\EntityBrowser\Widget\ParagraphEntityForm->entitySelectorForm() (line 121 of modules/contrib/paragraphs_inline_entity_form/src/Plugin/EntityBrowser/Widget/ParagraphEntityForm.php).
Drupal\paragraphs_inline_entity_form\Plugin\EntityBrowser\Widget\ParagraphEntityForm->getForm() (Line: 177)
Drupal\entity_browser\Form\EntityBrowserForm->buildForm()
call_user_func_array() (Line: 528)
Drupal\Core\Form\FormBuilder->retrieveForm() (Line: 279)
Drupal\Core\Form\FormBuilder->buildForm() (Line: 73)
Drupal\Core\Controller\FormController->getContentResult()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 627)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 121)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 183)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 53)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 116)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 90)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 53)
Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 715)
Drupal\Core\DrupalKernel->handle() (Line: 19)

Steps to reproduce

1.Install Drupal 11.2.5 with the latest versions of:

  • paragraphs_inline_entity_form
  • entity_browser

2.Create a Paragraph type if not already present.

3.Create an Entity Browser:

  • Add a widget paragraph_entity_form.
  • Display: iframe

3.Add an Embed Button to a CKEditor text format: Make sure it points to the Entity Browser created above.

4.Go to a content type that uses this text format and open the editor.

5.Click the Embed Button to insert a paragraph.

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇬🇷Greece sofitsim

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024