https://hcpsolgar.wtdevsite.com/api/customer/emails

CustomerApiController :: customerEmail

Request

GET Parameters

No GET parameters

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"App\Controller\Api\CustomerApiController::customerEmail"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"app_customer_email_api"
_route_params
[]
_security_firewall_run
"_security_main"
_stopwatch_token
"760fae"

Request Headers

Header Value
accept
"*/*"
accept-encoding
"gzip, br"
cdn-loop
"cloudflare; loops=1"
cf-connecting-ip
"20.171.207.4"
cf-ipcountry
"US"
cf-ray
"9585dcde9c7e2add-LAX"
cf-visitor
"{"scheme":"https"}"
from
"gptbot(at)openai.com"
host
"hcpsolgar.wtdevsite.com"
user-agent
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.2; +https://openai.com/gptbot)"
x-forwarded-for
"20.171.207.4"
x-forwarded-proto
"https"
x-openai-host-hash
"611729569"
x-php-ob-level
"1"

Request Content

Request content not available (it was retrieved as a resource).

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"text/html; charset=UTF-8"
date
"Tue, 01 Jul 2025 12:21:22 GMT"
x-debug-exception
"Call%20to%20a%20member%20function%20getId%28%29%20on%20null"
x-debug-exception-file
"%2Fmnt%2Fstorage%2Fsolgar%2Fproduction%2Fsrc%2FController%2FApi%2FCustomerApiController.php:120"
x-debug-token
"e4d017"
x-debug-token-link
"https://hcpsolgar.wtdevsite.com/_profiler/fed0ae"
x-previous-debug-token
"fed0ae"
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
ACCESS_TOKEN
"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"
APP_ENV
"dev"
APP_SECRET
"2ecb8de3326d20b94af924dedddfb705"
BASE_AUTH_URL
"https://mcflspkw06d92jc90b28j3zlr95y.auth.marketingcloudapis.com/"
CLIENT_ID
"w93wz1dekxmwqp8kyo2ur5xa"
CLIENT_SECRET
"gsFewYSGqZFumi8FeOBqJuhv"
CORS_ALLOW_ORIGIN
"^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$"
DATABASE_URL
"mysql://wtprivuser:202106^adjunct^[email protected]:3306/solgar_hcp?serverVersion=8"
MAILER_DSN
"mailgun+smtp://[email protected]:a4df53e9fb2af1a6d85f133b149db7c2-5e7fba0f-c06c93c3@default?region=us"
SHOP_URL
"solgar-nz.myshopify.com"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTEXT_DOCUMENT_ROOT
"/home/whitetower/solgar/production/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/home/whitetower/solgar/production/public"
ENVIRONMENT
"ALPHA"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
HTTP_ACCEPT
"*/*"
HTTP_ACCEPT_ENCODING
"gzip, br"
HTTP_CDN_LOOP
"cloudflare; loops=1"
HTTP_CF_CONNECTING_IP
"20.171.207.4"
HTTP_CF_IPCOUNTRY
"US"
HTTP_CF_RAY
"9585dcde9c7e2add-LAX"
HTTP_CF_VISITOR
"{"scheme":"https"}"
HTTP_FROM
"gptbot(at)openai.com"
HTTP_HOST
"hcpsolgar.wtdevsite.com"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; GPTBot/1.2; +https://openai.com/gptbot)"
HTTP_X_FORWARDED_FOR
"20.171.207.4"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_OPENAI_HOST_HASH
"611729569"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
PHP_SELF
"/index.php"
QUERY_STRING
""
REMOTE_ADDR
"162.158.186.39"
REMOTE_PORT
"10220"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1751372482
REQUEST_TIME_FLOAT
1751372482.6964
REQUEST_URI
"/api/customer/emails"
SCRIPT_FILENAME
"/home/whitetower/solgar/production/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"149.28.167.253"
SERVER_ADMIN
"[no address given]"
SERVER_NAME
"hcpsolgar.wtdevsite.com"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SSL_TLS_SNI
"hcpsolgar.wtdevsite.com"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,DATABASE_URL,CORS_ALLOW_ORIGIN,MAILER_DSN,CLIENT_ID,CLIENT_SECRET,BASE_AUTH_URL,SHOP_URL,ACCESS_TOKEN"
WP_DB_HOST
"db.whitetower.io"
WP_DB_PASS
"202106^adjunct^starter!"
WP_DB_USER
"wtprivuser"

Sub Requests 1

ErrorController (token = fed0ae)

Key Value
_controller
"error_controller"
_stopwatch_token
"39fd25"
exception
Error {#584
  #message: "Call to a member function getId() on null"
  #code: 0
  #file: "/mnt/storage/solgar/production/src/Controller/Api/CustomerApiController.php"
  #line: 120
  trace: {
    /mnt/storage/solgar/production/src/Controller/Api/CustomerApiController.php:120 {
      App\Controller\Api\CustomerApiController->customerEmail(Request $request, ManagerRegistry $doctrine): Response …
      › $hcp = $entityManager->getRepository(Hcp::class)->findOneBy(array('hcpId' => $hcpId));$hcpDbId = $hcp->getId();}
    /mnt/storage/solgar/production/vendor/symfony/http-kernel/HttpKernel.php:152 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);}
    /mnt/storage/solgar/production/vendor/symfony/http-kernel/HttpKernel.php:74 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
      › try {    return $this->handleRaw($request, $type);} catch (\Exception $e) {
    }
    /mnt/storage/solgar/production/vendor/symfony/http-kernel/Kernel.php:202 {
      Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
      › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
    }
    /mnt/storage/solgar/production/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);    $response->send();
    }
    /mnt/storage/solgar/production/vendor/autoload_runtime.php:35 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /mnt/storage/solgar/production/public/index.php:5 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/mnt/storage/solgar/production/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
null