Kekz
+1
Репутация
0
Рейтинг
Ошибка возникает в файле: /templates/default/controllers/billing/profile_tab.tpl в 34 строке.
Решение: Замена 34 строки на :
$is_exchange = false;
try {
$hasRtpOrPtr = !empty($this->controller->options['is_rtp']) || !empty($this->controller->options['is_ptr']);
if ($hasRtpOrPtr && $user && method_exists($user, 'isInGroups')) {
$rtpGroups = $this->controller->options['rtp_groups'] ?? [];
$is_exchange = $user->isInGroups($rtpGroups);
}
} catch (Exception $e) {
// Тихо игнорируем ошибки
}