- Issue created by @zcht
- Status changed to Closed: duplicate
about 1 year ago 12:48am 28 September 2023 - 🇩🇪Germany zcht
My mistake, I overlooked the existing issue: 🐛 Call to undefined method RequestStack::getMainRequest() Postponed: needs info
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?
Closed: duplicate
2.0
Code
My mistake, I overlooked the existing issue: 🐛 Call to undefined method RequestStack::getMainRequest() Postponed: needs info