After the update of php from 5.6 to 7.4, I get an error in client area when trying to edit domain contact details using a registrar module developed on my own.
The page is /admin/clientsdomaincontacts.php?domainid=5&action=saveclientarea.php?action=domaincontacts , and I get the error when confirming the data (and before the data being submitted to the Registrar)
The error message refers only to WHMCS internal modules, so it's useless to me to understand the issue:
TypeError: Argument 3 passed to WHMCS\Domains::saveContactDetails() must be of the type array, string given, called in /home/user/public_html/admin/clientsdomaincontacts.php on line 31 and defined in /home/user/public_html/vendor/whmcs/whmcs-foundation/lib/Domains.php:0
Stack trace:
#0 /home/user/public_html/admin/clientsdomaincontacts.php(31): WHMCS\Domains->saveContactDetails(Object(WHMCS\Client), Array, '', '')
#1 {main}