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

TypeError when processing cron to create invoices from renewing services

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.5.0
    • Fix Version/s: 4.5.1, 4.6.0-b1
    • Component/s: None
    • Labels:
      None

      Description

      The automation task to create invoices for renewing services (i.e. "Create Invoice") may fail to complete due to an exception:

      Argument 1 passed to Module::serviceFieldsToObject() must be of the type array, null given, called in /components/modules/universal_module/universal_module.php on line 97

      This error appears to be isolated to those:

      • running php 7+
      • with a Universal Module product renewing
        • where that product has at least one defined Service Option

      The server's php configuration may also affect whether this issue is encountered. For example, while the exception may occur in php 7.1, it may not in php 7.2.

        Activity

          People

          • Assignee:
            tyson Tyson Phillips (Inactive)
            Reporter:
            tyson Tyson Phillips (Inactive)
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:
              Fix Release Date:
              28/Feb/19

              Agile