Troubleshooting an Oops! Call to undefined function WHMCS\CALinkUpdateCC Error Message

Symptom

After applying the 7.8.2 update and visiting the pwreset.php page, the following Oops! error is displayed:

 

Call to undefined function calinkupdatecc()' in  /home/v78whmcssupport/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/ClientArea.php:0

Cause

Friendly URLs for the password reset page have been introduced /password/reset/begin and the pwreset.php file deprecated.

Solution

Update any templates or links pointing to /pwreset.php to the new password reset URL index.php?rp=/password/reset/begin              

Workaround

A hotfix has been created which will resolve this error by redirecting pwreset.php to the new Friendly URL. It can be downloaded from:

https://whmcs.community/files/file/111-core-13721-pwreset-undefined-function/