host.mahmud Posted February 17, 2019 Share Posted February 17, 2019 Hi, I just updated whmcs to the latest version 7.7. Everything is okay but domain register page is not loading. showing some error. can anybody check at https://mucahost.com/cart.php?systpl=six&a=add&domain=register I am also adding error code bellow I am using custom template for both website and client area. I also tried with the default template six. but not working. Only orderform 'boxes' is working. The problem showing only in domain register page. Error: Call to a member function getButtonClass() on string in /home/username/whmcs-data/templates_c/f77c12c517430aa77542683587a376d15e9e3ad2_0.file.domainregister.tpl.php:73Stack trace:#0 /home/username/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_5c69dd3fafed77_98849531(Object(Smarty_Internal_Template))#1 /home/username/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template))#2 /home/username/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template))#3 /home/username/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(232): Smarty_Internal_Template->render(false, 0)#4 /home/username/public_html/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute(Object(Smarty_Internal_Template), NULL, NULL, NULL, 0)#5 /home/username/public_html/vendor/whmcs/whmcs-foundation/lib/Smarty.php(0): Smarty_Internal_TemplateBase->fetch('/home/username...', NULL, NULL, NULL, false, true, false)#6 /home/username/public_html/includes/clientareafunctions.php(0): WHMCS\Smarty->fetch('/home/username...')#7 /home/username/public_html/cart.php(0): outputClientArea('domainregister', false, Array)#8 {main} Thanks. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 18, 2019 Share Posted February 18, 2019 I assume this is fixed because i'm not seeing the error on your site (using your custom template), or via the above link ? 0 Quote Link to comment Share on other sites More sharing options...
host.mahmud Posted February 19, 2019 Author Share Posted February 19, 2019 20 hours ago, brian! said: I assume this is fixed because i'm not seeing the error on your site (using your custom template), or via the above link ? Hi, yes I fixed it. 🙂 0 Quote Link to comment Share on other sites More sharing options...
graisbeck Posted February 22, 2019 Share Posted February 22, 2019 On 2/19/2019 at 11:46 AM, host.mahmud said: Hi, yes I fixed it. 🙂 Hi, Can you please share how you fixed this issue, as I have similar problem? Thanks 0 Quote Link to comment Share on other sites More sharing options...
host.mahmud Posted February 22, 2019 Author Share Posted February 22, 2019 1 minute ago, graisbeck said: Hi, Can you please share how you fixed this issue, as I have similar problem? Thanks Hi, This was template issue. Please follow whmcs template change documentation. https://docs.whmcs.com/Version_7.7.0_Release_Notes#Template_Changes 0 Quote Link to comment Share on other sites More sharing options...
graisbeck Posted February 22, 2019 Share Posted February 22, 2019 33 minutes ago, host.mahmud said: Hi, This was template issue. Please follow whmcs template change documentation. https://docs.whmcs.com/Version_7.7.0_Release_Notes#Template_Changes Thanks for your reply, but I don't see how to fix this error. 0 Quote Link to comment Share on other sites More sharing options...
host.mahmud Posted February 22, 2019 Author Share Posted February 22, 2019 2 hours ago, graisbeck said: Thanks for your reply, but I don't see how to fix this error. You can hire developer to fix your issue. 0 Quote Link to comment Share on other sites More sharing options...
graisbeck Posted February 22, 2019 Share Posted February 22, 2019 (edited) 8 hours ago, host.mahmud said: You can hire developer to fix your issue. ??????? Since you said that you had solved this I was hoping that you would expand on your reply to help me! Edited February 22, 2019 by graisbeck 0 Quote Link to comment Share on other sites More sharing options...
host.mahmud Posted February 22, 2019 Author Share Posted February 22, 2019 18 minutes ago, graisbeck said: ??????? Since you said that you had solved this I was hoping that you would expand on your reply to help me! I already told you and gave resources to update your template. In details, WHMCS has some template update in last release. Also they added some extra features. You have to update your whmcs template by following their template change guidelines(i gave you link above) to make your template compatible with WHMCS latest version. If you are using default template then you do not need to do anything in your end. But if you are using custom template that you bought from 3rd party, they should have an update of the template to make it compatible with WHMCS version. Anyway, if you don't understand or can't update yourself, you should hire someone to fix it for you. Hope you understand. Thanks. 0 Quote Link to comment Share on other sites More sharing options...
graisbeck Posted February 23, 2019 Share Posted February 23, 2019 I get the same Oops error when using the 'Six' theme as I do when using my custom theme. I've now asked WHMCS for help with this. Thank you for your help. 1 Quote Link to comment Share on other sites More sharing options...
VishalAlim Posted July 18, 2020 Share Posted July 18, 2020 This is bug in WHMCS. If you enable domain from Setup > Domain and do not really activate any domain reseller and add domains for sell it will show rror: Call to a member function getButtonClass() on string in /home/username/whmcs-data/templates_c/f77c12c517430aa77542683587a376d15e9e3ad2_0.file.domainregister.tpl.php:73 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.