Undefined array key error

Created on 30 August 2023, over 1 year ago
Updated 4 October 2023, about 1 year ago

Problem/Motivation

Drupal 9.5.10 - I have not updated the Workbench Access module in a little while.

We are getting an error for users who have more limited permissions when saving a specific type of custom content. The error trace will be shared as a file below.

This is the main message:

Warning: Undefined array key "handler_settings" in Drupal\workbench_access\Plugin\EntityReferenceSelection\TaxonomyHierarchySelection->getReferenceableEntities() (line 114 of /home/limestonedouglas/sandbox/web/modules/contrib/workbench_access/src/Plugin/EntityReferenceSelection/TaxonomyHierarchySelection.php)

Steps to reproduce

While logged in as a type of elevated user with limited permissions (and not as developer with full permissions), we get an error while saving certain types of custom content. It would be hard to reproduce without sharing details of the role/permissions and content type(s). We don't know right now if it's limited to just one content type.

Please provide any ideas on where to begin troubleshooting or resolving this. I don't know enough about Drupal or this module to pinpoint where to start.

Thank you

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States rraney

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

Comments & Activities

Production build 0.71.5 2024