Notice (8): Undefined index: json [APP/Controller/AppController.php, line 90]
Warning (512): Unable to emit headers. Headers sent in file=/home/k/kayaby/mwh.msapps.ru/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php line=954 [CORE/src/Http/ResponseEmitter.php, line 71]
Warning (2): Cannot modify header information - headers already sent by (output started at /home/k/kayaby/mwh.msapps.ru/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php:954) [CORE/src/Http/ResponseEmitter.php, line 168]
Warning (2): Cannot modify header information - headers already sent by (output started at /home/k/kayaby/mwh.msapps.ru/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php:954) [CORE/src/Http/ResponseEmitter.php, line 197]
Error: json_decode() expects parameter 1 to be string, null given

json_decode() expects parameter 1 to be string, null given 📋

TypeError
Toggle Vendor Stack Frames
        $context['account'] = !empty($context['uid']) ? (substr$context['uid'], strpos$context['uid'], '@')+1)) : '';
        // Проверяем на администратора аккаунта МойСклад
        $json $context['json'];
        $arr  json_decode($jsontrue);
        $context['isAdministrator'] = !empty($arr['permissions']['admin']['view']) && $arr['permissions']['admin']['view'] == 'ALL' true false;
        // Доступ к приложению только администраторам (ограничение)
        $accounts = [
Error in: ROOT/src/Controller/AppController.php, line 91

If you want to customize this error message, create templates/Error/error500.php