https://test.coo.tg/api/traite/get/geolocalisation/parcelle?public%2Fapi%2Ftraite%2Fget%2Fgeolocalisation%2Fparcelle=

ErrorController

Request

GET Parameters

Key Value
public/api/traite/get/geolocalisation/parcelle
""

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"error_controller"
_links
Symfony\Component\WebLink\GenericLinkProvider {#8796
  -links: [
    8783 => Symfony\Component\WebLink\Link {#8783
      -href: "https://test.coo.tg/api/docs.jsonld"
      -rel: [
        "http://www.w3.org/ns/hydra/core#apiDocumentation" => "http://www.w3.org/ns/hydra/core#apiDocumentation"
      ]
      -attributes: []
    }
  ]
}
_stopwatch_token
"2287ec"
exception
ErrorException {#8454
  #message: "Warning: Undefined variable $objetFournisseur"
  #code: 0
  #file: "/home/coop/public_html/test.coo.tg/src/Controller/api/ApiController.php"
  #line: 2185
  #severity: E_WARNING
  trace: {
    /home/coop/public_html/test.coo.tg/src/Controller/api/ApiController.php:2185 {
      App\Controller\api\ApiController->getGeolocalisationParcelleAction(Request $request, UtilisateurRepository $utilisateurRepository, SurfaceAnneeRepository $surfaceAnneeRepository, FournisseurRepository $fournisseurRepository, LocalisationRepository $localisationRepository, SurfaceAbonneRepository $surfaceAbonneRepository, EntrepotRepository $entrepotRepository, AnneeCampagneRepository $anneeCampagneRepository, PlanteRepository $planteRepository, ProjetRepository $projetRepository, ProducteurRepository $producteurRepository) …
      › } else {    $codeGenere = $objetFournisseur->getCodeGenere();    $objetLocalisation->setFournisseur($objetFournisseur);
    }
    /home/coop/public_html/test.coo.tg/vendor/symfony/http-kernel/HttpKernel.php:163 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#51 …}
        $utilisateurRepository: App\Repository\user\UtilisateurRepository {#884 …}
        $surfaceAnneeRepository: App\Repository\prod\SurfaceAnneeRepository {#4849 …}
        $fournisseurRepository: App\Repository\stock\FournisseurRepository {#4842 …}
        $localisationRepository: App\Repository\track\LocalisationRepository {#4835 …}
        $surfaceAbonneRepository: App\Repository\prod\SurfaceAbonneRepository {#4828 …}
        $entrepotRepository: App\Repository\stock\EntrepotRepository {#4813 …}
        $anneeCampagneRepository: App\Repository\prod\AnneeCampagneRepository {#4725 …}
        $planteRepository: App\Repository\prod\PlanteRepository {#5041 …}
        $projetRepository: App\Repository\asso\ProjetRepository {#5056 …}
        $producteurRepository: App\Repository\prod\ProducteurRepository {#5331 …}
      }
    }
    /home/coop/public_html/test.coo.tg/vendor/symfony/http-kernel/HttpKernel.php:75 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
      › try {    return $this->handleRaw($request, $type);} catch (\Exception $e) {
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#51 …}
        $type: 1
      }
    }
    /home/coop/public_html/test.coo.tg/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 {
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#51 …}
        $type: 1
        $catch: true
      }
    }
    /home/coop/public_html/test.coo.tg/public/index.php:28 {$request = Request::createFromGlobals();$response = $kernel->handle($request);$response->send();
      arguments: {
        $request: Symfony\Component\HttpFoundation\Request {#51 …}
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#575 …9}

Request Headers

Header Value
accept-encoding
"gzip"
authorization
"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3MjcwMDg0MzYsImV4cCI6MTcyNzAxMjAzNiwicm9sZXMiOlsiUk9MRV9VU0VSIl0sInVzZXJuYW1lIjoiay5ha29uaSJ9.LsNRLNt5B4_soziufRBu5V-dUty5StI64tQVEkMAn8V-Fzmezs_pzR5KMdJrg2uhpLRNg14Wm2Pa_tbRQpTzIK18ZMnJZTKOoj7K3I1nngdkiPSMuAErwXK6YFH4shJrWtc55SL9UsS5JLKajwU_Ox-nU-sGv_nPxM3po6ILRv7iC5b0gADA0gQymSI491CUoAuDsCSGrVqvAuXh87osi0rHRYXTiU-Bi1Pq0aiwO5Ybzs3mUHizEnk2e9XA9BPqEkFi1Y_fb5i8R2lzCeSZKGjC5lpnSlbrQhSbEWpKQ8Gp-9-o42F8Rqh6ZwJLuhaTiMjx3c34c6l7HAndXHjyGw"
connection
"Keep-Alive"
content-length
"213"
content-type
"application/json, application/json; charset=utf-8"
host
"test.coo.tg"
user-agent
"Dalvik/2.1.0 (Linux; U; Android 11; Infinix PR652B Build/RP1A.201005.001)"
x-php-ob-level
"0"

Request Content

Raw

{"typeLocalisation":"1","parCodeGenere":"M_PROD925_1389 P2","tabLocalisation":"0","superficie":"0","latitude":"8.759601083333333","idUtil":"30572","codeGenere":"MAP4182_11152_351","longitude":"1.4603331833333333"}

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"text/html; charset=UTF-8"
date
"Sun, 22 Sep 2024 13:18:53 GMT"
x-debug-exception
"Warning%3A%20Undefined%20variable%20%24objetFournisseur"
x-debug-exception-file
"%2Fhome%2Fcoop%2Fpublic_html%2Ftest.coo.tg%2Fsrc%2FController%2Fapi%2FApiController.php:2185"
x-debug-token
"4817db"

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_ENV
"dev"
APP_SECRET
"07a851ac4374e3685aa4176355253466"
CORS_ALLOW_ORIGIN
"^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$"
DATABASE_URL
"mysql://coop_admin:G1veSm1l3BdS0l@2023@127.0.0.1:3306/coop_gsmilesagri_1?serverVersion=5.7"
JWT_PASSPHRASE
"183e2f0f0c775c4f7fd5572e3e6cc7f3"
JWT_PUBLIC_KEY
"%kernel.project_dir%/config/jwt/public.pem"
JWT_SECRET_KEY
"%kernel.project_dir%/config/jwt/private.pem"
MAILER_DSN
"smtp://noreply@gsmilesgroup.com:ub4atasse25@mail.gsmilesgroup.com:465/?encryption=ssl&auth_mode=login"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTENT_LENGTH
"213"
CONTENT_TYPE
"application/json, application/json; charset=utf-8"
CONTEXT_DOCUMENT_ROOT
"/home/coop/public_html/test.coo.tg"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/home/coop/public_html/test.coo.tg"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
HTTP_ACCEPT_ENCODING
"gzip"
HTTP_AUTHORIZATION
"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpYXQiOjE3MjcwMDg0MzYsImV4cCI6MTcyNzAxMjAzNiwicm9sZXMiOlsiUk9MRV9VU0VSIl0sInVzZXJuYW1lIjoiay5ha29uaSJ9.LsNRLNt5B4_soziufRBu5V-dUty5StI64tQVEkMAn8V-Fzmezs_pzR5KMdJrg2uhpLRNg14Wm2Pa_tbRQpTzIK18ZMnJZTKOoj7K3I1nngdkiPSMuAErwXK6YFH4shJrWtc55SL9UsS5JLKajwU_Ox-nU-sGv_nPxM3po6ILRv7iC5b0gADA0gQymSI491CUoAuDsCSGrVqvAuXh87osi0rHRYXTiU-Bi1Pq0aiwO5Ybzs3mUHizEnk2e9XA9BPqEkFi1Y_fb5i8R2lzCeSZKGjC5lpnSlbrQhSbEWpKQ8Gp-9-o42F8Rqh6ZwJLuhaTiMjx3c34c6l7HAndXHjyGw"
HTTP_CONNECTION
"Keep-Alive"
HTTP_HOST
"test.coo.tg"
HTTP_USER_AGENT
"Dalvik/2.1.0 (Linux; U; Android 11; Infinix PR652B Build/RP1A.201005.001)"
PATH
"/bin:/usr/bin"
PHP_INI_SCAN_DIR
"/opt/cpanel/ea-php81/root/etc:/opt/cpanel/ea-php81/root/etc/php.d:."
PHP_SELF
"/public/index.php"
QUERY_STRING
"public/api/traite/get/geolocalisation/parcelle"
REDIRECT_HTTPS
"on"
REDIRECT_QUERY_STRING
"public/api/traite/get/geolocalisation/parcelle"
REDIRECT_REDIRECT_HTTPS
"on"
REDIRECT_REDIRECT_REDIRECT_HTTPS
"on"
REDIRECT_REDIRECT_REDIRECT_SSL_TLS_SNI
"test.coo.tg"
REDIRECT_REDIRECT_REDIRECT_STATUS
"200"
REDIRECT_REDIRECT_REDIRECT_UNIQUE_ID
"ZvAZPAZJWbjQbtXOfmzgUAAAAZQ"
REDIRECT_REDIRECT_SSL_TLS_SNI
"test.coo.tg"
REDIRECT_REDIRECT_STATUS
"200"
REDIRECT_REDIRECT_UNIQUE_ID
"ZvAZPAZJWbjQbtXOfmzgUAAAAZQ"
REDIRECT_SSL_TLS_SNI
"test.coo.tg"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"ZvAZPAZJWbjQbtXOfmzgUAAAAZQ"
REDIRECT_URL
"/index.php"
REMOTE_ADDR
"41.78.139.5"
REMOTE_PORT
"18395"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1727011132
REQUEST_TIME_FLOAT
1727011132.2363
REQUEST_URI
"/api/traite/get/geolocalisation/parcelle"
SCRIPT_FILENAME
"/home/coop/public_html/test.coo.tg/public/index.php"
SCRIPT_NAME
"/public/index.php"
SERVER_ADDR
"85.208.51.173"
SERVER_ADMIN
"webmaster@test.coo.tg"
SERVER_NAME
"test.coo.tg"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
SSL_TLS_SNI
"test.coo.tg"
SYMFONY_DOTENV_VARS
"APP_ENV,APP_SECRET,DATABASE_URL,MAILER_DSN,JWT_SECRET_KEY,JWT_PUBLIC_KEY,JWT_PASSPHRASE,CORS_ALLOW_ORIGIN"
TZ
"Europe/Berlin"
UNIQUE_ID
"ZvAZPAZJWbjQbtXOfmzgUAAAAZQ"
argc
1
argv
[
  "public/api/traite/get/geolocalisation/parcelle"
]

Parent Request

Return to parent request (token = 6f7e94)

Key Value
_controller
"App\Controller\api\ApiController::getGeolocalisationParcelleAction"
_firewall_context
"security.firewall.map.context.api"
_links
Symfony\Component\WebLink\GenericLinkProvider {#12862
  -links: [
    12861 => Symfony\Component\WebLink\Link {#12861
      -href: "https://test.coo.tg/api/docs.jsonld"
      -rel: [
        "http://www.w3.org/ns/hydra/core#apiDocumentation" => "http://www.w3.org/ns/hydra/core#apiDocumentation"
      ]
      -attributes: []
    }
  ]
}
_method
Sensio\Bundle\FrameworkExtraBundle\Configuration\Method {#4716
  -methods: [
    "GET"
    "POST"
  ]
}
_remove_csp_headers
true
_route
"api_get_geolocalisation_parcelle"
_route_params
[]
_stopwatch_token
"c9a7c9"