при заходе по ссылке users/1/balance получаю ошибку 500, при включенной отладке получаю это:
Warning: Undefined variable $user in /public_html/templates/default/controllers/billing/profile_tab.tpl.php on line 12
Warning: Attempt to read property «id» on null in /public_html/templates/default/controllers/billing/profile_tab.tpl.php on line 12
Warning: Undefined variable $user in /public_html/templates/default/controllers/billing/profile_tab.tpl.php on line 34
Fatal error: Uncaught Error: Call to a member function isInGroups() on null in /public_html/templates/default/controllers/billing/profile_tab.tpl.php:34 Stack trace: #0 /public_html/system/core/template.php(2692): include() #1 /public_html/system/core/template.php(2647): cmsTemplate->processRender() #2 /public_html/system/core/template.php(2621): cmsTemplate->render() #3 /public_html/system/controllers/billing/hooks/user_tab_show.php(60): cmsTemplate->renderInternal() #4 /public_html/system/core/controller.php(761): onBillingUserTabShow->run() #5 /public_html/system/core/controller.php(720): cmsController->runExternalHook() #6 /public_html/system/controllers/users/actions/profile_tab.php(39): cmsController->runHook() #7 /public_html/system/core/controller.php(621): actionUsersProfileTab->run() #8 /public_html/system/core/controller.php(481): cmsController->runExternalAction() #9 /public_html/system/core/frontend.php(18): cmsController->executeAction() #10 /public_html/system/core/controller.php(457): cmsFrontend->executeAction() #11 /public_html/system/core/core.php(1032): cmsController->runAction() #12 /public_html/system/core/core.php(199): cmsCore->runController() #13 /public_html/index.php(28): cmsCore->runHttp() #14 {main} thrown in /public_html/templates/default/controllers/billing/profile_tab.tpl.php on line 34
В какую сторону копать? (остальные компоненты работают нормально, за исключением гридов контента в admin/content, версия php 8.4).
(upd. залогинен на сайте тоже как user_id = 1)