PHP Error on 2.0.0-alpha2 update

Created on 2 August 2023, over 1 year ago

Problem/Motivation

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)

Steps to reproduce

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'
?

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇬🇧United Kingdom aesuk

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @aesuk
  • 🇬🇧United Kingdom aesuk

    ah a cron has just run and the site is behaving well. I can leave this open for a short while and report back if anything changes.

  • Status changed to Closed: works as designed over 1 year ago
  • 🇬🇧United Kingdom aesuk

    no new errors - closing

  • 🇭🇺Hungary bubu Hungary

    The same thing happened here after upgrading from 2.0.0-alpha2 to 2.0.0, but the cron couldn't run, I had to put the old version back.

Production build 0.71.5 2024