Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 4.10.0-b1
-
Fix Version/s: 4.10.0
-
Component/s: None
-
Labels:None
Description
Invoices::getRecurringInvoices() was updated to accept an array of filters instead of individual parameters. It looks like Invoices::getAllRenewingRecurring() was not updated to reflect this and so encounters a fatal error which prevents the recurring invoice cron job from running:
[2020-05-06 22:56:53] general.ERROR: Uncaught Exception TypeError: "Argument 1 passed to
Invoices::getRecurringInvoices() must be of the type array, null given, called in
/home/blestacp/public_html/app/models/invoices.php on line 2304" at
/home/blestacp/public_html/app/models/invoices.php line 2979 {"exception":"[object] (TypeError(code:
0): Argument 1 passed to Invoices::getRecurringInvoices() must be of the type array, null given,
called in /home/blestacp/public_html/app/models/invoices.php on line 2304 at
/home/blestacp/public_html/app/models/invoices.php:2979)"}