By lauriii on
Change record status:
Draft (View all draft change records)
Project:
Introduced in branch:
10.3.x
Introduced in version:
10.3.0
Issue links:
Description:
The \Drupal\system\PathBasedBreadcrumbBuilder::__construct arguments have changed in several different ways.
Service arguments before:
'@router.request_context', '@access_manager', '@router', '@path_processor_manager', '@config.factory', '@title_resolver', '@current_user', '@path.current', '@path.matcher'
Service arguments after:
'@router.request_context', '@access_manager', '@config.factory', '@title_resolver', '@current_user', '@path.matcher', '@request_generator'
Impacts:
Module developers
Comments
I have updated drupal from D10.1.5 to D10.1.8 and getting errors
TypeError: Drupal\system\PathBasedBreadcrumbBuilder::__construct(): Argument #7 ($requestGenerator) must be of type Drupal\system\RequestGenerator, Drupal\Core\Utility\RequestGenerator given, called in /var/www/docroot/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 in Drupal\system\PathBasedBreadcrumbBuilder->__construct() (line 63 of core/modules/system/src/PathBasedBreadcrumbBuilder.php).
But not able to find the solution, Please help me to fix this issue.
Thanks in Advance.