DiscountController :: update
Request
GET Parameters
None
POST Parameters
None
Uploaded Files
None
Request Attributes
Key | Value |
---|---|
_controller | "App\Controller\DiscountController::update" |
_firewall_context | "security.firewall.map.context.main" |
_remove_csp_headers | true |
_route | "api_login_update" |
_route_params | [] |
_stopwatch_token | "568bf9" |
Request Headers
Header | Value |
---|---|
accept | "*/*" |
accept-encoding | "gzip, br" |
accept-language | "pl-PL,pl;q=0.9" |
cdn-loop | "cloudflare; loops=1" |
cf-connecting-ip | "31.60.33.38" |
cf-ipcountry | "PL" |
cf-ray | "8ff527a4ba8ac3b5-WAW" |
cf-visitor | "{"scheme":"https"}" |
connection | "close" |
content-length | "56" |
content-type | "application/json" |
host | "api.shopwaremobilemanager.com" |
priority | "u=3, i" |
user-agent | "Expo/1017647 CFNetwork/1402.0.8 Darwin/22.2.0" |
x-auth-token | "5e598134-a14d-443c-9942-6ae99320fb2f" |
x-forwarded-for | "31.60.33.38" |
x-forwarded-proto | "https" |
x-php-ob-level | "1" |
Request Content
Pretty
{ "id": "01944ab4abea796082dd274f5b580014", "active": false }
Raw
{"id":"01944ab4abea796082dd274f5b580014","active":false}
Response
Response Headers
Header | Value |
---|---|
cache-control | "no-cache, private" |
content-type | "text/html; charset=UTF-8" |
date | "Thu, 09 Jan 2025 14:35:44 GMT" |
vary | "Accept" |
x-debug-exception | "Warning%3A%20Undefined%20array%20key%20%22shopHash%22" |
x-debug-exception-file | "%2Fhome%2Fcrypbugm%2FMobileMonitorBackend%2Fsrc%2FController%2FDiscountController.php:54" |
x-debug-token | "ade704" |
x-debug-token-link | "https://api.shopwaremobilemanager.com/_profiler/6118bd" |
x-previous-debug-token | "6118bd" |
x-robots-tag | "noindex" |
Cookies
Request Cookies
No request cookies
Response Cookies
No response cookies
Session
Session Metadata
No session metadata
Session Attributes
No session attributes
Session Usage
0
Usages
Stateless check enabled
Session not used.
Flashes
Flashes
No flash messages were created.
Server Parameters
Server Parameters
Defined in .env
Key | Value |
---|---|
APP_DEBUG | "1" |
APP_ENV | "dev" |
APP_SECRET | "8e54db3ce8b274d246cbffce6eb7e745" |
DATABASE_URL | "mysql://crypbugm27:m8MT%26Chd16y@localhost/usrdb_crypbugm27?serverVersion=15&charset=utf8" |
MAILER_DSN | "smtp://noreply%40shopwaremobilemanager.com:eeTv8F-nE-C%21%5D03%[email protected]:587" |
MESSENGER_TRANSPORT_DSN | "doctrine://default?auto_setup=0" |
Defined as regular env variables
Key | Value |
---|---|
CONTENT_LENGTH | "56" |
CONTENT_TYPE | "application/json" |
CONTEXT_DOCUMENT_ROOT | "/usr/local/fastcgi-starter/" |
CONTEXT_PREFIX | "/fastcgist/" |
DOCUMENT_ROOT | "/home/crypbugm/MobileMonitorBackend/public/" |
FCGI_ROLE | "RESPONDER" |
GATEWAY_INTERFACE | "CGI/1.1" |
GROUP | "crypbugm" |
H2PUSH | "off" |
H2_PUSH | "off" |
H2_PUSHED | "" |
H2_PUSHED_ON | "" |
H2_STREAM_ID | "1" |
H2_STREAM_TAG | "3538295-618-1" |
HOME | "/home/crypbugm" |
HTTP2 | "on" |
HTTPS | "on" |
HTTP_ACCEPT | "*/*" |
HTTP_ACCEPT_ENCODING | "gzip, br" |
HTTP_ACCEPT_LANGUAGE | "pl-PL,pl;q=0.9" |
HTTP_CDN_LOOP | "cloudflare; loops=1" |
HTTP_CF_CONNECTING_IP | "31.60.33.38" |
HTTP_CF_IPCOUNTRY | "PL" |
HTTP_CF_RAY | "8ff527a4ba8ac3b5-WAW" |
HTTP_CF_VISITOR | "{"scheme":"https"}" |
HTTP_CONNECTION | "close" |
HTTP_HOST | "api.shopwaremobilemanager.com" |
HTTP_PRIORITY | "u=3, i" |
HTTP_USER_AGENT | "Expo/1017647 CFNetwork/1402.0.8 Darwin/22.2.0" |
HTTP_X_AUTH_TOKEN | "5e598134-a14d-443c-9942-6ae99320fb2f" |
HTTP_X_FORWARDED_FOR | "31.60.33.38" |
HTTP_X_FORWARDED_PROTO | "https" |
ORIG_PATH_INFO | "/index.php" |
ORIG_PATH_TRANSLATED | "/home/crypbugm/MobileMonitorBackend/public/index.php" |
ORIG_SCRIPT_FILENAME | "/usr/local/fastcgi-starter/php8.3" |
ORIG_SCRIPT_NAME | "/fastcgist/php8.3" |
PATH | "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" |
PHP_FCGI_MAX_REQUESTS | "0" |
PHP_SELF | "/index.php" |
QUERY_STRING | "" |
REDIRECT_H2PUSH | "off" |
REDIRECT_H2_PUSH | "off" |
REDIRECT_H2_PUSHED | "" |
REDIRECT_H2_PUSHED_ON | "" |
REDIRECT_H2_STREAM_ID | "1" |
REDIRECT_H2_STREAM_TAG | "3538295-618-1" |
REDIRECT_HANDLER | "php-fastcgi8.3" |
REDIRECT_HTTP2 | "on" |
REDIRECT_HTTPS | "on" |
REDIRECT_REDIRECT_H2PUSH | "off" |
REDIRECT_REDIRECT_H2_PUSH | "off" |
REDIRECT_REDIRECT_H2_PUSHED | "" |
REDIRECT_REDIRECT_H2_PUSHED_ON | "" |
REDIRECT_REDIRECT_H2_STREAM_ID | "1" |
REDIRECT_REDIRECT_H2_STREAM_TAG | "3538295-618-1" |
REDIRECT_REDIRECT_HTTP2 | "on" |
REDIRECT_REDIRECT_HTTPS | "on" |
REDIRECT_REDIRECT_SSL_TLS_SNI | "api.shopwaremobilemanager.com" |
REDIRECT_REDIRECT_STATUS | "200" |
REDIRECT_SSL_TLS_SNI | "api.shopwaremobilemanager.com" |
REDIRECT_STATUS | "200" |
REDIRECT_URL | "/index.php" |
REMOTE_ADDR | "172.68.159.37" |
REMOTE_PORT | "45098" |
REQUEST_METHOD | "POST" |
REQUEST_SCHEME | "https" |
REQUEST_TIME | 1736433344 |
REQUEST_TIME_FLOAT | 1736433344.0281 |
REQUEST_URI | "/api/discount/update" |
SCRIPT_FILENAME | "/home/crypbugm/MobileMonitorBackend/public/index.php" |
SCRIPT_NAME | "/index.php" |
SERVER_ADDR | "77.75.249.96" |
SERVER_ADMIN | "[no address given]" |
SERVER_NAME | "api.shopwaremobilemanager.com" |
SERVER_PORT | "443" |
SERVER_PROTOCOL | "HTTP/2.0" |
SERVER_SIGNATURE | "" |
SERVER_SOFTWARE | "Apache" |
SSL_TLS_SNI | "api.shopwaremobilemanager.com" |
SYMFONY_DOTENV_PATH | "/home/crypbugm/MobileMonitorBackend/.env" |
SYMFONY_DOTENV_VARS | "DATABASE_URL,APP_ENV,APP_DEBUG,APP_SECRET,MESSENGER_TRANSPORT_DSN,MAILER_DSN" |
USER | "crypbugm" |
Sub Requests 1
ErrorController (token = 6118bd)
Key | Value |
---|---|
_controller | "error_controller" |
_stopwatch_token | "45e580" |
exception | ErrorException {#807 #message: "Warning: Undefined array key "shopHash"" #code: 0 #file: "/home/crypbugm/MobileMonitorBackend/src/Controller/DiscountController.php" #line: 54 #severity: E_WARNING : { { App\Controller\DiscountController->update(User $user, Request $request): JsonResponse … › › |
logger | Symfony\Bridge\Monolog\Processor\DebugProcessor {#134 -records: [ 8 => [ [ "timestamp" => 1736433344 "timestamp_rfc3339" => "2025-01-09T15:35:44.161+01:00" "message" => "Matched route "{route}"." "priority" => 200 "priorityName" => "INFO" "context" => [ "route" => "api_login_update" "route_parameters" => [ "_route" => "api_login_update" "_controller" => "App\Controller\DiscountController::update" ] "request_uri" => "https://api.shopwaremobilemanager.com/api/discount/update" "method" => "POST" ] "channel" => "request" ] [ "timestamp" => 1736433344 "timestamp_rfc3339" => "2025-01-09T15:35:44.164+01:00" "message" => "Checking for authenticator support." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "firewall_name" => "main" "authenticators" => 1 ] "channel" => "security" ] [ "timestamp" => 1736433344 "timestamp_rfc3339" => "2025-01-09T15:35:44.164+01:00" "message" => "Checking support on authenticator." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "firewall_name" => "main" "authenticator" => "App\Security\ApiKeyAuthenticator" ] "channel" => "security" ] [ "timestamp" => 1736433344 "timestamp_rfc3339" => "2025-01-09T15:35:44.236+01:00" "message" => "Connecting with parameters {params}" "priority" => 200 "priorityName" => "INFO" "context" => [ "params" => [ "use_savepoints" => true "driver" => "pdo_mysql" "idle_connection_ttl" => 600 "host" => "localhost" "port" => null "user" => "crypbugm27" "password" => "<redacted>" "driverOptions" => [] "defaultTableOptions" => [] "dbname" => "usrdb_crypbugm27" "serverVersion" => "15" "charset" => "utf8" ] ] "channel" => "doctrine" ] [ "timestamp" => 1736433344 "timestamp_rfc3339" => "2025-01-09T15:35:44.244+01:00" "message" => "Executing statement: {sql} (parameters: {params}, types: {types})" "priority" => 100 "priorityName" => "DEBUG" "context" => [ "sql" => "SELECT t0.id AS id_1, t0.username AS username_2, t0.roles AS roles_3, t0.password AS password_4, t0.hash AS hash_5, t0.verification_code AS verification_code_6, t0.active AS active_7, t0.api_key AS api_key_8, t0.expo_tokens AS expo_tokens_9 FROM user t0 WHERE t0.api_key = ? LIMIT 1" "params" => [ 1 => "5e598134-a14d-443c-9942-6ae99320fb2f" ] "types" => [ 1 => 2 ] ] "channel" => "doctrine" ] [ "timestamp" => 1736433344 "timestamp_rfc3339" => "2025-01-09T15:35:44.257+01:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "Symfony\Component\Security\Http\Event\CheckPassportEvent" "listener" => "Symfony\Component\Security\Http\EventListener\UserProviderListener::checkPassport" ] "channel" => "event" ] [ "timestamp" => 1736433344 "timestamp_rfc3339" => "2025-01-09T15:35:44.258+01:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "Symfony\Component\Security\Http\Event\CheckPassportEvent" "listener" => "Symfony\Component\Security\Http\EventListener\UserProviderListener::checkPassport" ] "channel" => "event" ] [ "timestamp" => 1736433344 "timestamp_rfc3339" => "2025-01-09T15:35:44.258+01:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "Symfony\Component\Security\Http\Event\CheckPassportEvent" "listener" => "Symfony\Component\Security\Http\EventListener\CsrfProtectionListener::checkPassport" ] "channel" => "event" ] [ "timestamp" => 1736433344 "timestamp_rfc3339" => "2025-01-09T15:35:44.258+01:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "Symfony\Component\Security\Http\Event\CheckPassportEvent" "listener" => "Symfony\Component\Security\Http\EventListener\UserCheckerListener::preCheckCredentials" ] "channel" => "event" ] [ "timestamp" => 1736433344 "timestamp_rfc3339" => "2025-01-09T15:35:44.258+01:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "Symfony\Component\Security\Http\Event\CheckPassportEvent" "listener" => "Symfony\Component\Security\Http\EventListener\CheckCredentialsListener::checkPassport" ] "channel" => "event" ] [ "timestamp" => 1736433344 "timestamp_rfc3339" => "2025-01-09T15:35:44.258+01:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "security.authentication.success" "listener" => "Symfony\Component\Security\Http\EventListener\UserCheckerListener::postCheckCredentials" ] "channel" => "event" ] [ "timestamp" => 1736433344 "timestamp_rfc3339" => "2025-01-09T15:35:44.258+01:00" "message" => "Authenticator successful!" "priority" => 200 "priorityName" => "INFO" "context" => [ "token" => Symfony\Component\Security\Http\Authenticator\Token\PostAuthenticationToken {#539 -user: App\Entity\User {#482 …} -roleNames: [ "ROLE_USER" ] -attributes: [] -firewallName: "main" } "authenticator" => "App\Security\ApiKeyAuthenticator" ] "channel" => "security" ] [ "timestamp" => 1736433344 "timestamp_rfc3339" => "2025-01-09T15:35:44.258+01:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "Symfony\Component\Security\Http\Event\LoginSuccessEvent" "listener" => "Symfony\Component\Security\Http\EventListener\PasswordMigratingListener::onLoginSuccess" ] "channel" => "event" ] [ "timestamp" => 1736433344 "timestamp_rfc3339" => "2025-01-09T15:35:44.259+01:00" "message" => "Authenticator set no success response: request continues." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "authenticator" => "App\Security\ApiKeyAuthenticator" ] "channel" => "security" ] [ "timestamp" => 1736433344 "timestamp_rfc3339" => "2025-01-09T15:35:44.259+01:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "debug.security.authorization.vote" "listener" => "Symfony\Bundle\SecurityBundle\EventListener\VoteListener::onVoterVote" ] "channel" => "event" ] [ "timestamp" => 1736433344 "timestamp_rfc3339" => "2025-01-09T15:35:44.259+01:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure" ] "channel" => "event" ] [ "timestamp" => 1736433344 "timestamp_rfc3339" => "2025-01-09T15:35:44.259+01:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest" ] "channel" => "event" ] [ "timestamp" => 1736433344 "timestamp_rfc3339" => "2025-01-09T15:35:44.259+01:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Nelmio\CorsBundle\EventListener\CorsListener::onKernelRequest" ] "channel" => "event" ] [ "timestamp" => 1736433344 "timestamp_rfc3339" => "2025-01-09T15:35:44.259+01:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Bridge\Doctrine\Middleware\IdleConnection\Listener::onKernelRequest" ] "channel" => "event" ] [ "timestamp" => 1736433344 "timestamp_rfc3339" => "2025-01-09T15:35:44.259+01:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest" ] "channel" => "event" ] [ "timestamp" => 1736433344 "timestamp_rfc3339" => "2025-01-09T15:35:44.259+01:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Component\HttpKernel\EventListener\LocaleListener::setDefaultLocale" ] "channel" => "event" ] [ "timestamp" => 1736433344 "timestamp_rfc3339" => "2025-01-09T15:35:44.259+01:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest" ] "channel" => "event" ] [ "timestamp" => 1736433344 "timestamp_rfc3339" => "2025-01-09T15:35:44.259+01:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest" ] "channel" => "event" ] [ "timestamp" => 1736433344 "timestamp_rfc3339" => "2025-01-09T15:35:44.260+01:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Component\HttpKernel\EventListener\LocaleAwareListener::onKernelRequest" ] "channel" => "event" ] [ "timestamp" => 1736433344 "timestamp_rfc3339" => "2025-01-09T15:35:44.260+01:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::configureLogoutUrlGenerator" ] "channel" => "event" ] [ "timestamp" => 1736433344 "timestamp_rfc3339" => "2025-01-09T15:35:44.260+01:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.request" "listener" => "Symfony\Bundle\SecurityBundle\Debug\TraceableFirewallListener::onKernelRequest" ] "channel" => "event" ] [ "timestamp" => 1736433344 "timestamp_rfc3339" => "2025-01-09T15:35:44.279+01:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.controller" "listener" => "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController" ] "channel" => "event" ] [ "timestamp" => 1736433344 "timestamp_rfc3339" => "2025-01-09T15:35:44.280+01:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.controller" "listener" => "Symfony\Component\HttpKernel\DataCollector\RequestDataCollector::onKernelController" ] "channel" => "event" ] [ "timestamp" => 1736433344 "timestamp_rfc3339" => "2025-01-09T15:35:44.287+01:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.controller_arguments" "listener" => "Symfony\Component\Security\Http\EventListener\IsCsrfTokenValidAttributeListener::onKernelControllerArguments" ] "channel" => "event" ] [ "timestamp" => 1736433344 "timestamp_rfc3339" => "2025-01-09T15:35:44.287+01:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.controller_arguments" "listener" => "Symfony\Component\Security\Http\EventListener\IsGrantedAttributeListener::onKernelControllerArguments" ] "channel" => "event" ] [ "timestamp" => 1736433344 "timestamp_rfc3339" => "2025-01-09T15:35:44.287+01:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.controller_arguments" "listener" => "Symfony\Component\HttpKernel\EventListener\CacheAttributeListener::onKernelControllerArguments" ] "channel" => "event" ] [ "timestamp" => 1736433344 "timestamp_rfc3339" => "2025-01-09T15:35:44.287+01:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.controller_arguments" "listener" => "ContainerU2PXMtT\RequestPayloadValueResolverGhost01ca9cc::onKernelControllerArguments" ] "channel" => "event" ] [ "timestamp" => 1736433344 "timestamp_rfc3339" => "2025-01-09T15:35:44.287+01:00" "message" => "Notified event "{event}" to listener "{listener}"." "priority" => 100 "priorityName" => "DEBUG" "context" => [ "event" => "kernel.controller_arguments" "listener" => "Symfony\Component\HttpKernel\EventListener\ErrorListener::onControllerArguments" ] "channel" => "event" ] [ "timestamp" => 1736433344 "timestamp_rfc3339" => "2025-01-09T15:35:44.293+01:00" "message" => "Uncaught PHP Exception ErrorException: "Warning: Undefined array key "shopHash"" at DiscountController.php line 54" "priority" => 500 "priorityName" => "CRITICAL" "context" => [ "exception" => ErrorException {#807 #message: "Warning: Undefined array key "shopHash"" #code: 0 #file: "/home/crypbugm/MobileMonitorBackend/src/Controller/DiscountController.php" #line: 54 #severity: E_WARNING : { { App\Controller\DiscountController->update(User $user, Request $request): JsonResponse … › › |