- Issue created by @chroid
- Status changed to Closed: won't fix
9 months ago 11:25pm 29 February 2024
Adding a field to an entity throws a warning from the Auto Logout module.
Warning: Undefined array key "destination" in Drupal\autologout\EventSubscriber\AutologoutSubscriber->onRequest() (line 137 of modules/contrib/autologout/src/EventSubscriber/AutologoutSubscriber.php).
Warning: Undefined array key 1 in Drupal\autologout\EventSubscriber\AutologoutSubscriber->onRequest() (line 141 of modules/contrib/autologout/src/EventSubscriber/AutologoutSubscriber.php).
Warning: Undefined array key 1 in Drupal\autologout\EventSubscriber\AutologoutSubscriber->onRequest() (line 148
Add new or existing field to an entity, save the field settings step (or fail validation) and warnings are thrown.
There is a patch available that addresses this:
https://www.drupal.org/project/autologout/issues/3301642
🐛
Throws Notice on Login when destination is set
Needs work
(also referenced from
https://www.drupal.org/project/autologout/issues/3336425
✨
PHP8.1
Closed: duplicate
)
Direct link to patch - https://www.drupal.org/files/issues/2022-10-27/3301642-10.patch →
Patch above has been applied and tested, all 3 warnings no longer appear following same steps.
Now just need to apply the patch to Sectors composer.json
.
Closed: won't fix
9.5
Code