serverhosh Posted August 21, 2020 Share Posted August 21, 2020 Hi After we update the whmcs to 7.10.2, client registration causing issue. Error: Call to a member function marketingEmailOptOut() on null in /home/{HIDE}/includes/clientfunctions.php:0Stack trace:#0 /home/serverhosh/public_html/{HIDE}/register.php(0): addClient('SwanGreen', 'sfdsdf', '', 'sdfsdfsd@gmail....', '34543534534', '', 'kolkata', 'West Bengal', '700101', 'IN', '+91.34534543454', 'Plmqaz@123', '', '', true, Array, '6610446c-be5d-4...', false, '')#1 {main} Just a note, MySQL Strict Mode is disabled Please help us to fix the issue as it's caused a Big Problem. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted August 22, 2020 WHMCS Support Manager Share Posted August 22, 2020 Hi @serverhosh, The error is caused by out-dated custom template files. Please make sure you've consumed the template changes between the old version and 7.10.2. The diffs are published in the release notes: https://docs.whmcs.com/Version_7.10.0_Release_Notes#Template_Changes As an immediate workaround you can switch to the stock "Six" template via Setup > General Settings > General tab 1 Quote Link to comment Share on other sites More sharing options...
serverhosh Posted August 22, 2020 Author Share Posted August 22, 2020 We changed to SIX but still same issue. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted August 24, 2020 Share Posted August 24, 2020 @serverhosh it may be best to open a support ticket via www.whmcs.com/submit-a-ticket or www.whmcs.com/reseller-support 0 Quote Link to comment Share on other sites More sharing options...
123host Posted September 17, 2020 Share Posted September 17, 2020 It is crazy that every time a template is updated we have to re-apply our customisations. Wouldn't it be a novel idea for WHMCS to have child templates like most other software does? That would solve this problem for all of us once and for all. 0 Quote Link to comment Share on other sites More sharing options...
123host Posted September 17, 2020 Share Posted September 17, 2020 1 minute ago, 123host said: It is crazy that every time a template is updated we have to re-apply our customisations. Wouldn't it be a novel idea for WHMCS to have child templates like most other software does? That would solve this problem for all of us once and for all. Curious, I just checked the changelog for Six template from 7.9.2 to 7.10.2 and it shows Quote 23 files changed with 817 additions and 232 deletions To expect us to update our customisations when such a huge number of changes are made is crazy. 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted September 23, 2020 WHMCS Support Manager Share Posted September 23, 2020 Hi @123host, We appreciate that manually processing changes could be time-consuming, which is why we publish them to GitHub. Using git will enable you to consume template changes in minutes once setup. Check out this blog post for the info: https://blog.whmcs.com/112975/customising-templates-the-easy-way 0 Quote Link to comment Share on other sites More sharing options...
123host Posted September 24, 2020 Share Posted September 24, 2020 @WHMCS John I followed the link. In the blog article there is an example Copy & Paste: git clone git@github.com:WHMCS/templates-six.git my-hosting-company but it fails # git clone git@github.com:WHMCS/templates-six.git whmcsfiles Cloning into 'whmcsfiles'... Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. 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.