Problem/Motivation
When I try to delete a mailing list, i get the following error, even though there are no subscriptions for the mailing list I am trying to delete:
Notice: Object of class Drupal\Core\Entity\Query\Sql\Query could not be converted to int in Drupal\Core\StringTranslation\PluralTranslatableMarkup->render() (line 110 of core/lib/Drupal/Core/StringTranslation/PluralTranslatableMarkup.php).
There is 1 subscription to the Test Mailing List mailing list. You can not remove this mailing list until you have removed that subscription.
Steps to reproduce
Create a mailing list, then try to delete it, and the error appears.
I am on Drupal 9.5.9 and mailing list 8-x.1.3.
Thanks in advance for your help!
Issue fork mailing_list-3366550
Show commands
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 #4
bharath-kondeti CreditAttribution: bharath-kondeti as a volunteer and at Specbee commentedPlease review the fix https://git.drupalcode.org/project/mailing_list/-/merge_requests/3