Company Posted March 29, 2022 Share Posted March 29, 2022 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} 0 Quote Link to comment Share on other sites More sharing options...
pRieStaKos Posted March 31, 2022 Share Posted March 31, 2022 Make sure your client details form is passing the details to `contactdetails` array. 0 Quote Link to comment Share on other sites More sharing options...
Company Posted April 1, 2022 Author Share Posted April 1, 2022 How to make sure after the system is encrypted with ionCube? 0 Quote Link to comment Share on other sites More sharing options...
pRieStaKos Posted April 4, 2022 Share Posted April 4, 2022 On 4/1/2022 at 6:09 PM, Company said: How to make sure after the system is encrypted with ionCube? You said you developed on your own… 0 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.