Active
Project:
Digest
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Mar 2022 at 18:16 UTC
Updated:
2 Mar 2022 at 18:16 UTC
Jump to comment: Most recent
Error in the logs is:
TypeError: Argument 1 passed to Drupal\digest\Entity\Digest::send() must implement interface Drupal\user\UserInterface, null given, called in /public_html/modules/digest/src/Plugin/QueueWorker/DigestSendQueue.php on line 73 in Drupal\digest\Entity\Digest->send() (line 298 of /public_html/modules/digest/src/Entity/Digest.php)
We suspect this is because a user is deleted after a queue is created, if so, do we need to check that $user != NULL in the processItem method?
Comments