Creating entities fails when we have an entityqueue configured with Entity Reference Views

Created on 15 May 2023, about 1 year ago
Updated 13 November 2023, 8 months ago

Creating an entity fails when we have an entityqueue configured with Entity Reference Views because the entity queue doesn't have a target bundle.

TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in in_array() (line 130 of modules/contrib/auto_entityqueue/auto_entityqueue.module).
in_array('article', NULL) (Line: 130)
auto_entityqueue_get_queues_by_type_and_bundle('node', 'article') (Line: 59)
auto_entityqueue_entity_insert(Object)
call_user_func_array(Object, Array) (Line: 426)
...
πŸ› Bug report
Status

Closed: duplicate

Version

2.1

Component

Code

Created by

πŸ‡«πŸ‡·France Soubi

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

Comments & Activities

Production build 0.69.0 2024