Uploaded image for project: 'Blesta Core'
  1. Blesta Core
  2. CORE-3614

Fatal error when renewing recurring invoices

    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)"}

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            abdy Abdy Franco
            Reporter:
            jonathan Jonathan Reissmueller
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              26/May/20

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 19 minutes
              19m

                Agile