Error with entity embed

Created on 26 November 2024, 29 days ago

Problem/Motivation

There is a problem with the entity embed module and I would also like to know if it could be an extra option in the formatter, for example image wrapper link svg or something like that

An AJAX HTTP error occurred.
HTTP Result Code: 500
Debugging information follows.
Path: /entity-embed/dialog/full_html/image_browser?_wrapper_format=drupal_modal&ajax_form=1
StatusText: error
ResponseText: The website encountered an unexpected error. Try again later.Drupal\Component\Plugin\Exception\PluginNotFoundException: The "" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() (line 142 of core/lib/Drupal/Core/Entity/EntityTypeManager.php). Drupal\Core\Entity\EntityFieldManager->buildBaseFieldDefinitions() (Line: 195)
Drupal\Core\Entity\EntityFieldManager->getBaseFieldDefinitions() (Line: 345)
Drupal\Core\Entity\EntityFieldManager->getFieldDefinitions() (Line: 143)
Drupal\enhanced_image_formatter\Plugin\Field\FieldFormatter\EnhancedImageFormatter->getLinkFields() (Line: 156)
Drupal\enhanced_image_formatter\Plugin\Field\FieldFormatter\EnhancedImageFormatter->getLinkFieldOptions() (Line: 101)
Drupal\enhanced_image_formatter\Plugin\Field\FieldFormatter\EnhancedImageFormatter->settingsForm() (Line: 160)
Drupal\entity_embed\EntityEmbedDisplay\FieldFormatterEntityEmbedDisplayBase->buildConfigurationForm() (Line: 46)
Drupal\entity_embed\Plugin\entity_embed\EntityEmbedDisplay\FileFieldFormatter->buildConfigurationForm() (Line: 116)
Drupal\entity_embed\Plugin\entity_embed\EntityEmbedDisplay\ImageFieldFormatter->buildConfigurationForm() (Line: 511)
Drupal\entity_embed\Form\EntityEmbedDialog->buildEmbedStep() (Line: 235)
Drupal\entity_embed\Form\EntityEmbedDialog->buildForm()
call_user_func_array() (Line: 536)
Drupal\Core\Form\FormBuilder->retrieveForm() (Line: 375)
Drupal\Core\Form\FormBuilder->rebuildForm() (Line: 738)
Drupal\entity_embed\Form\EntityEmbedDialog->submitSelectStep()
call_user_func_array() (Line: 69)
Drupal\Core\Form\FormAjaxResponseBuilder->buildResponse() (Line: 112)
Drupal\Core\Form\EventSubscriber\FormAjaxSubscriber->onException()
call_user_func() (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() (Line: 239)
Symfony\Component\HttpKernel\HttpKernel->handleThrowable() (Line: 91)
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: 32)
Drupal\big_pipe\StackMiddleware\ContentLength->handle() (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 741)
Drupal\Core\DrupalKernel->handle() (Line: 19)

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024