- Issue created by @isholgueras
When indexing the site, probably because some unrelated error to Custom Breadcrumbs, I've seen there is an Exception that is not being catched in BreadcrumbBuilder::matchPaths.
I was unable to find how to do it in a fresh Drupal + custom breadcrumbs installation.
Catch the InvalidArgumentException and return FALSE as the method returns if there is no breadcrumb.
Here is the error:
InvalidArgumentException while trying to render item entity:node/100146:en with view mode search_index for search index Site Search: Route required in Drupal\Core\Url::fromRouteMatch() (line 170 of /var/www/html/docroot/core/lib/Drupal/Core/Url.php)
Active
1.1
Code