Wenn ich Unterseiten (node/123...) aufrufe, bekomme ich diese Fehlermeldung :
The website encountered an unexpected error. Please try again later.
TypeError: Argument 1 passed to Drupal\Core\Plugin\Context\Context::__construct() must implement interface Drupal\Core\Plugin\Context\ContextDefinitionInterface, null given, called in /var/www/mysite1.local/web/core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php on line 85 in Drupal\Core\Plugin\Context\Context->__construct() (Zeile 50 in /var/www/mysite1.local/web/core/lib/Drupal/Core/Plugin/Context/Context.php)
#0 /var/www/mysite1.local/web/core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php(85): Drupal\Core\Plugin\Context\Context->__construct()
#1 /var/www/mysite1.local/web/core/lib/Drupal/Core/Plugin/ContextAwarePluginTrait.php(116): Drupal\Core\Executable\ExecutablePluginBase->getContext()
#2 /var/www/mysite1.local/web/core/lib/Drupal/Core/Entity/Plugin/Condition/EntityBundle.php(91): Drupal\Core\Executable\ExecutablePluginBase->getContextValue()
#3 /var/www/mysite1.local/web/core/lib/Drupal/Core/Condition/ConditionManager.php(77): Drupal\Core\Entity\Plugin\Condition\EntityBundle->evaluate()
#4 /var/www/mysite1.local/web/core/lib/Drupal/Core/Condition/ConditionPluginBase.php(84): Drupal\Core\Condition\ConditionManager->execute()
#5 /var/www/mysite1.local/web/modules/contrib/view_mode_page/src/Entity/ViewmodepagePattern.php(411): Drupal\Core\Condition\ConditionPluginBase->execute()
#6 /var/www/mysite1.local/web/modules/contrib/view_mode_page/src/PathProcessor/DynamicPathProcessor.php(107): Drupal\view_mode_page\Entity\ViewmodepagePattern->applies()
#7 /var/www/mysite1.local/web/core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php(70): Drupal\view_mode_page\PathProcessor\DynamicPathProcessor->processInbound()
#8 /var/www/mysite1.local/web/modules/contrib/redirect/src/EventSubscriber/RedirectRequestSubscriber.php(138): Drupal\Core\PathProcessor\PathProcessorManager->processInbound()
#9 [internal function]: Drupal\redirect\EventSubscriber\RedirectRequestSubscriber->onKernelRequestCheckRedirect()
#10 /var/www/mysite1.local/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(142): call_user_func()
#11 /var/www/mysite1.local/vendor/symfony/http-kernel/HttpKernel.php(134): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch()
#12 /var/www/mysite1.local/vendor/symfony/http-kernel/HttpKernel.php(80): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#13 /var/www/mysite1.local/web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle()
#14 /var/www/mysite1.local/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
#15 /var/www/mysite1.local/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
#16 /var/www/mysite1.local/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass()
#17 /var/www/mysite1.local/web/core/modules/ban/src/BanMiddleware.php(50): Drupal\page_cache\StackMiddleware\PageCache->handle()
#18 /var/www/mysite1.local/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\ban\BanMiddleware->handle()
#19 /var/www/mysite1.local/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#20 /var/www/mysite1.local/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#21 /var/www/mysite1.local/web/core/lib/Drupal/Core/DrupalKernel.php(709): Stack\StackedHttpKernel->handle()
#22 /var/www/mysite1.local/web/index.php(19): Drupal\Core\DrupalKernel->handle()
#23 {main}
Neuen Kommentar schreiben