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!

Command icon 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:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jbaum_13 created an issue. See original summary.

bharath-kondeti made their first commit to this issue’s fork.

bharath-kondeti’s picture

Status: Active » Needs review