If a webform is deleted and there are unprocessed submissions in the queue, an error occurs when the item is processed because the webform submission no longer exists. Additionally, when a webform is deleted a submission with state=deleted is added to the queue. Processing those items subsequently fails.
The error Call to a member function getWebform() on null in Drupal\webform_post_remote_queue\Plugin\QueueWorker\WebformPostRemoteQueue->processItem()
is shown.
Do not post deleted submissions to the queue, and check does the webform submission still exist when processing the queue items.
Active
1.0
Code