Change record status: 
Project: 
Introduced in branch: 
10.3.x
Introduced in version: 
10.3.0
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

Pradip Mehta’s picture

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.