Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This looks like a bit of bad copypasta... the function references an $order variable like it's sending an e-mail for an order, but the purpose of the action is to send an e-mail using just a user account and role expiration - i.e. it's order agnostic. Nothing fails, but it should be cleaned up so the error message is meaningful and order tokens aren't expected.
Comments
Comment #1
longwaveFinally fixed in both branches ;)