- Issue created by @bogdog400
As per the linked change record, symfony-cmf/routing has been deprecated. The solution is to change the reference to \Drupal\Core\Routing\RouteObjectInterface.
https://www.drupal.org/node/3151009 →I was able to work around the issue on my local instance by changing line 176 of the january.theme file to:
if ($route = $request->attributes->get(\Drupal\Core\Routing\RouteObjectInterface::ROUTE_OBJECT)) { $title = \Drupal::service('title_resolver')->getTitle($request, $route); $variables['page__title']=strip_tags($title); }
- First commit to issue fork.
- @viren18febs opened merge request.
- Status changed to Needs review
about 1 year ago 11:22am 4 October 2023 - 🇮🇳India viren18febS
Hi @bogdog400
Fixed the issue & generated the MR, please review. - 🇺🇸United States bogdog400
I installed the latest dev version with composer:
composer require 'drupal/january_theme:1.0.x-dev@dev'
It runs fine. The theme installs and displays without an error.
Thanks!
- 🇬🇧United Kingdom james hawthorn-byng
If anyone looking for a patch for the current composer version, I have attached a patch for version 1.01