Call to undefined method ExternalEntityStorage::getTableMapping() in ExternalEntityField::clickSort()

Created on 14 July 2025, about 1 month ago

Problem/Motivation

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.0

Component

Views

Created by

🇮🇳India kalpanajaiswal

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

Comments & Activities

  • Issue created by @kalpanajaiswal
  • 🇮🇳India kalpanajaiswal

    Error: Call to undefined method Drupal\external_entities\ExternalEntityStorage::getTableMapping() in Drupal\xntt_views\Plugin\views\field\ExternalEntityField->getTableMapping() (line 672 of /var/www/html/modules/contrib/external_entities/modules/xntt_views/src/Plugin/views/field/ExternalEntityField.php).

    Issue Trace:

    #0 /var/www/html/modules/contrib/external_entities/modules/xntt_views/src/Plugin/views/field/ExternalEntityField.php(130): Drupal\xntt_views\Plugin\views\field\ExternalEntityField->getTableMapping()
    #1 /var/www/html/core/modules/views/src/Plugin/views/style/Table.php(146): Drupal\xntt_views\Plugin\views\field\ExternalEntityField->clickSort()
    #2 /var/www/html/core/modules/views/src/ViewExecutable.php(1353): Drupal\views\Plugin\views\style\Table->buildSortPost()
    #3 /var/www/html/core/modules/views/src/ViewExecutable.php(1452): Drupal\views\ViewExecutable->build()
    #4 /var/www/html/core/modules/views/src/ViewExecutable.php(1516): Drupal\views\ViewExecutable->execute()
    #5 /var/www/html/core/modules/views/src/Plugin/views/display/DisplayPluginBase.php(2504): Drupal\views\ViewExecutable->render()
    #6 /var/www/html/core/modules/views/src/ViewExecutable.php(1724): Drupal\views\Plugin\views\display\DisplayPluginBase->preview()
    #7 /var/www/html/core/modules/views_ui/src/ViewUI.php(627): Drupal\views\ViewExecutable->preview()
    #8 /var/www/html/core/modules/views_ui/src/ViewPreviewForm.php(63): Drupal\views_ui\ViewUI->renderPreview()
    #9 /var/www/html/core/lib/Drupal/Core/Entity/EntityForm.php(107): Drupal\views_ui\ViewPreviewForm->form()
    #10 /var/www/html/core/modules/views_ui/src/ViewFormBase.php(42): Drupal\Core\Entity\EntityForm->buildForm()
    #11 [internal function]: Drupal\views_ui\ViewFormBase->buildForm()
    #12 /var/www/html/core/lib/Drupal/Core/Form/FormBuilder.php(528): call_user_func_array()
    #13 /var/www/html/core/lib/Drupal/Core/Form/FormBuilder.php(370): Drupal\Core\Form\FormBuilder->retrieveForm()
    #14 /var/www/html/core/lib/Drupal/Core/Form/FormBuilder.php(625): Drupal\Core\Form\FormBuilder->rebuildForm()
    #15 /var/www/html/core/lib/Drupal/Core/Form/FormBuilder.php(321): Drupal\Core\Form\FormBuilder->processForm()
    #16 /var/www/html/core/lib/Drupal/Core/Controller/FormController.php(73): Drupal\Core\Form\FormBuilder->buildForm()
    #17 [internal function]: Drupal\Core\Controller\FormController->getContentResult()
    #18 /var/www/html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array()
    #19 /var/www/html/core/lib/Drupal/Core/Render/Renderer.php(633): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
    #20 [internal function]: Drupal\Core\Render\Renderer::Drupal\Core\Render\{closure}()
    #21 /var/www/html/core/lib/Drupal/Core/Render/Renderer.php(634): Fiber->start()
    #22 /var/www/html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(121): Drupal\Core\Render\Renderer->executeInRenderContext()
    #23 /var/www/html/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext()
    #24 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(183): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
    #25 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
    #26 /var/www/html/core/lib/Drupal/Core/StackMiddleware/Session.php(53): Symfony\Component\HttpKernel\HttpKernel->handle()
    #27 /var/www/html/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
    #28 /var/www/html/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
    #29 /var/www/html/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle()
    #30 /var/www/html/core/modules/page_cache/src/StackMiddleware/PageCache.php(116): Drupal\big_pipe\StackMiddleware\ContentLength->handle()
    #31 /var/www/html/core/modules/page_cache/src/StackMiddleware/PageCache.php(90): Drupal\page_cache\StackMiddleware\PageCache->pass()
    #32 /var/www/html/vendor/asm89/stack-cors/src/Cors.php(53): Drupal\page_cache\StackMiddleware\PageCache->handle()
    #33 /var/www/html/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Asm89\Stack\Cors->handle()
    #34 /var/www/html/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
    #35 /var/www/html/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(53): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
    #36 /var/www/html/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle()
    #37 /var/www/html/core/lib/Drupal/Core/DrupalKernel.php(715): Drupal\Core\StackMiddleware\StackedHttpKernel->handle()
    #38 /var/www/html/index.php(19): Drupal\Core\DrupalKernel->handle()
    #39 {main}

Production build 0.71.5 2024