Fixed
Project:
Entityqueue
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Aug 2026 at 09:08 UTC
Updated:
6 Oct 2026 at 07:35 UTC
Jump to comment: Most recent
EntitySubqueue::getItemPosition() triggers "Undefined array key target_id" PHP warning
Warning: Undefined array key "target_id" in Drupal\entityqueue\Entity\EntitySubqueue->@closure:Drupal\entityqueue\Entity\EntitySubqueue::getItemPosition():319() (line 320 of /var/www/html/web/modules/contrib/entityqueue/src/Entity/EntitySubqueue.php) [9cc84d85-1237-4106-a390-25fba2cdaf3b] #0 /var/www/html/web/modules/contrib/entityqueue/src/Entity/EntitySubqueue.php(320): Drupal\error_page\ErrorPageErrorHandler::handleError() #1 [internal function]: Drupal\entityqueue\Entity\EntitySubqueue->@closure:Drupal\entityqueue\Entity\EntitySubqueue::getItemPosition():319() #2 /var/www/html/web/modules/contrib/entityqueue/src/Entity/EntitySubqueue.php(319): array_map() #3 /var/www/html/web/modules/contrib/entityqueue/src/Entity/EntitySubqueue.php(311):
Add an element to the queue.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
alorencComment #4
peri22 commentedI checked this against the '8.x-1.x' branch. The pipeline is completely green and there are no conflicts, so everything looks good to go. Marking RTBC!
Comment #5
peri22 commentedComment #8
amateescu commentedAdded a test and merged into 8.x-1.x, thanks!