Hi Sorry im not a developer so I can't shed much light on this, except to show what the logs say. I hope this is enough information. The site is down after upgrading drupal/tvi (2.0.0-alpha1 => 2.0.0-alpha2)
Drupal 10.1 on DDEV docker
run composer update.
- Upgrading drupal/tvi (2.0.0-alpha1 => 2.0.0-alpha2)
gives us a white screen with the message. "The website encountered an unexpected error. Please try again later."
Drush ws shows
------- -------------- ------ ---------- -----------------------------------
ID Date Type Severity Message
------- -------------- ------ ---------- -----------------------------------
18388 02/Aug 10:07 php Error Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException: Circular reference detected for service "router_listener", path: "router_listener -> router -> router.no_
18387 02/Aug 10:07 php Error ArgumentCountError: Too few arguments to function Drupal\tvi\Enhancer\RouteEnhancer ::__construct(), 1 passed in /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.ph
18386 02/Aug 10:07 php Error Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException: Circular reference detected for service "router_listener", path: "router_listener -> router -> router.no_
18385 02/Aug 10:07 php Error ArgumentCountError: Too few arguments to function Drupal\tvi\Enhancer\RouteEnhancer ::__construct(), 1 passed in /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.ph
18384 02/Aug 10:06 php Error Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException: Circular reference detected for service "router_listener", path: "router_listener -> router -> router.no_
18383 02/Aug 10:06 php Error ArgumentCountError: Too few arguments to function Drupal\tvi\Enhancer\RouteEnhancer ::__construct(), 1 passed in /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.ph
18382 02/Aug 10:06 php Error Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException: Circular reference detected for service "router_listener", path: "router_listener -> router -> router.no_
18381 02/Aug 10:06 php Error ArgumentCountError: Too few arguments to function Drupal\tvi\Enhancer\RouteEnhancer ::__construct(), 1 passed in /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.ph
18380 02/Aug 10:06 php Error Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException: Circular reference detected for service "router_listener", path: "router_listener -> router -> router.no_
18379 02/Aug 10:06 php Error ArgumentCountError: Too few arguments to function Drupal\tvi\Enhancer\RouteEnhancer ::__construct(), 1 passed in /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.ph
------- -------------- ------ ---------- -----------------------------------
Temporarily I should just roll back with composer require 'drupal/tvi:2.0.0-alpha1'
?
Closed: works as designed
2.0
Code