Entity query passes null somewhere

Created on 6 February 2024, 11 months ago
Updated 7 February 2024, 11 months ago

Problem/Motivation

When index the entities with solr, the following error occurs.

Deprecated function: mb_strtolower(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\Core\Config\Entity\Query\Condition->compile() (line 39 of /var/www/html/boehler/core/lib/Drupal/Core/Config/Entity/Query/Condition.php)

#0 /var/www/html/boehler/core/includes/bootstrap.inc(164): _drupal_error_handler_real()
#1 [internal function]: _drupal_error_handler()
#2 /var/www/html/boehler/core/lib/Drupal/Core/Config/Entity/Query/Condition.php(39): mb_strtolower()
#3 /var/www/html/boehler/core/lib/Drupal/Core/Config/Entity/Query/Query.php(85): Drupal\Core\Config\Entity\Query\Condition->compile()
#4 /var/www/html/boehler/modules/contrib/external_entities/external_entities.module(238): Drupal\Core\Config\Entity\Query\Query->execute()
#5 /var/www/html/boehler/core/lib/Drupal/Core/Extension/ModuleHandler.php(545): external_entities_entity_bundle_field_info_alter()
#6 /var/www/html/boehler/core/lib/Drupal/Core/Entity/EntityFieldManager.php(442): Drupal\Core\Extension\ModuleHandler->alter()
#7 /var/www/html/boehler/core/lib/Drupal/Core/Entity/EntityFieldManager.php(353): Drupal\Core\Entity\EntityFieldManager->buildBundleFieldDefinitions()
#8 /var/www/html/boehler/modules/contrib/wisski/wisski_core/src/WisskiEntityViewsData.php(272): Drupal\Core\Entity\EntityFieldManager->getFieldDefinitions()
#9 /var/www/html/boehler/core/modules/views/views.views.inc(180): Drupal\wisski_core\WisskiEntityViewsData->getViewsData()
#10 /var/www/html/boehler/core/modules/views/src/ViewsData.php(228): views_views_data()
#11 /var/www/html/boehler/core/lib/Drupal/Core/Extension/ModuleHandler.php(388): Drupal\views\ViewsData->Drupal\views\{closure}()
#12 /var/www/html/boehler/core/modules/views/src/ViewsData.php(236): Drupal\Core\Extension\ModuleHandler->invokeAllWith()
#13 /var/www/html/boehler/core/modules/views/src/ViewsData.php(151): Drupal\views\ViewsData->getData()
#14 /var/www/html/boehler/modules/contrib/ds/src/Plugin/Derivative/DsEntityRow.php(93): Drupal\views\ViewsData->get()
#15 /var/www/html/boehler/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php(101): Drupal\ds\Plugin\Derivative\DsEntityRow->getDerivativeDefinitions()
#16 /var/www/html/boehler/core/lib/Drupal/Component/Plugin/Discovery/DerivativeDiscoveryDecorator.php(87): Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDerivatives()
#17 /var/www/html/boehler/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php(323): Drupal\Component\Plugin\Discovery\DerivativeDiscoveryDecorator->getDefinitions()
#18 /var/www/html/boehler/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php(205): Drupal\Core\Plugin\DefaultPluginManager->findDefinitions()
#19 /var/www/html/boehler/core/modules/views/views.module(146): Drupal\Core\Plugin\DefaultPluginManager->getDefinitions()
#20 /var/www/html/boehler/core/lib/Drupal/Core/Theme/Registry.php(479): views_theme()
#21 /var/www/html/boehler/core/lib/Drupal/Core/Theme/Registry.php(372): Drupal\Core\Theme\Registry->processExtension()
#22 /var/www/html/boehler/core/lib/Drupal/Core/Extension/ModuleHandler.php(388): Drupal\Core\Theme\Registry->Drupal\Core\Theme\{closure}()
#23 /var/www/html/boehler/core/lib/Drupal/Core/Theme/Registry.php(373): Drupal\Core\Extension\ModuleHandler->invokeAllWith()
#24 /var/www/html/boehler/core/lib/Drupal/Core/Theme/Registry.php(255): Drupal\Core\Theme\Registry->build()
#25 /var/www/html/boehler/core/lib/Drupal/Core/Utility/ThemeRegistry.php(88): Drupal\Core\Theme\Registry->get()
#26 /var/www/html/boehler/core/lib/Drupal/Core/Utility/ThemeRegistry.php(69): Drupal\Core\Utility\ThemeRegistry->initializeRegistry()
#27 /var/www/html/boehler/core/lib/Drupal/Core/Theme/Registry.php(291): Drupal\Core\Utility\ThemeRegistry->__construct()
#28 /var/www/html/boehler/core/lib/Drupal/Core/Theme/ThemeManager.php(141): Drupal\Core\Theme\Registry->getRuntime()
#29 /var/www/html/boehler/core/lib/Drupal/Core/Render/Renderer.php(480): Drupal\Core\Theme\ThemeManager->render()
#30 /var/www/html/boehler/core/lib/Drupal/Core/Render/Renderer.php(240): Drupal\Core\Render\Renderer->doRender()
#31 /var/www/html/boehler/core/lib/Drupal/Core/Render/Renderer.php(153): Drupal\Core\Render\Renderer->render()
#32 /var/www/html/boehler/core/lib/Drupal/Core/Render/Renderer.php(627): Drupal\Core\Render\Renderer->Drupal\Core\Render\{closure}()
#33 /var/www/html/boehler/core/lib/Drupal/Core/Render/Renderer.php(154): Drupal\Core\Render\Renderer->executeInRenderContext()
#34 /var/www/html/boehler/core/lib/Drupal/Core/Render/BareHtmlPageRenderer.php(66): Drupal\Core\Render\Renderer->renderRoot()
#35 /var/www/html/boehler/core/lib/Drupal/Core/ProxyClass/Render/BareHtmlPageRenderer.php(76): Drupal\Core\Render\BareHtmlPageRenderer->renderBarePage()
#36 /var/www/html/boehler/core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php(164): Drupal\Core\ProxyClass\Render\BareHtmlPageRenderer->renderBarePage()
#37 [internal function]: Drupal\Core\EventSubscriber\MaintenanceModeSubscriber->onMaintenanceModeRequest()
#38 /var/www/html/boehler/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(111): call_user_func()
#39 /var/www/html/boehler/core/lib/Drupal/Core/EventSubscriber/MaintenanceModeSubscriber.php(123): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch()
#40 [internal function]: Drupal\Core\EventSubscriber\MaintenanceModeSubscriber->onKernelRequestMaintenance()
#41 /var/www/html/boehler/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(111): call_user_func()
#42 /var/www/html/boehler/vendor/symfony/http-kernel/HttpKernel.php(157): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch()
#43 /var/www/html/boehler/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#44 /var/www/html/boehler/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle()
#45 /var/www/html/boehler/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
#46 /var/www/html/boehler/core/modules/page_cache/src/StackMiddleware/PageCache.php(191): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
#47 /var/www/html/boehler/core/modules/page_cache/src/StackMiddleware/PageCache.php(128): Drupal\page_cache\StackMiddleware\PageCache->fetch()
#48 /var/www/html/boehler/core/modules/page_cache/src/StackMiddleware/PageCache.php(82): Drupal\page_cache\StackMiddleware\PageCache->lookup()
#49 /var/www/html/boehler/core/modules/ban/src/BanMiddleware.php(50): Drupal\page_cache\StackMiddleware\PageCache->handle()
#50 /var/www/html/boehler/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\ban\BanMiddleware->handle()
#51 /var/www/html/boehler/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#52 /var/www/html/boehler/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#53 /var/www/html/boehler/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle()
#54 /var/www/html/boehler/core/lib/Drupal/Core/DrupalKernel.php(704): Drupal\Core\StackMiddleware\StackedHttpKernel->handle()
#55 /var/www/html/boehler/index.php(19): Drupal\Core\DrupalKernel->handle()
#56 {main}

.
📌 Task
Status

Needs review

Version

3.0

Component

semantic web

Created by

🇩🇪Germany rnsrk

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

Comments & Activities

Production build 0.71.5 2024