Thanks for that comment.
Maybe there should be a documentation update task to make that fact clearer.
Queue not found after creating items
Drupal core: 9.4.5
PHP-versie: 8.1.8
10.3.34-MariaDB
Via Ultimate cron we create items in a queue.
... get $listresult via API request ...
$queue_factory = \Drupal::service('queue');
$queue = $queue_factory->get('custommodulequeue');
foreach ($listResult as $item) {
$queue->createItem($item);
}
The items are created in the table 'queue':
"item_id","name","data","expire","created"
"226","custommodulequeue","[BLOB]","0","1659970019"
Via Queue UI or "drush queue:list": the queue is not visible.
Via cron the queue worker is not executed.
Via "drush queue:run custommodulequeue" we get:
[error] Queue not found: custommodulequeue
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Thanks for that comment.
Maybe there should be a documentation update task to make that fact clearer.