Drupal\powertagging\Commands\PowertaggingCommands::__construct(): Argument #2 ($request_stack) must be of type Drupal\Core\Http\RequestStack, Symfony\Component\HttpFoundation\RequestStack given

Created on 24 August 2023, about 1 year ago
Updated 29 August 2023, about 1 year ago
[error]  TypeError: Drupal\powertagging\Commands\PowertaggingCommands::__construct(): Argument #2 ($request_stack) must be of type Drupal\Core\Http\RequestStack, Symfony\Component\HttpFoundation\RequestStack given, called in ../web/core/lib/Drupal/Component/DependencyInjection/Container.php on line 259 in Drupal\powertagging\Commands\PowertaggingCommands->__construct() (line 47 of ../web/modules/contrib/powertagging/src/Commands/PowertaggingCommands.php) #0 ../web/core/lib/Drupal/Component/DependencyInjection/Container.php(259): Drupal\powertagging\Commands\PowertaggingCommands->__construct()

There is a wrong declaration in PowertaggingCommands.

/**
   * The request stack.
   *
   * @var \Drupal\Core\Http\RequestStack
   */
  protected $requestStack;
🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇷🇴Romania anthelixes

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

Comments & Activities

Production build 0.71.5 2024