Closed (fixed)
Project:
Bootstrap 3 theme
Version:
2.0.0
Component:
Code
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
11 Nov 2025 at 05:46 UTC
Updated:
26 Jan 2026 at 10:09 UTC
Jump to comment: Most recent
A TypeError occurs when attempting to resolve the page title for breadcrumbs.
The error is caused by $route_match->getRouteObject() returningNULL, whileTitleResolver::getTitle() expects a valid Route object.
TypeError: Drupal\Core\Controller\TitleResolver::getTitle(): Argument #2 ($route) must be of type Symfony\Component\Routing\Route, null given, called in /var/www/html/web/themes/contrib/bootstrap3/src/Plugin/Preprocess/Breadcrumb.php on line 45 in Drupal\Core\Controller\TitleResolver->getTitle() (line 50 of /var/www/html/web/core/lib/Drupal/Core/Controller/TitleResolver.php)
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
madelyncruz commentedComment #4
madelyncruz commentedComment #5
mably commentedHi @madelyncruz, can you give us a bit more details on how to reproduce the problem? Haven't been able to reproduce it locally.
Comment #7
mably commented