Cant find RouteObjectInterface Class

Created on 17 May 2023, about 1 year ago
Updated 31 May 2023, about 1 year ago

When trying to install this module on Drupal 10 I got a "website encountered an unexpected error".

Checking the error logs gets me this log message:

Error: Class "Symfony\Cmf\Component\Routing\RouteObjectInterface" not found in Drupal\simple_password_policy\EventSubscriber\RequestEventSubscriber->checkForUserPasswordExpiration() (line 84 of modules/simple_password_policy/src/EventSubscriber/RequestEventSubscriber.php

Second thing I would suggest to add configure key to the .info.yml to make it easier to navigate to the main configuration page of the module.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India nidhi27

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

Comments & Activities

Production build 0.69.0 2024