Muneef Posted August 17 Share Posted August 17 Please help me to fix this error [17-Aug-2024 16:33:03 UTC] [WHMCS Application] ERROR: Error: Call to a member function isYearly() on null in /home/abc356/whmcsdata/templates_c/c8831833d1c50d9c991af35230c205f448c1eab5_0.file.upsell.tpl.php:99 Stack trace: #0 /home/abc356/abc356.hostiko.pw/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_66bfa59d5639a7_94116343() #1 /home/abc356/abc356.hostiko.pw/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode() #2 /home/abc356/abc356.hostiko.pw/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render() #3 /home/abc356/abc356.hostiko.pw/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(232): Smarty_Internal_Template->render() #4 /home/abc356/abc356.hostiko.pw/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute() #5 /home/abc356/abc356.hostiko.pw/vendor/whmcs/whmcs-foundation/lib/Smarty.php(0): Smarty_Internal_TemplateBase->fetch() #6 /home/abc356/abc356.hostiko.pw/vendor/whmcs/whmcs-foundation/lib/MarketConnect/Promotion/Promotion.php(0): WHMCS\Smarty->fetch() #7 /home/abc356/abc356.hostiko.pw/vendor/whmcs/whmcs-foundation/lib/MarketConnect/Promotion/Promotion.php(0): WHMCS\MarketConnect\Promotion\Promotion->render() #8 /home/abc356/abc356.hostiko.pw/vendor/whmcs/whmcs-foundation/lib/MarketConnect/Promotion.php(0): WHMCS\MarketConnect\Promotion\Promotion->__toString() #9 /home/abc356/abc356.hostiko.pw/vendor/whmcs/whmcs-foundation/lib/MarketConnect/Promotion.php(0): WHMCS\MarketConnect\Promotion::renderPromotionsCarousel() #10 [internal function]: WHMCS\MarketConnect\Promotion::WHMCS\MarketConnect\{closure}() #11 /home/abc356/abc356.hostiko.pw/vendor/whmcs/whmcs-foundation/lib/Hook/Manager.php(0): call_user_func() #12 /home/abc356/abc356.hostiko.pw/vendor/illuminate/support/Facades/Facade.php(261): WHMCS\Hook\Manager->run() #13 /home/abc356/abc356.hostiko.pw/includes/functions.php(0): Illuminate\Support\Facades\Facade::__callStatic() #14 /home/abc356/abc356.hostiko.pw/clientarea.php(0): run_hook() #15 {main} {"exception":"[object] (Error(code: 0): Call to a member function isYearly() on null at /home/abc356/whmcsdata/templates_c/c8831833d1c50d9c991af35230c205f448c1eab5_0.file.upsell.tpl.php:99)"} [] 0 Quote Link to comment Share on other sites More sharing options...
pRieStaKos Posted August 18 Share Posted August 18 Try to clear template cache from Admin and check again. 0 Quote Link to comment Share on other sites More sharing options...
kerrya Posted September 21 Share Posted September 21 I have the exact same issue and clearing template cache didn't work: Error: Call to a member function isYearly() on null in /home/globalst/whmcsdata/templates_c/a4534c29bd0f3da2753396e0af266654fa8cf180_0.file.upsell.tpl.php:99 Stack trace: #0 /home/globalst/public_html/whmcs/vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php(123): content_66eee9bfdfead5_52433965(Object(Smarty_Internal_Template)) #1 /home/globalst/public_html/whmcs/vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php(114): Smarty_Template_Resource_Base->getRenderedTemplateCode(Object(Smarty_Internal_Template)) #2 /home/globalst/public_html/whmcs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php(216): Smarty_Template_Compiled->render(Object(Smarty_Internal_Template)) #3 /home/globalst/public_html/whmcs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(232): Smarty_Internal_Template->render(false, 0) #4 /home/globalst/public_html/whmcs/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php(116): Smarty_Internal_TemplateBase->_execute(Object(Smarty_Internal_Template), Array, NULL, NULL, 0) #5 /home/globalst/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/Smarty.php(0): Smarty_Internal_TemplateBase->fetch('/home/globalst/...', Array, NULL, NULL, false, true, false) #6 /home/globalst/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/MarketConnect/Promotion/Promotion.php(0): WHMCS\Smarty->fetch('/home/globalst/...', Array) #7 /home/globalst/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/MarketConnect/Promotion/Promotion.php(0): WHMCS\MarketConnect\Promotion\Promotion->render() #8 /home/globalst/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/MarketConnect/Promotion.php(0): WHMCS\MarketConnect\Promotion\Promotion->__toString() #9 /home/globalst/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/MarketConnect/Promotion.php(0): WHMCS\MarketConnect\Promotion::renderPromotionsCarousel(Array) #10 /home/globalst/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/Hook/Manager.php(0): WHMCS\MarketConnect\Promotion::WHMCS\MarketConnect\{closure}(Array) #11 /home/globalst/public_html/whmcs/vendor/illuminate/support/Facades/Facade.php(261): WHMCS\Hook\Manager->run('ClientAreaHomep...', Array, false) #12 /home/globalst/public_html/whmcs/includes/functions.php(0): Illuminate\Support\Facades\Facade::__callStatic('run', Array) #13 /home/globalst/public_html/whmcs/clientarea.php(0): run_hook('ClientAreaHomep...', Array) #14 {main} 0 Quote Link to comment Share on other sites More sharing options...
DennisHermannsen Posted September 21 Share Posted September 21 Do you have a custom hook for ClientAreaHomepagePanels? Try disabling it if you have. 0 Quote Link to comment Share on other sites More sharing options...
kerrya Posted September 22 Share Posted September 22 Nothing custom On 9/21/2024 at 5:07 PM, DennisHermannsen said: Do you have a custom hook for ClientAreaHomepagePanels? Try disabling it if you have. 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.