Hosted recurring not working

Hello,

I am currently trying to get the recurring invoices working. I have setup a cron (it runs every minute so I don’t have to wait a full hour).

It does however not seem to work, I get emailed the following log:

2015-08-16 Running SendRecurringInvoices…
1 recurring invoice(s) found
Processing Invoice 84 - Should send YES

[ErrorException]
Trying to get property of non-object

Is this a known bug, am I doing anything wrong? Anyone know this problem?

Can you check storage/logs/laravel.log for details about the error.

We just released v2.3.1, it’s possible it will help.

https://dl.dropboxusercontent.com/u/2909575/ninja-v2.3.1.zip

Have already installed 2.3.1.

The log has a bunch of these:
[2015-08-16 13:22:01] production.ERROR: ErrorException [0] : /home/dcreati/domains/dcreative.nl/public_html/invoice/app/Listeners/HandleUserSettingsChanged.php [Line 30] => Trying to get property of non-object
{“context”:“PHP”,“user_id”:0,“user_name”:"",“url”:“http://invoice.dcreative.nl”,“user_agent”:"",“ip”:“127.0.0.1”,“count”:1}
[2015-08-16 13:23:01] production.ERROR: ErrorException [0] : /home/dcreati/domains/dcreative.nl/public_html/invoice/app/Listeners/HandleUserSettingsChanged.php [Line 30] => Trying to get property of non-object
{“context”:“PHP”,“user_id”:0,“user_name”:"",“url”:“http://invoice.dcreative.nl”,“user_agent”:"",“ip”:“127.0.0.1”,“count”:1}
[2015-08-16 13:24:01] production.ERROR: ErrorException [0] : /home/dcreati/domains/dcreative.nl/public_html/invoice/app/Listeners/HandleUserSettingsChanged.php [Line 30] => Trying to get property of non-object

I have just noticed something strange. If there is NO recurring invoice this is the message I get:

2015-08-16 Running SendRecurringInvoices…
0 recurring invoice(s) found
Done

Without an error. So, there seems to be an issue with the handling of recurring invoices. Am I doing something wrong?

I think I see the problem, please try using:

https://dl.dropboxusercontent.com/u/2909575/ninja-v2.3.2.zip

Yes. That seems to be working. Thanks!