[Class App\Core\Exceptions\RouterException exception error]

Message: Request method for AJAX only

File where call exception: /home/admin/web/znanio.ru/public_html/App/Core/Router.php

Number of line: 111

Route: /kurs/98/

Request method: GET

106
            if (isset(self::$_foundedRoute['ajax']) && self::$_foundedRoute['ajax']) {
107
108
                $httpType = mb_strtolower(isset($_SERVER['HTTP_X_REQUESTED_WITH']) ? $_SERVER['HTTP_X_REQUESTED_WITH'] : '', 'utf-8');
109
110
                if($httpType != 'xmlhttprequest')
111
                    throw new AExp\RouterException('Request method for AJAX only');
112
113
            }
114
115
            if (isset(self::$_foundedRoute['method']))

[Trace block]

#0 /home/admin/web/znanio.ru/public_html/web/index.php(22): App\Core\Router->run()
#1 {main}