Remitur Posted October 24, 2018 Share Posted October 24, 2018 After the update of php from 5.6 to 7.2.11, 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 /clientarea.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/devdomai/public_html/whmcs/clientarea.php on line 0 and defined in /home/devdomai/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/Domains.php:0 Stack trace: #0 /home/devdomai/public_html/whmcs/clientarea.php(0): WHMCS\Domains->saveContactDetails(Object(WHMCS\Client), Array, '', NULL) #1 {main} Any idea ?!?! 0 Quote Link to comment Share on other sites More sharing options...
Jade D Posted November 25, 2018 Share Posted November 25, 2018 You will most likely need to contact the module developer, ie the registrar 0 Quote Link to comment Share on other sites More sharing options...
emrag Posted December 4, 2018 Share Posted December 4, 2018 hi Remitur, i faced same problem and found out there's a bug while updating whois info if you select "use existing contact" for every contact. For a temporary fix till offical fix: OPEN: clientareadomaincontactinfo.tpl (or related registrar module template file) FIND: {foreach from=$contactdetails name=contactdetails key=contactdetail item=values} ADD AFTER: <input type="hidden" name="contactdetails[{$contactdetail}][dummykey]" value="1" /> 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.