Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ErrorException: Notice: Undefined variable: t #87

Closed
sentry-miko-ru bot opened this issue May 11, 2021 · 1 comment
Closed

ErrorException: Notice: Undefined variable: t #87

sentry-miko-ru bot opened this issue May 11, 2021 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@sentry-miko-ru
Copy link

Sentry Issue: MIKOPBX-1F4

ErrorException: Notice: Undefined variable: t
  File "/var/tmp/www_cache/volt/%%offload%%rootfs%%usr%%www%%src%%admincabinet%%views%%errors%%show500.volt.php", line 6, in unknown
    <?= $t->_('er_InternalServerError') ?>
  File "/index.php", line 55
    echo $application->handle($_SERVER['REQUEST_URI'])->getContent();
...
(2 additional frame(s) were not displayed)
@jorikfon
Copy link
Collaborator

При поиске по номеру телефона с пробелами и скобками, контроллер возвращал 500 ошибку

@jorikfon jorikfon added the bug Something isn't working label May 11, 2021
@jorikfon jorikfon added this to the Future release 2021.2 milestone May 11, 2021
jorikfon added a commit that referenced this issue May 11, 2021
Добавил проверку на AJAX и реализовал отображение ошибки через whoops в JSON ответе.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant