Jump to content

issue in registrar module after php update from 5.6 to 7.2


Recommended Posts

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}

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated