Membership: Invoices are not being generated when membership expires

Membership generates an automated invoice when the membership expires – it also generates an email 10 days before and the day of expiration – none of this is no longer happening consistently.