Drupal\Core\Http\RequestStack is deprecated, 2.x dev version can't be enabled on D10

Created on 18 October 2023, about 1 year ago
Updated 22 November 2023, about 1 year ago

Dev version of the module compatible with D10, but after tryng to enable it I'm getting this error:

TypeError: Drupal\quickbooks_api\Access\AuthAccess::__construct(): Argument #2 ($requestStack) must be of type Drupal\Core\Http\RequestStack, Symfony\Component\HttpFoundation\RequestStack given,

That happens because in D10 the service request_stack now refers to class: Symfony\Component\HttpFoundation\RequestStack and the __construct methods in both AuthController and AuthAccess require Drupal\Core\Http\RequestStack.

For the more details see https://www.drupal.org/node/3265121

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇺🇦Ukraine artem_sylchuk Lutsk

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024