Mailer failed with Attempt to read property "client" on null

My reminder emails are failing again.

From /storaget/invoiceninja.log

[2024-12-19 08:00:02] production.INFO: Sending recurring invoices 2024-12-19 08:00:02
[2024-12-19 08:00:02] production.INFO: 2024-12-19 Sending Recurring Invoices. Count = 0
[2024-12-19 08:00:02] production.INFO: Recurring invoice send duration 2024-12-19 08:00:02 - 2024-12-19 08:00:02
[2024-12-19 08:00:11] production.INFO: Trying to send to xxx@xxx 2024-12-19 08:00:11
[2024-12-19 08:00:11] production.INFO: Using mailer => smtp
[2024-12-19 08:00:11] production.INFO: Mailer failed with Attempt to read property “client” on null
[2024-12-19 08:00:13] production.INFO: reminder2
[2024-12-19 08:00:13] production.INFO: Trying to send to [email protected] 2024-12-19 08:00:13
[2024-12-19 08:00:13] production.INFO: Using mailer => smtp
[2024-12-19 08:00:14] production.INFO: Trying to send to xxx@xxx 2024-12-19 08:00:14
[2024-12-19 08:00:14] production.INFO: Using mailer => smtp
[2024-12-19 08:00:23] production.INFO: Trying to send to xxx@xxx 2024-12-19 08:00:23
[2024-12-19 08:00:23] production.INFO: Using mailer => smtp
[2024-12-19 08:00:23] production.INFO: Mailer failed with Attempt to read property “client” on null
[2024-12-19 08:00:57] production.INFO: Trying to send to xxx@xxx 2024-12-19 08:00:57
[2024-12-19 08:00:57] production.INFO: Using mailer => smtp
[2024-12-19 08:00:57] production.INFO: Mailer failed with Attempt to read property “client” on null
[2024-12-19 08:01:03] production.INFO: Subscription Cron 2024-12-19 08:01:03
[2024-12-19 08:02:06] production.INFO: Trying to send to xxx@xxx 2024-12-19 08:02:06
[2024-12-19 08:02:06] production.INFO: Using mailer => smtp
[2024-12-19 08:02:07] production.INFO: Mailer failed with Attempt to read property “client” on null
[2024-12-19 08:02:08] production.INFO: Trying to send to [email protected] 2024-12-19 08:02:08
[2024-12-19 08:02:08] production.INFO: Using mailer => smtp
[2024-12-19 08:02:09] production.INFO: Trying to send to xxx@xxx 2024-12-19 08:02:09
[2024-12-19 08:02:09] production.INFO: Using mailer => smtp
[2024-12-19 08:05:45] production.INFO: App\Jobs\Mail\NinjaMailerJob has been attempted too many times.

/storage/invoiceninja-reminders.log has this:

[2024-12-19 08:00:02] production.INFO: Sending invoice reminders on 2024-12-19 08:00:02
[2024-12-19 08:00:03] production.INFO: #BP20241163 => reminder template = reminder2
[2024-12-19 08:00:03] production.INFO: 2024-12-19 08:00:03 INV #BP20241163 : Touching Reminder => reminder2
[2024-12-19 08:00:03] production.INFO: Sending quote reminders on 2024-12-19 08:00:03
[2024-12-19 08:00:03] production.INFO: Firing reminder email for invoice BP20241163 - reminder2

That’s it. That’s all I know. There’s nothing in /storage/laraval.log at that time. Where do I even start with this?

I’m on self-hosted invoiceninja v5.11.3-W171 running on Ubuntu 24.04.1

Hi,

I think it may be the same as this issue: