After update to 8.x-3.0-alpha6 I have error:

Without xdebug:

Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 20480 bytes) in [different files]

With xdebug: "502 Bad Gateway" with error:

Error: Maximum function nesting level of '256' reached, aborting! в Drupal\Core\Entity\EntityBase->id() (строка 122 из /var/www/drupal_8/web/core/lib/Drupal/Core/Entity/EntityBase.php)
#0 /var/www/drupal_8/web/modules/contrib/domain/domain_config/src/DomainConfigOverrider.php(175): Drupal\Core\Entity\EntityBase->id()
#1 /var/www/drupal_8/web/core/lib/Drupal/Core/Config/ConfigFactory.php(275): Drupal\domain_config\DomainConfigOverrider->getCacheSuffix()
#2 /var/www/drupal_8/web/core/lib/Drupal/Core/Config/ConfigFactory.php(294): Drupal\Core\Config\ConfigFactory->getCacheKeys()
#3 /var/www/drupal_8/web/core/lib/Drupal/Core/Config/ConfigFactory.php(154): Drupal\Core\Config\ConfigFactory->getConfigCacheKey('rg_location.set...', true)
#4 /var/www/drupal_8/web/core/lib/Drupal/Core/Config/ConfigFactory.php(104): Drupal\Core\Config\ConfigFactory->doLoadMultiple(Array, true)
#5 /var/www/drupal_8/web/core/lib/Drupal/Core/Config/ConfigFactory.php(89): Drupal\Core\Config\ConfigFactory->doGet('rg_location.set...')
#6 /var/www/drupal_8/web/core/lib/Drupal.php(389): Drupal\Core\Config\ConfigFactory->get('rg_location.set...')
#7 /var/www/drupal_8/web/modules/custom/rg_location/src/RgLocationHelper.php(56): Drupal::config('rg_location.set...')
#8 /var/www/drupal_8/web/modules/custom/rg_location/src/RgRegionManager.php(159): Drupal\rg_location\RgLocationHelper::getCityContentRoute()
#9 /var/www/drupal_8/web/modules/custom/rg_location/src/RgRegionManager.php(77): Drupal\rg_location\RgRegionManager->getByRoute()
#10 /var/www/drupal_8/web/modules/custom/rg_location/src/RgLocationFactory.php(79): Drupal\rg_location\RgRegionManager->getCurrentCityTid()
#11 /var/www/drupal_8/web/modules/custom/rg_location/src/ContextProvider/CurrentLocationContext.php(36): Drupal\rg_location\RgLocationFactory->createCurrent()
#12 /var/www/drupal_8/web/modules/custom/rg_location/src/ContextProvider/CurrentLocationContext.php(58): Drupal\rg_location\ContextProvider\CurrentLocationContext->getRuntimeContexts(Array)
#13 /var/www/drupal_8/web/core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php(97): Drupal\rg_location\ContextProvider\CurrentLocationContext->getAvailableContexts()
#14 /var/www/drupal_8/web/core/lib/Drupal/Core/ParamConverter/EntityConverter.php(137): Drupal\Core\Plugin\Context\LazyContextRepository->getAvailableContexts()
#15 /var/www/drupal_8/web/core/lib/Drupal/Core/ParamConverter/ParamConverterManager.php(100): Drupal\Core\ParamConverter\EntityConverter->convert('135158', Array, 'node', Array)
#16 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Enhancer/ParamConversionEnhancer.php(45): Drupal\Core\ParamConverter\ParamConverterManager->convert(Array)
#17 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Router.php(260): Drupal\Core\Routing\Enhancer\ParamConversionEnhancer->enhance(Array, Object(Symfony\Component\HttpFoundation\Request))
#18 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Router.php(131): Drupal\Core\Routing\Router->applyRouteEnhancers(Array, Object(Symfony\Component\HttpFoundation\Request))
#19 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Router.php(116): Drupal\Core\Routing\Router->matchRequest(Object(Symfony\Component\HttpFoundation\Request))
#20 /var/www/drupal_8/web/core/lib/Drupal/Core/Path/PathValidator.php(163): Drupal\Core\Routing\Router->match('/node/135158')
#21 /var/www/drupal_8/web/core/lib/Drupal/Core/Path/PathValidator.php(122): Drupal\Core\Path\PathValidator->getPathAttributes('/node/135158', Object(Symfony\Component\HttpFoundation\Request), false)
#22 /var/www/drupal_8/web/core/lib/Drupal/Core/Path/PathValidator.php(89): Drupal\Core\Path\PathValidator->getUrl('node/135158', false)
#23 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(424): Drupal\Core\Path\PathValidator->getUrlIfValidWithoutAccessCheck('node/135158')
#24 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(316): Drupal\Core\Url::fromInternalUri(Array, Array)
#25 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(218): Drupal\Core\Url::fromUri('internal:/node/...', Array)
#26 /var/www/drupal_8/web/modules/contrib/domain/domain_source/src/HttpKernel/DomainSourcePathProcessor.php(131): Drupal\Core\Url::fromUserInput('/node/135158', Array)
#27 /var/www/drupal_8/web/core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php(108): Drupal\domain_source\HttpKernel\DomainSourcePathProcessor->processOutbound('/office/mpk-met...', Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\GeneratedUrl))
#28 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/UrlGenerator.php(389): Drupal\Core\PathProcessor\PathProcessorManager->processOutbound('/office/mpk-met...', Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\GeneratedUrl))
#29 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/UrlGenerator.php(298): Drupal\Core\Routing\UrlGenerator->processPath('/node/135158', Array, Object(Drupal\Core\GeneratedUrl))
#30 /var/www/drupal_8/web/core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php(105): Drupal\Core\Routing\UrlGenerator->generateFromRoute('', Array, Array, true)
#31 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(762): Drupal\Core\Render\MetadataBubblingUrlGenerator->generateFromRoute('', Array, Array, false)
#32 /var/www/drupal_8/web/modules/contrib/rules/src/ContextProvider/CurrentPathContext.php(42): Drupal\Core\Url->toString()
#33 /var/www/drupal_8/web/modules/contrib/rules/src/ContextProvider/CurrentPathContext.php(62): Drupal\rules\ContextProvider\CurrentPathContext->getRuntimeContexts(Array)
#34 /var/www/drupal_8/web/core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php(97): Drupal\rules\ContextProvider\CurrentPathContext->getAvailableContexts()
#35 /var/www/drupal_8/web/core/lib/Drupal/Core/ParamConverter/EntityConverter.php(137): Drupal\Core\Plugin\Context\LazyContextRepository->getAvailableContexts()
#36 /var/www/drupal_8/web/core/lib/Drupal/Core/ParamConverter/ParamConverterManager.php(100): Drupal\Core\ParamConverter\EntityConverter->convert('135158', Array, 'node', Array)
#37 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Enhancer/ParamConversionEnhancer.php(45): Drupal\Core\ParamConverter\ParamConverterManager->convert(Array)
#38 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Router.php(260): Drupal\Core\Routing\Enhancer\ParamConversionEnhancer->enhance(Array, Object(Symfony\Component\HttpFoundation\Request))
#39 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Router.php(131): Drupal\Core\Routing\Router->applyRouteEnhancers(Array, Object(Symfony\Component\HttpFoundation\Request))
#40 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Router.php(116): Drupal\Core\Routing\Router->matchRequest(Object(Symfony\Component\HttpFoundation\Request))
#41 /var/www/drupal_8/web/core/lib/Drupal/Core/Path/PathValidator.php(163): Drupal\Core\Routing\Router->match('/node/135158')
#42 /var/www/drupal_8/web/core/lib/Drupal/Core/Path/PathValidator.php(122): Drupal\Core\Path\PathValidator->getPathAttributes('/node/135158', Object(Symfony\Component\HttpFoundation\Request), false)
#43 /var/www/drupal_8/web/core/lib/Drupal/Core/Path/PathValidator.php(89): Drupal\Core\Path\PathValidator->getUrl('node/135158', false)
#44 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(424): Drupal\Core\Path\PathValidator->getUrlIfValidWithoutAccessCheck('node/135158')
#45 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(316): Drupal\Core\Url::fromInternalUri(Array, Array)
#46 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(218): Drupal\Core\Url::fromUri('internal:/node/...', Array)
#47 /var/www/drupal_8/web/modules/contrib/domain/domain_source/src/HttpKernel/DomainSourcePathProcessor.php(131): Drupal\Core\Url::fromUserInput('/node/135158', Array)
#48 /var/www/drupal_8/web/core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php(108): Drupal\domain_source\HttpKernel\DomainSourcePathProcessor->processOutbound('/office/mpk-met...', Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\GeneratedUrl))
#49 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/UrlGenerator.php(389): Drupal\Core\PathProcessor\PathProcessorManager->processOutbound('/office/mpk-met...', Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\GeneratedUrl))
#50 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/UrlGenerator.php(298): Drupal\Core\Routing\UrlGenerator->processPath('/node/135158', Array, Object(Drupal\Core\GeneratedUrl))
#51 /var/www/drupal_8/web/core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php(105): Drupal\Core\Routing\UrlGenerator->generateFromRoute('', Array, Array, true)
#52 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(762): Drupal\Core\Render\MetadataBubblingUrlGenerator->generateFromRoute('', Array, Array, false)
#53 /var/www/drupal_8/web/modules/contrib/rules/src/ContextProvider/CurrentPathContext.php(42): Drupal\Core\Url->toString()
#54 /var/www/drupal_8/web/modules/contrib/rules/src/ContextProvider/CurrentPathContext.php(62): Drupal\rules\ContextProvider\CurrentPathContext->getRuntimeContexts(Array)
#55 /var/www/drupal_8/web/core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php(97): Drupal\rules\ContextProvider\CurrentPathContext->getAvailableContexts()
#56 /var/www/drupal_8/web/core/lib/Drupal/Core/ParamConverter/EntityConverter.php(137): Drupal\Core\Plugin\Context\LazyContextRepository->getAvailableContexts()
#57 /var/www/drupal_8/web/core/lib/Drupal/Core/ParamConverter/ParamConverterManager.php(100): Drupal\Core\ParamConverter\EntityConverter->convert('135158', Array, 'node', Array)
#58 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Enhancer/ParamConversionEnhancer.php(45): Drupal\Core\ParamConverter\ParamConverterManager->convert(Array)
#59 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Router.php(260): Drupal\Core\Routing\Enhancer\ParamConversionEnhancer->enhance(Array, Object(Symfony\Component\HttpFoundation\Request))
#60 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Router.php(131): Drupal\Core\Routing\Router->applyRouteEnhancers(Array, Object(Symfony\Component\HttpFoundation\Request))
#61 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Router.php(116): Drupal\Core\Routing\Router->matchRequest(Object(Symfony\Component\HttpFoundation\Request))
#62 /var/www/drupal_8/web/core/lib/Drupal/Core/Path/PathValidator.php(163): Drupal\Core\Routing\Router->match('/node/135158')
#63 /var/www/drupal_8/web/core/lib/Drupal/Core/Path/PathValidator.php(122): Drupal\Core\Path\PathValidator->getPathAttributes('/node/135158', Object(Symfony\Component\HttpFoundation\Request), false)
#64 /var/www/drupal_8/web/core/lib/Drupal/Core/Path/PathValidator.php(89): Drupal\Core\Path\PathValidator->getUrl('node/135158', false)
#65 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(424): Drupal\Core\Path\PathValidator->getUrlIfValidWithoutAccessCheck('node/135158')
#66 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(316): Drupal\Core\Url::fromInternalUri(Array, Array)
#67 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(218): Drupal\Core\Url::fromUri('internal:/node/...', Array)
#68 /var/www/drupal_8/web/modules/contrib/domain/domain_source/src/HttpKernel/DomainSourcePathProcessor.php(131): Drupal\Core\Url::fromUserInput('/node/135158', Array)
#69 /var/www/drupal_8/web/core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php(108): Drupal\domain_source\HttpKernel\DomainSourcePathProcessor->processOutbound('/office/mpk-met...', Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\GeneratedUrl))
#70 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/UrlGenerator.php(389): Drupal\Core\PathProcessor\PathProcessorManager->processOutbound('/office/mpk-met...', Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\GeneratedUrl))
#71 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/UrlGenerator.php(298): Drupal\Core\Routing\UrlGenerator->processPath('/node/135158', Array, Object(Drupal\Core\GeneratedUrl))
#72 /var/www/drupal_8/web/core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php(105): Drupal\Core\Routing\UrlGenerator->generateFromRoute('', Array, Array, true)
#73 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(762): Drupal\Core\Render\MetadataBubblingUrlGenerator->generateFromRoute('', Array, Array, false)
#74 /var/www/drupal_8/web/modules/contrib/rules/src/ContextProvider/CurrentPathContext.php(42): Drupal\Core\Url->toString()
#75 /var/www/drupal_8/web/modules/contrib/rules/src/ContextProvider/CurrentPathContext.php(62): Drupal\rules\ContextProvider\CurrentPathContext->getRuntimeContexts(Array)
#76 /var/www/drupal_8/web/core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php(97): Drupal\rules\ContextProvider\CurrentPathContext->getAvailableContexts()
#77 /var/www/drupal_8/web/core/lib/Drupal/Core/ParamConverter/EntityConverter.php(137): Drupal\Core\Plugin\Context\LazyContextRepository->getAvailableContexts()
#78 /var/www/drupal_8/web/core/lib/Drupal/Core/ParamConverter/ParamConverterManager.php(100): Drupal\Core\ParamConverter\EntityConverter->convert('135158', Array, 'node', Array)
#79 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Enhancer/ParamConversionEnhancer.php(45): Drupal\Core\ParamConverter\ParamConverterManager->convert(Array)
#80 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Router.php(260): Drupal\Core\Routing\Enhancer\ParamConversionEnhancer->enhance(Array, Object(Symfony\Component\HttpFoundation\Request))
#81 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Router.php(131): Drupal\Core\Routing\Router->applyRouteEnhancers(Array, Object(Symfony\Component\HttpFoundation\Request))
#82 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Router.php(116): Drupal\Core\Routing\Router->matchRequest(Object(Symfony\Component\HttpFoundation\Request))
#83 /var/www/drupal_8/web/core/lib/Drupal/Core/Path/PathValidator.php(163): Drupal\Core\Routing\Router->match('/node/135158')
#84 /var/www/drupal_8/web/core/lib/Drupal/Core/Path/PathValidator.php(122): Drupal\Core\Path\PathValidator->getPathAttributes('/node/135158', Object(Symfony\Component\HttpFoundation\Request), false)
#85 /var/www/drupal_8/web/core/lib/Drupal/Core/Path/PathValidator.php(89): Drupal\Core\Path\PathValidator->getUrl('node/135158', false)
#86 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(424): Drupal\Core\Path\PathValidator->getUrlIfValidWithoutAccessCheck('node/135158')
#87 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(316): Drupal\Core\Url::fromInternalUri(Array, Array)
#88 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(218): Drupal\Core\Url::fromUri('internal:/node/...', Array)
#89 /var/www/drupal_8/web/modules/contrib/domain/domain_source/src/HttpKernel/DomainSourcePathProcessor.php(131): Drupal\Core\Url::fromUserInput('/node/135158', Array)
#90 /var/www/drupal_8/web/core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php(108): Drupal\domain_source\HttpKernel\DomainSourcePathProcessor->processOutbound('/office/mpk-met...', Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\GeneratedUrl))
#91 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/UrlGenerator.php(389): Drupal\Core\PathProcessor\PathProcessorManager->processOutbound('/office/mpk-met...', Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\GeneratedUrl))
#92 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/UrlGenerator.php(298): Drupal\Core\Routing\UrlGenerator->processPath('/node/135158', Array, Object(Drupal\Core\GeneratedUrl))
#93 /var/www/drupal_8/web/core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php(105): Drupal\Core\Routing\UrlGenerator->generateFromRoute('', Array, Array, true)
#94 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(762): Drupal\Core\Render\MetadataBubblingUrlGenerator->generateFromRoute('', Array, Array, false)
#95 /var/www/drupal_8/web/modules/contrib/rules/src/ContextProvider/CurrentPathContext.php(42): Drupal\Core\Url->toString()
#96 /var/www/drupal_8/web/modules/contrib/rules/src/ContextProvider/CurrentPathContext.php(62): Drupal\rules\ContextProvider\CurrentPathContext->getRuntimeContexts(Array)
#97 /var/www/drupal_8/web/core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php(97): Drupal\rules\ContextProvider\CurrentPathContext->getAvailableContexts()
#98 /var/www/drupal_8/web/core/lib/Drupal/Core/ParamConverter/EntityConverter.php(137): Drupal\Core\Plugin\Context\LazyContextRepository->getAvailableContexts()
#99 /var/www/drupal_8/web/core/lib/Drupal/Core/ParamConverter/ParamConverterManager.php(100): Drupal\Core\ParamConverter\EntityConverter->convert('135158', Array, 'node', Array)
#100 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Enhancer/ParamConversionEnhancer.php(45): Drupal\Core\ParamConverter\ParamConverterManager->convert(Array)
#101 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Router.php(260): Drupal\Core\Routing\Enhancer\ParamConversionEnhancer->enhance(Array, Object(Symfony\Component\HttpFoundation\Request))
#102 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Router.php(131): Drupal\Core\Routing\Router->applyRouteEnhancers(Array, Object(Symfony\Component\HttpFoundation\Request))
#103 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Router.php(116): Drupal\Core\Routing\Router->matchRequest(Object(Symfony\Component\HttpFoundation\Request))
#104 /var/www/drupal_8/web/core/lib/Drupal/Core/Path/PathValidator.php(163): Drupal\Core\Routing\Router->match('/node/135158')
#105 /var/www/drupal_8/web/core/lib/Drupal/Core/Path/PathValidator.php(122): Drupal\Core\Path\PathValidator->getPathAttributes('/node/135158', Object(Symfony\Component\HttpFoundation\Request), false)
#106 /var/www/drupal_8/web/core/lib/Drupal/Core/Path/PathValidator.php(89): Drupal\Core\Path\PathValidator->getUrl('node/135158', false)
#107 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(424): Drupal\Core\Path\PathValidator->getUrlIfValidWithoutAccessCheck('node/135158')
#108 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(316): Drupal\Core\Url::fromInternalUri(Array, Array)
#109 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(218): Drupal\Core\Url::fromUri('internal:/node/...', Array)
#110 /var/www/drupal_8/web/modules/contrib/domain/domain_source/src/HttpKernel/DomainSourcePathProcessor.php(131): Drupal\Core\Url::fromUserInput('/node/135158', Array)
#111 /var/www/drupal_8/web/core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php(108): Drupal\domain_source\HttpKernel\DomainSourcePathProcessor->processOutbound('/office/mpk-met...', Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\GeneratedUrl))
#112 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/UrlGenerator.php(389): Drupal\Core\PathProcessor\PathProcessorManager->processOutbound('/office/mpk-met...', Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\GeneratedUrl))
#113 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/UrlGenerator.php(298): Drupal\Core\Routing\UrlGenerator->processPath('/node/135158', Array, Object(Drupal\Core\GeneratedUrl))
#114 /var/www/drupal_8/web/core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php(105): Drupal\Core\Routing\UrlGenerator->generateFromRoute('', Array, Array, true)
#115 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(762): Drupal\Core\Render\MetadataBubblingUrlGenerator->generateFromRoute('', Array, Array, false)
#116 /var/www/drupal_8/web/modules/contrib/rules/src/ContextProvider/CurrentPathContext.php(42): Drupal\Core\Url->toString()
#117 /var/www/drupal_8/web/modules/contrib/rules/src/ContextProvider/CurrentPathContext.php(62): Drupal\rules\ContextProvider\CurrentPathContext->getRuntimeContexts(Array)
#118 /var/www/drupal_8/web/core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php(97): Drupal\rules\ContextProvider\CurrentPathContext->getAvailableContexts()
#119 /var/www/drupal_8/web/core/lib/Drupal/Core/ParamConverter/EntityConverter.php(137): Drupal\Core\Plugin\Context\LazyContextRepository->getAvailableContexts()
#120 /var/www/drupal_8/web/core/lib/Drupal/Core/ParamConverter/ParamConverterManager.php(100): Drupal\Core\ParamConverter\EntityConverter->convert('135158', Array, 'node', Array)
#121 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Enhancer/ParamConversionEnhancer.php(45): Drupal\Core\ParamConverter\ParamConverterManager->convert(Array)
#122 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Router.php(260): Drupal\Core\Routing\Enhancer\ParamConversionEnhancer->enhance(Array, Object(Symfony\Component\HttpFoundation\Request))
#123 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Router.php(131): Drupal\Core\Routing\Router->applyRouteEnhancers(Array, Object(Symfony\Component\HttpFoundation\Request))
#124 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Router.php(116): Drupal\Core\Routing\Router->matchRequest(Object(Symfony\Component\HttpFoundation\Request))
#125 /var/www/drupal_8/web/core/lib/Drupal/Core/Path/PathValidator.php(163): Drupal\Core\Routing\Router->match('/node/135158')
#126 /var/www/drupal_8/web/core/lib/Drupal/Core/Path/PathValidator.php(122): Drupal\Core\Path\PathValidator->getPathAttributes('/node/135158', Object(Symfony\Component\HttpFoundation\Request), false)
#127 /var/www/drupal_8/web/core/lib/Drupal/Core/Path/PathValidator.php(89): Drupal\Core\Path\PathValidator->getUrl('node/135158', false)
#128 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(424): Drupal\Core\Path\PathValidator->getUrlIfValidWithoutAccessCheck('node/135158')
#129 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(316): Drupal\Core\Url::fromInternalUri(Array, Array)
#130 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(218): Drupal\Core\Url::fromUri('internal:/node/...', Array)
#131 /var/www/drupal_8/web/modules/contrib/domain/domain_source/src/HttpKernel/DomainSourcePathProcessor.php(131): Drupal\Core\Url::fromUserInput('/node/135158', Array)
#132 /var/www/drupal_8/web/core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php(108): Drupal\domain_source\HttpKernel\DomainSourcePathProcessor->processOutbound('/office/mpk-met...', Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\GeneratedUrl))
#133 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/UrlGenerator.php(389): Drupal\Core\PathProcessor\PathProcessorManager->processOutbound('/office/mpk-met...', Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\GeneratedUrl))
#134 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/UrlGenerator.php(298): Drupal\Core\Routing\UrlGenerator->processPath('/node/135158', Array, Object(Drupal\Core\GeneratedUrl))
#135 /var/www/drupal_8/web/core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php(105): Drupal\Core\Routing\UrlGenerator->generateFromRoute('', Array, Array, true)
#136 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(762): Drupal\Core\Render\MetadataBubblingUrlGenerator->generateFromRoute('', Array, Array, false)
#137 /var/www/drupal_8/web/modules/contrib/rules/src/ContextProvider/CurrentPathContext.php(42): Drupal\Core\Url->toString()
#138 /var/www/drupal_8/web/modules/contrib/rules/src/ContextProvider/CurrentPathContext.php(62): Drupal\rules\ContextProvider\CurrentPathContext->getRuntimeContexts(Array)
#139 /var/www/drupal_8/web/core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php(97): Drupal\rules\ContextProvider\CurrentPathContext->getAvailableContexts()
#140 /var/www/drupal_8/web/core/lib/Drupal/Core/ParamConverter/EntityConverter.php(137): Drupal\Core\Plugin\Context\LazyContextRepository->getAvailableContexts()
#141 /var/www/drupal_8/web/core/lib/Drupal/Core/ParamConverter/ParamConverterManager.php(100): Drupal\Core\ParamConverter\EntityConverter->convert('135158', Array, 'node', Array)
#142 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Enhancer/ParamConversionEnhancer.php(45): Drupal\Core\ParamConverter\ParamConverterManager->convert(Array)
#143 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Router.php(260): Drupal\Core\Routing\Enhancer\ParamConversionEnhancer->enhance(Array, Object(Symfony\Component\HttpFoundation\Request))
#144 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Router.php(131): Drupal\Core\Routing\Router->applyRouteEnhancers(Array, Object(Symfony\Component\HttpFoundation\Request))
#145 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Router.php(116): Drupal\Core\Routing\Router->matchRequest(Object(Symfony\Component\HttpFoundation\Request))
#146 /var/www/drupal_8/web/core/lib/Drupal/Core/Path/PathValidator.php(163): Drupal\Core\Routing\Router->match('/node/135158')
#147 /var/www/drupal_8/web/core/lib/Drupal/Core/Path/PathValidator.php(122): Drupal\Core\Path\PathValidator->getPathAttributes('/node/135158', Object(Symfony\Component\HttpFoundation\Request), false)
#148 /var/www/drupal_8/web/core/lib/Drupal/Core/Path/PathValidator.php(89): Drupal\Core\Path\PathValidator->getUrl('node/135158', false)
#149 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(424): Drupal\Core\Path\PathValidator->getUrlIfValidWithoutAccessCheck('node/135158')
#150 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(316): Drupal\Core\Url::fromInternalUri(Array, Array)
#151 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(218): Drupal\Core\Url::fromUri('internal:/node/...', Array)
#152 /var/www/drupal_8/web/modules/contrib/domain/domain_source/src/HttpKernel/DomainSourcePathProcessor.php(131): Drupal\Core\Url::fromUserInput('/node/135158', Array)
#153 /var/www/drupal_8/web/core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php(108): Drupal\domain_source\HttpKernel\DomainSourcePathProcessor->processOutbound('/office/mpk-met...', Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\GeneratedUrl))
#154 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/UrlGenerator.php(389): Drupal\Core\PathProcessor\PathProcessorManager->processOutbound('/office/mpk-met...', Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\GeneratedUrl))
#155 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/UrlGenerator.php(298): Drupal\Core\Routing\UrlGenerator->processPath('/node/135158', Array, Object(Drupal\Core\GeneratedUrl))
#156 /var/www/drupal_8/web/core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php(105): Drupal\Core\Routing\UrlGenerator->generateFromRoute('', Array, Array, true)
#157 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(762): Drupal\Core\Render\MetadataBubblingUrlGenerator->generateFromRoute('', Array, Array, false)
#158 /var/www/drupal_8/web/modules/contrib/rules/src/ContextProvider/CurrentPathContext.php(42): Drupal\Core\Url->toString()
#159 /var/www/drupal_8/web/modules/contrib/rules/src/ContextProvider/CurrentPathContext.php(62): Drupal\rules\ContextProvider\CurrentPathContext->getRuntimeContexts(Array)
#160 /var/www/drupal_8/web/core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php(97): Drupal\rules\ContextProvider\CurrentPathContext->getAvailableContexts()
#161 /var/www/drupal_8/web/core/lib/Drupal/Core/ParamConverter/EntityConverter.php(137): Drupal\Core\Plugin\Context\LazyContextRepository->getAvailableContexts()
#162 /var/www/drupal_8/web/core/lib/Drupal/Core/ParamConverter/ParamConverterManager.php(100): Drupal\Core\ParamConverter\EntityConverter->convert('135158', Array, 'node', Array)
#163 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Enhancer/ParamConversionEnhancer.php(45): Drupal\Core\ParamConverter\ParamConverterManager->convert(Array)
#164 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Router.php(260): Drupal\Core\Routing\Enhancer\ParamConversionEnhancer->enhance(Array, Object(Symfony\Component\HttpFoundation\Request))
#165 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Router.php(131): Drupal\Core\Routing\Router->applyRouteEnhancers(Array, Object(Symfony\Component\HttpFoundation\Request))
#166 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Router.php(116): Drupal\Core\Routing\Router->matchRequest(Object(Symfony\Component\HttpFoundation\Request))
#167 /var/www/drupal_8/web/core/lib/Drupal/Core/Path/PathValidator.php(163): Drupal\Core\Routing\Router->match('/node/135158')
#168 /var/www/drupal_8/web/core/lib/Drupal/Core/Path/PathValidator.php(122): Drupal\Core\Path\PathValidator->getPathAttributes('/node/135158', Object(Symfony\Component\HttpFoundation\Request), false)
#169 /var/www/drupal_8/web/core/lib/Drupal/Core/Path/PathValidator.php(89): Drupal\Core\Path\PathValidator->getUrl('node/135158', false)
#170 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(424): Drupal\Core\Path\PathValidator->getUrlIfValidWithoutAccessCheck('node/135158')
#171 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(316): Drupal\Core\Url::fromInternalUri(Array, Array)
#172 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(218): Drupal\Core\Url::fromUri('internal:/node/...', Array)
#173 /var/www/drupal_8/web/modules/contrib/domain/domain_source/src/HttpKernel/DomainSourcePathProcessor.php(131): Drupal\Core\Url::fromUserInput('/node/135158', Array)
#174 /var/www/drupal_8/web/core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php(108): Drupal\domain_source\HttpKernel\DomainSourcePathProcessor->processOutbound('/office/mpk-met...', Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\GeneratedUrl))
#175 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/UrlGenerator.php(389): Drupal\Core\PathProcessor\PathProcessorManager->processOutbound('/office/mpk-met...', Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\GeneratedUrl))
#176 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/UrlGenerator.php(298): Drupal\Core\Routing\UrlGenerator->processPath('/node/135158', Array, Object(Drupal\Core\GeneratedUrl))
#177 /var/www/drupal_8/web/core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php(105): Drupal\Core\Routing\UrlGenerator->generateFromRoute('', Array, Array, true)
#178 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(762): Drupal\Core\Render\MetadataBubblingUrlGenerator->generateFromRoute('', Array, Array, false)
#179 /var/www/drupal_8/web/modules/contrib/rules/src/ContextProvider/CurrentPathContext.php(42): Drupal\Core\Url->toString()
#180 /var/www/drupal_8/web/modules/contrib/rules/src/ContextProvider/CurrentPathContext.php(62): Drupal\rules\ContextProvider\CurrentPathContext->getRuntimeContexts(Array)
#181 /var/www/drupal_8/web/core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php(97): Drupal\rules\ContextProvider\CurrentPathContext->getAvailableContexts()
#182 /var/www/drupal_8/web/core/lib/Drupal/Core/ParamConverter/EntityConverter.php(137): Drupal\Core\Plugin\Context\LazyContextRepository->getAvailableContexts()
#183 /var/www/drupal_8/web/core/lib/Drupal/Core/ParamConverter/ParamConverterManager.php(100): Drupal\Core\ParamConverter\EntityConverter->convert('135158', Array, 'node', Array)
#184 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Enhancer/ParamConversionEnhancer.php(45): Drupal\Core\ParamConverter\ParamConverterManager->convert(Array)
#185 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Router.php(260): Drupal\Core\Routing\Enhancer\ParamConversionEnhancer->enhance(Array, Object(Symfony\Component\HttpFoundation\Request))
#186 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Router.php(131): Drupal\Core\Routing\Router->applyRouteEnhancers(Array, Object(Symfony\Component\HttpFoundation\Request))
#187 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Router.php(116): Drupal\Core\Routing\Router->matchRequest(Object(Symfony\Component\HttpFoundation\Request))
#188 /var/www/drupal_8/web/core/lib/Drupal/Core/Path/PathValidator.php(163): Drupal\Core\Routing\Router->match('/node/135158')
#189 /var/www/drupal_8/web/core/lib/Drupal/Core/Path/PathValidator.php(122): Drupal\Core\Path\PathValidator->getPathAttributes('/node/135158', Object(Symfony\Component\HttpFoundation\Request), false)
#190 /var/www/drupal_8/web/core/lib/Drupal/Core/Path/PathValidator.php(89): Drupal\Core\Path\PathValidator->getUrl('node/135158', false)
#191 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(424): Drupal\Core\Path\PathValidator->getUrlIfValidWithoutAccessCheck('node/135158')
#192 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(316): Drupal\Core\Url::fromInternalUri(Array, Array)
#193 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(218): Drupal\Core\Url::fromUri('internal:/node/...', Array)
#194 /var/www/drupal_8/web/modules/contrib/domain/domain_source/src/HttpKernel/DomainSourcePathProcessor.php(131): Drupal\Core\Url::fromUserInput('/node/135158', Array)
#195 /var/www/drupal_8/web/core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php(108): Drupal\domain_source\HttpKernel\DomainSourcePathProcessor->processOutbound('/office/mpk-met...', Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\GeneratedUrl))
#196 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/UrlGenerator.php(389): Drupal\Core\PathProcessor\PathProcessorManager->processOutbound('/office/mpk-met...', Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\GeneratedUrl))
#197 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/UrlGenerator.php(298): Drupal\Core\Routing\UrlGenerator->processPath('/node/135158', Array, Object(Drupal\Core\GeneratedUrl))
#198 /var/www/drupal_8/web/core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php(105): Drupal\Core\Routing\UrlGenerator->generateFromRoute('', Array, Array, true)
#199 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(762): Drupal\Core\Render\MetadataBubblingUrlGenerator->generateFromRoute('', Array, Array, false)
#200 /var/www/drupal_8/web/modules/contrib/rules/src/ContextProvider/CurrentPathContext.php(42): Drupal\Core\Url->toString()
#201 /var/www/drupal_8/web/modules/contrib/rules/src/ContextProvider/CurrentPathContext.php(62): Drupal\rules\ContextProvider\CurrentPathContext->getRuntimeContexts(Array)
#202 /var/www/drupal_8/web/core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php(97): Drupal\rules\ContextProvider\CurrentPathContext->getAvailableContexts()
#203 /var/www/drupal_8/web/core/lib/Drupal/Core/ParamConverter/EntityConverter.php(137): Drupal\Core\Plugin\Context\LazyContextRepository->getAvailableContexts()
#204 /var/www/drupal_8/web/core/lib/Drupal/Core/ParamConverter/ParamConverterManager.php(100): Drupal\Core\ParamConverter\EntityConverter->convert('135158', Array, 'node', Array)
#205 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Enhancer/ParamConversionEnhancer.php(45): Drupal\Core\ParamConverter\ParamConverterManager->convert(Array)
#206 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Router.php(260): Drupal\Core\Routing\Enhancer\ParamConversionEnhancer->enhance(Array, Object(Symfony\Component\HttpFoundation\Request))
#207 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Router.php(131): Drupal\Core\Routing\Router->applyRouteEnhancers(Array, Object(Symfony\Component\HttpFoundation\Request))
#208 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Router.php(116): Drupal\Core\Routing\Router->matchRequest(Object(Symfony\Component\HttpFoundation\Request))
#209 /var/www/drupal_8/web/core/lib/Drupal/Core/Path/PathValidator.php(163): Drupal\Core\Routing\Router->match('/node/135158')
#210 /var/www/drupal_8/web/core/lib/Drupal/Core/Path/PathValidator.php(122): Drupal\Core\Path\PathValidator->getPathAttributes('/node/135158', Object(Symfony\Component\HttpFoundation\Request), false)
#211 /var/www/drupal_8/web/core/lib/Drupal/Core/Path/PathValidator.php(89): Drupal\Core\Path\PathValidator->getUrl('node/135158', false)
#212 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(424): Drupal\Core\Path\PathValidator->getUrlIfValidWithoutAccessCheck('node/135158')
#213 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(316): Drupal\Core\Url::fromInternalUri(Array, Array)
#214 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(218): Drupal\Core\Url::fromUri('internal:/node/...', Array)
#215 /var/www/drupal_8/web/modules/contrib/domain/domain_source/src/HttpKernel/DomainSourcePathProcessor.php(131): Drupal\Core\Url::fromUserInput('/node/135158', Array)
#216 /var/www/drupal_8/web/core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php(108): Drupal\domain_source\HttpKernel\DomainSourcePathProcessor->processOutbound('/office/mpk-met...', Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\GeneratedUrl))
#217 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/UrlGenerator.php(389): Drupal\Core\PathProcessor\PathProcessorManager->processOutbound('/office/mpk-met...', Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\GeneratedUrl))
#218 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/UrlGenerator.php(298): Drupal\Core\Routing\UrlGenerator->processPath('/node/135158', Array, Object(Drupal\Core\GeneratedUrl))
#219 /var/www/drupal_8/web/core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php(105): Drupal\Core\Routing\UrlGenerator->generateFromRoute('', Array, Array, true)
#220 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(762): Drupal\Core\Render\MetadataBubblingUrlGenerator->generateFromRoute('', Array, Array, false)
#221 /var/www/drupal_8/web/modules/contrib/rules/src/ContextProvider/CurrentPathContext.php(42): Drupal\Core\Url->toString()
#222 /var/www/drupal_8/web/modules/contrib/rules/src/ContextProvider/CurrentPathContext.php(62): Drupal\rules\ContextProvider\CurrentPathContext->getRuntimeContexts(Array)
#223 /var/www/drupal_8/web/core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php(97): Drupal\rules\ContextProvider\CurrentPathContext->getAvailableContexts()
#224 /var/www/drupal_8/web/core/lib/Drupal/Core/ParamConverter/EntityConverter.php(137): Drupal\Core\Plugin\Context\LazyContextRepository->getAvailableContexts()
#225 /var/www/drupal_8/web/core/lib/Drupal/Core/ParamConverter/ParamConverterManager.php(100): Drupal\Core\ParamConverter\EntityConverter->convert('135158', Array, 'node', Array)
#226 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Enhancer/ParamConversionEnhancer.php(45): Drupal\Core\ParamConverter\ParamConverterManager->convert(Array)
#227 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Router.php(260): Drupal\Core\Routing\Enhancer\ParamConversionEnhancer->enhance(Array, Object(Symfony\Component\HttpFoundation\Request))
#228 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Router.php(131): Drupal\Core\Routing\Router->applyRouteEnhancers(Array, Object(Symfony\Component\HttpFoundation\Request))
#229 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/Router.php(116): Drupal\Core\Routing\Router->matchRequest(Object(Symfony\Component\HttpFoundation\Request))
#230 /var/www/drupal_8/web/core/lib/Drupal/Core/Path/PathValidator.php(163): Drupal\Core\Routing\Router->match('/node/135158')
#231 /var/www/drupal_8/web/core/lib/Drupal/Core/Path/PathValidator.php(122): Drupal\Core\Path\PathValidator->getPathAttributes('/node/135158', Object(Symfony\Component\HttpFoundation\Request), false)
#232 /var/www/drupal_8/web/core/lib/Drupal/Core/Path/PathValidator.php(89): Drupal\Core\Path\PathValidator->getUrl('node/135158', false)
#233 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(424): Drupal\Core\Path\PathValidator->getUrlIfValidWithoutAccessCheck('node/135158')
#234 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(316): Drupal\Core\Url::fromInternalUri(Array, Array)
#235 /var/www/drupal_8/web/core/lib/Drupal/Core/Url.php(218): Drupal\Core\Url::fromUri('internal:/node/...', Array)
#236 /var/www/drupal_8/web/modules/contrib/domain/domain_source/src/HttpKernel/DomainSourcePathProcessor.php(131): Drupal\Core\Url::fromUserInput('/node/135158', Array)
#237 /var/www/drupal_8/web/core/lib/Drupal/Core/PathProcessor/PathProcessorManager.php(108): Drupal\domain_source\HttpKernel\DomainSourcePathProcessor->processOutbound('/office/mpk-met...', Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\GeneratedUrl))
#238 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/UrlGenerator.php(389): Drupal\Core\PathProcessor\PathProcessorManager->processOutbound('/office/mpk-met...', Array, Object(Symfony\Component\HttpFoundation\Request), Object(Drupal\Core\GeneratedUrl))
#239 /var/www/drupal_8/web/core/lib/Drupal/Core/Routing/UrlGenerator.php(298): Drupal\Core\Routing\UrlGenerator->processPath('/node/135158', Array, Object(Drupal\Core\GeneratedUrl))
#240 /var/www/drupal_8/web/core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php(105): Drupal\Core\Routing\UrlGenerator->generateFromRoute('', Array, Array, true)
#241 /var/www/drupal_8/web/modules/contrib/redirect/src/EventSubscriber/RouteNormalizerRequestSubscriber.php(105): Drupal\Core\Render\MetadataBubblingUrlGenerator->generateFromRoute('', Array, Array)
#242 [internal function]: Drupal\redirect\EventSubscriber\RouteNormalizerRequestSubscriber->onKernelRequestRedirect(Object(Symfony\Component\HttpKernel\Event\GetResponseEvent), 'kernel.request', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#243 /var/www/drupal_8/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(111): call_user_func(Array, Object(Symfony\Component\HttpKernel\Event\GetResponseEvent), 'kernel.request', Object(Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher))
#244 /var/www/drupal_8/vendor/symfony/http-kernel/HttpKernel.php(127): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.request', Object(Symfony\Component\HttpKernel\Event\GetResponseEvent))
#245 /var/www/drupal_8/vendor/symfony/http-kernel/HttpKernel.php(68): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#246 /var/www/drupal_8/web/core/lib/Drupal/Core/StackMiddleware/Session.php(57): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#247 /var/www/drupal_8/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(47): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#248 /var/www/drupal_8/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#249 /var/www/drupal_8/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#250 /var/www/drupal_8/web/core/modules/ban/src/BanMiddleware.php(50): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#251 /var/www/drupal_8/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(47): Drupal\ban\BanMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#252 /var/www/drupal_8/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(52): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#253 /var/www/drupal_8/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#254 /var/www/drupal_8/web/core/lib/Drupal/Core/DrupalKernel.php(708): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#255 /var/www/drupal_8/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#256 {main}
.

Please look at /var/www/drupal_8/web/modules/contrib/rules/src/ContextProvider/CurrentPathContext.php(42): Drupal\Core\Url->toString()
and /var/www/drupal_8/web/modules/contrib/domain/domain_source/src/HttpKernel/DomainSourcePathProcessor.php(131): Drupal\Core\Url::fromUserInput(...)

it cause a recursion.

If downgrade to alpha5 all OK.

Comments

super_romeo created an issue. See original summary.

super_romeo’s picture

Title: conflict with Domain Access module » Conflict with Domain Access module
super_romeo’s picture

tr’s picture

Status: Active » Postponed (maintainer needs more info)

CurrentPathContext is a context_provider tagged service, and it is totally independent of Rules. I don't see anything in there that's wrong, certainly not anything that would normally cause recursion. I don't know the details of how Domain Access rewrites URLs etc., but I think that's where the problem most likely is - if paths get rewritten then that might trigger something that causes the context_provider to be reload, etc.

You can try to install Rules alpha6 but hide CurrentPathContext by editing rules.service.yml and commenting out these lines:

  rules.current_path_context:
    class: Drupal\rules\ContextProvider\CurrentPathContext
    arguments: ['@path.current']
    tags:
      - { name: context_provider }

Then refresh your cache. If you do this then CurrentPathContext will never be loaded. If that makes the problem go away, then I think this is something Domain Access needs to look into. I guess it's possible Domain Access doesn't properly deal with the <current> route, but I really don't know much about what Domain Access is doing when it comes to route processors.

The only other thing I can think of is maybe the cache tags in CurrentPathContext are a problem - if Domain invalidates the tags then perhaps the context_provider gets called again, which causes Domain to be called again, etc. or something like that.

super_romeo’s picture

You can try to install Rules alpha6 but hide CurrentPathContext by editing rules.service.yml and commenting out these lines:

Yes, problem has gone away.

tr’s picture

Status: Postponed (maintainer needs more info) » Active

This sounds like it might be the same problem as reported in #3161036: CurrentPathContext inadvertently bubbles up 'route' cache context. Can you try that patch (also uncomment the lines in rules.services.yml and clear your cache) and let me know whether that patch fixes your problem?

super_romeo’s picture

Sorry dear @TR, but I found that Rules actually not used in my project at all and I uninstalled it...

tr’s picture

Status: Active » Postponed (maintainer needs more info)
agentrickard’s picture

This is enough info to start testing. If you want to move this over the the Domain queue, feel free.

tr’s picture

Project: Rules » Domain
Version: 8.x-3.x-dev » 8.x-1.x-dev
Component: Rules Core » Code
Status: Postponed (maintainer needs more info) » Active

OK. I don't use Domain Access so I'm not really well equipped track this down. But if you do find that this problem has something to do with how the CurrentPathContext service is coded feel free to kick it back to the Rules queue.

The entire code is in
rules/src/ContextProvider/CurrentPathContext.php
plus the few lines in rules.services.yml that I mentioned in #4.

To test this context provider with Domain Access and without Rules, you can add those lines into the Domain Access services.yml and copy the CurrentPathContext.php to the Domain Access module. Change the namespace in the .php and the class path in services.yml to point to your copy of the class. That's all that should be required - you can uninstall Rules at that point.

tr’s picture

Title: Conflict with Domain Access module » Conflict with Rules module
agentrickard’s picture

Odd. I had never seen the <current> path before. I suspect we just need to skip it.

agentrickard’s picture

Status: Active » Needs review
StatusFileSize
new714 bytes

Here's a very simple patch that should fix the infinite loop.

I wonder if we need to do the same thing for <front>.

justclint’s picture

Just found this issue while while having some troubles with GraphQl + Rules where we would keep getting the following error when trying use the graphql explorer:

LogicException: Missing type current_path

GraphQl Issue: https://github.com/drupal-graphql/graphql/issues/1055

Per the suggestion in #4 I can confirm that resolved the "current_path" issue.

However, it ended up throwing another context error but this time for "site". So after also commenting out rules.site_context in rules.services.yml all GraphQl issues were resolved.

As Im not sure if this is an issue in Rules or in GraphQl just thought Id post this here for reference.

mikedance’s picture

I have been troubleshooting this issue with @agentrickard, seems to be caused from an interplay between stock configurations of the content_moderation, rules, and domain modules:

With a domain record created, attempting to visit a node view, edit, or add route, an infinite loop is happening between:

Router->matchRequests is calling Router->applyRouteEnhancers
content_moderation EntityRevisionConverter->convert
rules CurrentPathContext
DomainSourcePathProcessor->processOutbound

super_romeo’s picture

Content_moderation module on my installation is disabled.

tr’s picture

FWIW I use content moderation with Rules all the time without a problem.

From system.routing.yml, the other "special" routes are:

'<front>':
  path: '/'
  defaults:
    _title: Home
  requirements:
    _access: 'TRUE'

'<none>':
  path: ''
  options:
    _no_path: TRUE
  requirements:
    _access: 'TRUE'

'<nolink>':
  path: ''
  options:
    _no_path: TRUE
  requirements:
    _access: 'TRUE'

'<button>':
  path: ''
  options:
    _no_path: TRUE
  requirements:
    _access: 'TRUE'

'<current>':
  path: '<current>'

I don't really know what any of those are for except for <front> and <current>. The definition of <current> screams recursion, but I guess it must work for the way it's used in core.

tr’s picture

StatusFileSize
new268 bytes

@justclint: I don't think your issue is related.

Missing type current_pathMissing type current_path
Per the suggestion in #4 I can confirm that resolved the "current_path" issue.

However, it ended up throwing another context error but this time for "site".

What you are seeing here is that Rules defines two typed data datatypes: 'current_path' and 'site'. The 'current_path' datatype is used by the CurrentPathContext context provider class, which is why your error goes away when you comment out the service as suggested in #4. The 'site' datatype is used elsewhere.

Your problem seems to be that the GraphQL module cannot find either the 'current_path' or 'site' datatypes. That's a problem because both of these are valid @DataType plugins. Admittedly not many contributed modules use the core Drupal Typed Data API to define their own non-Entity, non-Field data types, but what Rules is doing is really very simple and standard use of the Typed Data API. If GraphQL can't find those datatypes then GraphQL must be doing something wrong (e.g. overriding the core typed data manager with a buggy alternative) or making the assumption that the only datatypes are the ones defined by core (that's a bad assumption).

If you run the attached script using drush php-script datatypes.txt you will see a list of datatypes known to the core Drupal typed data manager. With Rules enabled you should see both 'current_path' and 'site', with Rules uninstalled those will be missing. They really are valid datatypes, so I'm certain the problem you're seeing is somewhere in the GraphQL module.

justclint’s picture

Thanks @TR for the clarification. I found this issue via https://www.drupal.org/project/rules/issues/3161036 and didnt realize till now this issue here is for Domain Access. Thought I was still in Rules issues. But your explanation is helpful and will take this over to GraphQl issue.

Thanks!

agentrickard’s picture

@justclint -- We're not sure where the issue actually lies. That's part of the problem.

robintimman’s picture

What fixed it for us was downgrading the rules module to 3.0.0-alpha5
What also might help is adding following code to modules/contrib/domain/domain_source/src/HttpKernel/DomainSourcePathProcessor.php on line 109 in the processOutbound function

if (\Drupal::service('path_alias.manager')->getAliasByPath(\Drupal::service('path.current')->getPath()) === $path) {
  return $path;
}
agentrickard’s picture

Why?

Just because the path and the alias are identical doesn't mean we don't need to make that URL absolute, which is what this Path Processor does.

Please provide a little more context around the problem and your solution.

agentrickard’s picture

For the record, I can trigger this error on a fresh install of Drupal 9 just by enabling Rules and Domain Source at the same time. I didn't even need to create any content.

martijn houtman’s picture

Attached patch is by no means a fix, but it prevents the recursion due to Rules asking for an alias of the current path. It may help in further investigation.

agentrickard’s picture

Again, I don't see how the patch in #24 solves the problem. It simply bypasses the process. The problem is that we have to rewrite the URL.

agentrickard’s picture

StatusFileSize
new653 bytes

Here's a much simpler patch against Rules that prevents the recursion.

This needs to be tested, but it assumes that the first invocation of the Current Path context is the correct one.

The problem in the code right now is that any call to Url::from*() invokes the CurrentPathContext from Rules.

agentrickard’s picture

Title: Conflict with Rules module » CurrentPathContext runs any time a URL::from() method is invoked
Project: Domain » Rules
Version: 8.x-1.x-dev » 8.x-3.x-dev
Component: Code » Rules Core

Moving back to the Rules queue for testing.

martijn houtman’s picture

Again, it's not a fix, it's the point in the code path where the recursion is introduced. IMO it's not Rules at fault here, but domain_source. Rules is merely asking for an absolute URL of the current path. It is domain_source which is rewriting the outbound path, which then triggers the Rules context again. If anything, it seems domain_source should use some form of static caching to prevent recursion, no?

agentrickard’s picture

The problem is that Rules fires in response to EVERY call to Url::fromUri(), Uri::fromUserInput(), and so on, even though it always returns the same response.

Now I may be wrong here, and it may only be firing on <current> and hitting the loop, in which case we need to eliminate just that loop. Initial attempts (see above) did not fix the issue, however.

martijn houtman’s picture

Ah, yes, it seems you are right.

agentrickard’s picture

I did find a way to fix this inside Domain Source. This happens because we need to lookup the Route based on a path of unknown origin.

Here's a simplified version of the call stack loop, in order of operation:

Trying to check if the path /user/1 needs to be rewritten.

Drupal\domain_source\HttpKernel\DomainSourcePathProcessor->processOutbound('/user/1', Array, Object, Object) (Line: 108)
Drupal\Core\Url::fromUserInput('/user/1', Array) (Line: 131)
Drupal\Core\Routing\Router->match('/user/1') (Line: 163)
Drupal\Core\ParamConverter\EntityConverter->convert('1', Array, 'user', Array) (Line: 100)
Drupal\Core\Plugin\Context\LazyContextRepository->getAvailableContexts() (Line: 114)
Drupal\rules\ContextProvider\CurrentPathContext->getAvailableContexts() (Line: 97)
Drupal\rules\ContextProvider\CurrentPathContext->getRuntimeContexts(Array) (Line: 62)
Drupal\Core\Url->toString() (Line: 42)
Drupal\Core\Routing\UrlGenerator->processPath('/user/1', Array, Object) (Line: 298)
Drupal\Core\PathProcessor\PathProcessorManager->processOutbound('/user/1', Array, Object, Object) (Line: 389)
Drupal\domain_source\HttpKernel\DomainSourcePathProcessor->processOutbound('/user/1', Array, Object, Object) (Line: 108)

I think the loop is caused here, in the Rules context:

    $values = [
      'path' => $this->currentPathStack->getPath(),
      'url' => Url::fromRoute('<current>', [], ['absolute' => TRUE])->toString(),
    ];

In Domain Source, we already skip paths set to external, but perhaps we should skip those already set to `absolute`.

    // Only act on valid internal paths and when a domain loads.
    if (empty($active_domain) || empty($path) || !empty($options['external'])) {
      return $path;
    }

So this change to DomainSourcePathProcessor would also solve the problem:

    // Only act on valid internal paths and when a domain loads.
    if (empty($active_domain) || empty($path) || !empty($options['external']) || !empty($options['absolute'])) {
      return $path;
    }

However, I suspect this issue is just waiting to be triggered by another module, so it might be safer to fix inside of Rules.

agentrickard’s picture

I don't think checking for `absolute` is correct, because we still may need to alter the base path in those cases.

agentrickard’s picture

StatusFileSize
new653 bytes

Need to re-upload the patch now that the queue has changed.

tr’s picture

@agentrickard: Can you look at #3161036: CurrentPathContext inadvertently bubbles up 'route' cache context and see if that is what is causing this problem?

That issue proposes a simple change (adding a TRUE parameter to toString()) which may fix this if the cause is the same.

roderik’s picture

I stumbled in here through #3161036: CurrentPathContext inadvertently bubbles up 'route' cache context and did some digging into the above trace log, to be sure I wasn't missing anything - despite not having Domain Access installed / not having this problem myself. I can answer "no" with some confidence: the problems are similar / overlapping, and may be solved with an overlapping code change, but they are not the same. See blockquote below for two suggested fixes (neither of which involve passing TRUE to toString()).

My take on it is this: something as seemingly simple as generating a URL is fraught with dangers, because other code can link into that process and have all kinds of side effects. Like:

  • Core can silently 'pollute' the current render context with bubbleable metadata that you don't want / expect; one of the possible solutions is passing TRUE to toString(). I'll comment on this in #3161036: CurrentPathContext inadvertently bubbles up 'route' cache context.
  • Any module is allowed to hook into access checks and/or other modifications of the URL. Code which is called during such checks/modifications, which generates URLs by itself, is in danger of creating recursion loops.

So, these are different problems with slightly different(?) solutions, in the same code.

In this issue, the combination of Domain Access and Rules generates a recursion loop. I believe it's Rules that should change its code, after digging through the trace log - but I can't tell you how exactly; see below. First, the IMHO relevant parts of the trace reformatted:

1. Some code calls UrlGenerator::generateFromRoute().

This can be various different code, e.g.

  • any code using the url_generator service (in our case: RouteNormalizerRequestSubscriber in the redirect module)
  • or any call to Url::from*(...)->toString(). (Regardless whether we're passing TRUE as an argument.)

1a. UrlGenerator::generateFromRoute() executes

    if ($options['path_processing']) {
      $path = $this->processPath($path, $options, $generated_url);
    }

2. domain_source's DomainSourcePathProcessor hooks into path processing, and itself calls Url::fromUserInput().

2a. Url::fromUserInput() calls \Drupal::pathValidator()->getUrlIfValidWithoutAccessCheck($uri_parts['path'])

2b. PathValidator::getPathAttributes() calls some $router->match()

2c. Router::applyRouteEnhancers() -> ParamConversionEnhancer::enhance() -> ParamConverterManager::convert() -> EntityConverter::convert() -> LazyContextRepository->getAvailableContexts(), loops through all ContextProviders' getAvailableContexts()

3. rules' CurrentPathContext::getAvailableContexts() and SiteContext::getAvailableContexts() call Url::fromRoute()->toString() and thereby turn into point 1 above... and a recursion loop is formed.

So...

Domain Access is creating a new Url object (for the 'path alias' of the original Url) during "path processing" of a Url. Is that fine/necessary? I guess so.

Rules' new-ish ContextProviders create a new Url object during some path "validation" process. Is that fine/necessary? Probably not. The problem is that I don't have a good handle on this code. I have no clue what a Plugin Context Provider even is. However, I stumbled on the following comment in ContextProviderInterface::getAvailableContexts:

When a context aware plugin is being configured, the configuration UI must know which named contexts are potentially available, but does not care about the value, since (...)

So I believe Rules can fix this issue in the following ways:

  • either replace options ['absolute' => TRUE] by ['absolute' => TRUE, 'path_processing' => FALSE], to prevent path processing / Domain Access from kicking in on these URLs. See point 1a above. That might return the wrong result for calls to CurrentPathContext/SiteContext::getRuntimeContexts() that are not made internally from getAvailableContexts(), though. (I can't really tell if it's important.)
  • or simply don't call Url::fromRoute() at all from CurrentPathContext/SiteContext::getAvailableContexts(). That is: don't call $this->getRuntimeContexts([]) internally, but copy some code to return the correct context keys with bogus values?

I'm not going to provide a patch here because 1) I can't comment on what might be wrong with the second solution, 2) I'll work on overlapping suggested patch(es) to #3161036. Anyone who wants to implement/test this before #3161036 is done: go ahead.

roderik’s picture

StatusFileSize
new4.55 KB

Changed my mind: after creating a patch for #3161036: CurrentPathContext inadvertently bubbles up 'route' cache context, I have a good enough handle on the difference between 'cache contexts / metadata' and 'plugin contexts'... and I'm uploading a patch suggestion according to my second solution. (Last bullet point in previous comment.)

Untested. But I think this should work. Feel free to change anything re. method name, comments, structure, ...

I just have one general question about the context providers. Shouldn't getRuntimeContexts do anything with the $unqualified_context_ids argument it gets passed? Like, e.g. return array_filter_key($result, array_keys($unqualified_context_ids));? Or does that not matter?

roderik’s picture

StatusFileSize
new4.3 KB

Faulty diff; retry. (Also: this patch will conflict with #3161036: CurrentPathContext inadvertently bubbles up 'route' cache context; one or the other will need to get re-rolled.)

Edit: sorry about the RulesDebugLoggerChannel.php change; that's a remnant from #3161036 that shouldn't be in here. Supposedly harmless, though.

andrewp’s picture

I had this issue when upgrading from rules 3.0.0_alpha5 to 3.0.0_alpha7 while using the Domain Access module. The patch rules-context-loop-37 resolved the issue with the CurrentPathContext.

super_romeo’s picture

super_romeo’s picture

Status: Needs review » Reviewed & tested by the community

I use the Domain Access module too.

Patch #37 works! Thank you!