Direkt zum Inhalt
Startseite

Main navigation

  • Startseite
  • Neue Frage stellen!
User account menu
  • Anmelden

Pfadnavigation

  1. Startseite

TypeError: Argument 1 passed to Drupal\Core\Plugin\Context\Context::__construct() must implement interface ... ContextDefinitionInterface, null given, called in

By Gast (nicht überprüft), 2 August, 2022

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}

 

Comments

Hilfe zum Textformat
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

Neueste Kommentare

  • Die Lösung ist:

    # export…

    1 Monat 3 Wochen ago
    Composer plugins have been disabled for safety in this non-interactive session. Set COMPOSER_ALLOW_SUPERUSER=1 if you want to allow plugins to run as root/super user.
    Read more
  • IT ist Grundlage der EDV

    3 Wochen 5 Tage ago
    Gibts Unterschied zwischen EDV und IT?
    Read more
  • Bluetooth erkennt Gerät (Hörgeräte) nicht

    3 Wochen 5 Tage ago
    Bestes Computer Forum mit oder ohne Registrierung
    Read more
  • DB Export als .zip …

    7 Monate ago
    Mysqldump - Backup Database to .gz with Date / TimeStamp
    Read more
  • Notice: Undefined index: limit in Drupal\views\Plugin\views\disp

    8 Monate 1 Woche ago
    Notice: Trying to access array offset on value of type null in Drupal\views\Plugin\views\display\EntityReference->query() (Zeile 195 in ... EntityReference.php)
    Read more
  • Scaner auf Laptop einrichten

    9 Monate 2 Wochen ago
    Computer Forum ohne Anmeldung
    Read more
  • Cronjobs

    9 Monate 3 Wochen ago
    rsynch & ssh : Upload (Files & Directories) to Remote Server
    Read more
  • Remote Upload & Sync …

    9 Monate 3 Wochen ago
    rsynch & ssh : Upload (Files & Directories) to Remote Server
    Read more
  •   rsync + Password

    9 Monate 3 Wochen ago
    rsynch & ssh : Upload (Files & Directories) to Remote Server
    Read more
  • Web3 ist Dezentrales…

    1 Jahr 2 Monate ago
    Was ist Web3?
    Read more
Die E-Mail Adresse, die den Newsletter erhalten soll.
You are already subscribed
Manage existing

Tools

  • Cookie settings
  • Inhalt hinzufügen
  • Neuester Inhalt
RSS feed

Fußbereich

  • Allgemeine Geschäftsbedingungen - Datenschutz - Impressum