The "imce_profile" entity type does not exist.

Created on 5 April 2023, over 1 year ago
Updated 15 May 2023, over 1 year ago

Problem/Motivation

I enabled the module (drush, followed by cr). Go to admin/config/content/formats and get WSOD with:

Drupal\Component\Plugin\Exception\PluginNotFoundException: The "imce_profile" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() (line 139 of core\lib\Drupal\Core\Entity\EntityTypeManager.php).

My guess is i need an IMCE profile first - but not a very graceful way to find out.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ’¬ Support request
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada liquidcms

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

Comments & Activities

  • Issue created by @liquidcms
  • πŸ‡¨πŸ‡¦Canada liquidcms

    ahh.. nope, entire site is wsod.

  • πŸ‡¨πŸ‡¦Canada liquidcms

    Tried with 8.x-2.5 as well. Same issue.

    larger trace of the error:

    Drupal\Component\Plugin\Exception\PluginNotFoundException: The "imce_profile" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() (line 139 of core\lib\Drupal\Core\Entity\EntityTypeManager.php).

    Drupal\content_translation\ContentTranslationManager->isSupported('imce_profile') (Line: 94)
    Drupal\content_translation\ContentTranslationManager->isEnabled('imce_profile', 'imce_profile') (Line: 470)
    content_translation_entity_extra_field_info()
    call_user_func_array(Object, Array) (Line: 426)
    Drupal\Core\Extension\ModuleHandler->Drupal\Core\Extension\{closure}(Object, 'content_translation') (Line: 405)
    Drupal\Core\Extension\ModuleHandler->invokeAllWith('entity_extra_field_info', Object) (Line: 433)
    Drupal\Core\Extension\ModuleHandler->invokeAll('entity_extra_field_info') (Line: 660)
    Drupal\Core\Entity\EntityFieldManager->getExtraFields('node', 'landing_page') (Line: 160)
    Drupal\Core\Entity\EntityDisplayBase->init() (Line: 143)
    Drupal\Core\Entity\EntityDisplayBase->__construct(Array, 'entity_view_display') (Line: 178)
    Drupal\Core\Entity\Entity\EntityViewDisplay->__construct(Array, 'entity_view_display') (Line: 48)
    Drupal\layout_builder\Entity\LayoutBuilderEntityViewDisplay->__construct(Array, 'entity_view_display') (Line: 452)
    Drupal\Core\Entity\EntityStorageBase->mapFromStorageRecords(Array) (Line: 41)
    Drupal\layout_builder\Entity\LayoutBuilderEntityViewDisplayStorage->mapFromStorageRecords(Array) (Line: 182)
    Drupal\Core\Config\Entity\ConfigEntityStorage->doLoadMultiple(Array) (Line: 346)
    Drupal\Core\Entity\EntityStorageBase->loadMultiple(Array) (Line: 118)
    Drupal\Core\Entity\Entity\EntityViewDisplay::collectRenderDisplays(Array, 'full') (Line: 281)
    Drupal\Core\Entity\EntityViewBuilder->buildMultiple(Array) (Line: 239)
    Drupal\Core\Entity\EntityViewBuilder->build(Array)
    call_user_func_array(Array, Array) (Line: 101)
    Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_render callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was %s. See https://www.drupal.org/node/2966725 β†’ ', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 772)
    Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 363)
    Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 201)
    Drupal\Core\Render\Renderer->render(Array, ) (Line: 241)
    Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 564)
    Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 242)
    Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 132)
    Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
    Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)

  • πŸ‡§πŸ‡·Brazil paulocs Belo Horizonte

    I was not able to reproduce your issue. I tested on Drupal 10 and Drupal 9. The profile are installed correctly.
    I'm using IMCE 3.0.7.
    I checked the files and they are correctly placed in the imce/config/install directory.

    For a quick-fix you can import the configs imce.profile.admin.yml and imce.profile.member.yml on admin/config/development/configuration/single/import.

  • πŸ‡§πŸ‡·Brazil thalles TeΓ³filo Otoni - MG

    Thanks @paulocs!

  • Status changed to Fixed over 1 year ago
  • πŸ‡§πŸ‡·Brazil thalles TeΓ³filo Otoni - MG
  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024