TypeError: Drupal\restrict_route_by_ip\Service\RestrictIpService::__construct(): Argument #6 ($route_provider) must be of type Drupal\Core\Routing\RouteProvider, Drupal\Core\Routing\RouteProviderLazyBuilder given

Created on 12 April 2023, over 1 year ago
Updated 14 May 2024, 6 months ago

Problem/Motivation

When enabling a module with Drush and doing some node entities save in the hook_install of this module, it fails with this error:
TypeError: Drupal\restrict_route_by_ip\Service\RestrictIpService::__construct(): Argument #6 ($route_provider) must be of type Drupal\Core\Routing\RouteProvider, Drupal\Core\Routing\RouteProviderLazyBuilder given

🐛 Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇫🇷France StephaneQ Paris 🇫🇷

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

Comments & Activities

Production build 0.71.5 2024