TypeError: Argument 2 passed to Symfony\Component\Routing\RouteCollection::add() must be an instance of Route, boolean given, called in RouteProvider.php on line 382
Drupal Update / Upgrade Error:
TypeError: Argument 2 passed to Symfony\Component\Routing\RouteCollection::add() must be an instance of Symfony\Component\Routing\Route, boolean given, called in
/var/www/mywebsite5/httpdocs/core/lib/Drupal/Core/Routing/RouteProvider.php on line 382 in Symfony\Component\Routing\RouteCollection->add() (line 74 of
/var/www/mywebsite5/httpdocs/vendor/symfony/routing/RouteCollection.php) #0 /var/www/mywebsite5/httpdocs/core/lib/Drupal/Core/Routing/RouteProvider.php(382):
Symfony\Component\Routing\RouteCollection->add('entity.node.can...', false)
#1 /var/www/mywebsite5/httpdocs/core/lib/Drupal/Core/Routing/RouteProvider.php(182): Drupal\Core\Routing\RouteProvider->getRoutesByPath('/node/42926')
#2 /var/www/mywebsite5/httpdocs/core/lib/Drupal/Core/Routing/Router.php(237): Drupal\Core\Routing\RouteProvider->getRouteCollectionForRequest(Object(Symfony\Component\HttpFoundation\Request))
#3 /var/www/mywebsite5/httpdocs/core/lib/Drupal/Core/Routing/Router.php(121): Drupal\Core\Routing\Router->getInitialRouteCollection(Object(Symfony\Component\HttpFoundation\Request))
#4 /var/www/mywebsite5/httpdocs/core/lib/Drupal/Core/Routing/AccessAwareRouter.php(92): Drupal\Core\Routing\Router->matchRequest(Object(Symfony\Component\HttpFoundation\Request))
#5 /var/www/mywebsite5/httpdocs/vendor/symfony/http-kernel/EventListener/RouterListener.php(112):
Drupal\Core\Routing\AccessAwareRouter->matchRequest(Object(Symfony\Component\HttpFoundation\Request))
#6 /var/www/mywebsite5/httpdocs/vendor/symfony/event-dispatcher/LegacyEventDispatcherProxy.php(78):
Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest(Object(Symfony\Component\HttpKernel\Event\RequestEvent), 'kernel.request',
Object(Symfony\Component\EventDispatcher\LegacyEventDispatcherProxy))
#7 /var/www/mywebsite5/httpdocs/vendor/symfony/http-kernel/HttpKernel.php(134):
Symfony\Component\EventDispatcher\LegacyEventDispatcherProxy->dispatch(Object(Symfony\Component\HttpKernel\Event\RequestEvent), 'kernel.request')
#8 /var/www/mywebsite5/httpdocs/vendor/symfony/http-kernel/HttpKernel.php(80): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#9 /var/www/mywebsite5/httpdocs/core/lib/Drupal/Core/StackMiddleware/Session.php(57): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#10 /var/www/mywebsite5/httpdocs/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1,
true)
#11 /var/www/mywebsite5/httpdocs/core/modules/ban/src/BanMiddleware.php(50): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#12 /var/www/mywebsite5/httpdocs/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): Drupal\ban\BanMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#13 /var/www/mywebsite5/httpdocs/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(52):
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#14 /var/www/mywebsite5/httpdocs/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23):
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#15 /var/www/mywebsite5/httpdocs/core/lib/Drupal/Core/DrupalKernel.php(705): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#16 /var/www/mywebsite5/httpdocs/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
Neuen Kommentar schreiben