Undefined method RequestStack::getMasterRequest()

Created on 28 September 2023, about 1 year ago
Updated 23 October 2023, about 1 year ago

Problem/Motivation

Unfortunately, I had to uninstall the module on the productive environment, as it demonstrably slowed down the calls to the web application. on the dblog, you can find the following PHP error for each request:

Error: Call to undefined method Symfony\Component\HttpFoundation\RequestStack::getMasterRequest() in Drupal\big_pipe_sessionless\Render\BigPipeSessionless->sendContent() (Zeile 84 in /var/www/docroot/modules/contrib/big_pipe_sessionless/src/Render/BigPipeSessionless.php)
#0 /var/www/docroot/core/modules/big_pipe/src/Render/BigPipeResponse.php(112): Drupal\big_pipe_sessionless\Render\BigPipeSessionless->sendContent()
#1 /var/www/vendor/symfony/http-foundation/Response.php(423): Drupal\big_pipe\Render\BigPipeResponse->sendContent()
#2 /var/www/docroot/index.php(20): Symfony\Component\HttpFoundation\Response->send()
#3 {main}

my setup looks like this: Drupal 10.1.x, PHP 8.1.22, nginx 1.24... it seems that a deprecated method is called, which no longer exists under drupal 10.

can anyone else confirm this?

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: duplicate

Version

2.0

Component

Code

Created by

🇩🇪Germany zcht

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

Comments & Activities

Production build 0.71.5 2024