Jump to content

Create Invoice cron task fails


nahanil

Recommended Posts

Quote

[2020-05-11 07:45:01] general.ERROR: Uncaught Exception TypeError: "Argument 1 passed to Invoices::getRecurringInvoices() must be of the type array, null given, called in blesta/app/models/invoices.php on line 2304" at yada yada..

The method call in question has `null` hard coded. Ouch

<?php
// ...
public function getAllRenewingRecurring($client_group_id)
// V L#2304... here we go boom
  $this->Record = $this->getRecurringInvoices(null, false)->

This was a "fresh" install and likely the first cron run. The task is still spinning at admin/settings/company/automation/ after ~1.25 hrs

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...