Calling \Drupal\Core\Menu\MenuActiveTrail::__construct() without the $pathMatcher argument is deprecated in 11.2.0 and will be required in 12.0.0.
More information:
https://www.drupal.org/node/3523495 →
The MenuBasedBreadcrumbBuilder has one call of the MenuActiveTrail constructor that misses the $pathMatcher argument.
Add $pathMatcher to the call.
Active
2.0
Code