Сообщение об ошибке
Deprecated function: Required parameter $bubbleable_metadata follows optional parameter $data in
require_once() (line
276 of
core/lib/Drupal/Core/Extension/ModuleHandler.php).
require_once() (Line: 276)
Drupal\Core\Extension\ModuleHandler->loadInclude('profile', 'inc', 'profile.tokens') (Line: 678)
Drupal\Core\Extension\ModuleHandler->verifyImplementations(Array, 'tokens') (Line: 595)
Drupal\Core\Extension\ModuleHandler->getImplementationInfo('tokens') (Line: 328)
Drupal\Core\Extension\ModuleHandler->getImplementations('tokens') (Line: 400)
Drupal\Core\Extension\ModuleHandler->invokeAll('tokens', Array) (Line: 304)
Drupal\Core\Utility\Token->generate('current-page', Array, Array, Array, Object) (Line: 196)
Drupal\Core\Utility\Token->replace('[current-page:url]', Array, Array, Object) (Line: 66)
Drupal\metatag\MetatagToken->replace('[current-page:url]', Array, Array, NULL) (Line: 577)
Drupal\metatag\MetatagManager->generateRawElements(Array, NULL) (Line: 493)
Drupal\metatag\MetatagManager->generateElements(Array, NULL) (Line: 496)
metatag_get_tags_from_route() (Line: 126)
metatag_page_attachments(Array) (Line: 312)
Drupal\Core\Render\MainContent\HtmlRenderer->invokePageAttachmentHooks(Array) (Line: 288)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 132)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 163)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 80)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 54)
Drupal\cache_alter\StackMiddleware\ClearRequest->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 706)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)