Details
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.