Uncaught PHP Exception TypeError

Created on 10 June 2024, 10 months ago
Updated 12 June 2024, 10 months ago

Problem/Motivation

Hi,
After installing this module, my site got wsod.

Error message in nginx logs:

[error] 1089#1089: *765 FastCGI sent in stderr: "PHP message: 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/test/web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259" at /var/www/html/test/web/modules/contrib/legal/src/EventSubscriber/LegalNavigationLock.php line 83" while reading response header from upstream, client: 172.20.10.2, server: new.test.com, request: "GET /en HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php8.3-fpm.sock:", host: "new.test.com", referrer: "https://new.test.com/en/admin/structure/menu/item/5/edit"

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: won't fix

Version

3.0

Component

Code

Created by

🇫🇮Finland anaconda777

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

Comments & Activities

Production build 0.71.5 2024