Although I'm not sure if my problem is related, the line where things go wrong is exact the same one.
After upgrading from 8.x-1.0-rc4 to 2.0.0-alpha2 my website (PHP 8.2.0) goes down right away "The website encountered an unexpected error. Please try again later.". Looking in the logs I see this error:
ArgumentCountError: Too few arguments to function Drupal\tvi\Enhancer\RouteEnhancer::__construct(), 1 passed in .....
You would expect that the given patch here would solve the problem, but it's not the case. The comma was removed, but it's still not working. Clearing the cache and even restarting my server doesn't help. Any idea?
I had the same issue over here. Nothing worked. Because the website was running on an acceptance environment on shared hosting, I logged in into DirectAdmin and under PHP-settings disabled and enabled the 'Opcache' checkbox. That fixed the problem for me!
@xpersonas Your work and help is much appreciated! After waiting for a long time, trying to find other modules that works, while ignoring the mails telling me I have an unsupported module in my project, it would be great if this module would be alive again!
So thanks again for your efforts!