Problem/Motivation

Hi, after upgrading to Drupal 10.2 getting wsod and:

Steps to reproduce

Uncaught PHP Exception TypeError: "Drupal\legal\EventSubscriber\LegalNavigationLock::__construct(): Argument #5 ($request_stack) must be of type Drupal\Core\Http\RequestStack, Symfony\Component\HttpFoundation\RequestStack given, called in /var/www/html/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259" at /var/www/html/web/modules/contrib/legal/src/EventSubscriber/LegalNavigationLock.php line 83

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

Anaconda777 created an issue. See original summary.

anybody’s picture

Version: 3.0.1 » 3.0.x-dev
Category: Support request » Bug report
Priority: Minor » Normal
Status: Active » Postponed (maintainer needs more info)

@Anaconda777 did you clear caches? Does this issue persist?

I'm wondering why nobody else ran into this, if it's an issue...

john franklin’s picture

@Anaconda777, do you have an old patch from #2897486: Don't log out users who do not accept the T&C applied to your site? The LegalNavigationLock is introduced by the patch in that issue and doesn't exist in the current code base.