My clients keep getting this error when trying to view invoices :
Oops!
Something went wrong and we couldn't process your request.
Please go back to the previous page and try again.
Error: Call to a member function clientarea() on null in /home/elanmy/public_html/whmcs/modules/addons/tpl_override/hooks.php:26
Stack trace:
#0 /home/elanmy/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/Hook/Manager.php(0): tpl_override_clientarea(Array)
#1 /home/elanmy/public_html/whmcs/vendor/illuminate/support/Facades/Facade.php(261): WHMCS\Hook\Manager->run('ClientAreaPage', Array, false)
#2 /home/elanmy/public_html/whmcs/includes/functions.php(0): Illuminate\Support\Facades\Facade::__callStatic('run', Array)
#3 /home/elanmy/public_html/whmcs/includes/clientareafunctions.php(0): run_hook('ClientAreaPage', Array)
#4 /home/elanmy/public_html/whmcs/viewinvoice.php(0): outputClientArea('viewinvoice', true, Array)
#5 {main}
I'm using all default templates.