Symfony Exception
Exception
ErrorException
Show exception properties
ErrorException {#786 #severity: E_WARNING }
in
src/Controller/MasterHunterPublic/HunterController.php
(line 1239)
$good = 0;foreach ($arrInquirer as $j => $___) {$good = 1;}if (''.$arrInquirer['IHunterID'] == '') {// not an hunter!$good = 0;}if ($good) {$provinces = $this->commonRepository->MHProvincesArray();
$data = [];$data['PAGE_TITLE'] = $this->PAGE_TITLE;$data['bodyClass'] = 'page-profile';$htmlContent = '';$htmlContent .= $this->MHHarvests();return new Response($htmlContent, 200, ['Content-Type' => 'text/html']);}#[Route(
in
vendor/symfony/http-kernel/HttpKernel.php
->
harvests
(line 183)
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);$controller = $event->getController();$arguments = $event->getArguments();// call controller$response = $controller(...$arguments);// viewif (!$response instanceof Response) {$event = new ViewEvent($this, $request, $type, $response, $event);$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 76)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try {return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 182)
$this->boot();++$this->requestStackSize;$this->resetServices = true;try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
in
vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 35)
) {}public function run(): int{$response = $this->kernel->handle($this->request);if (Kernel::VERSION_ID >= 60400) {$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in
vendor/autoload_runtime.php
->
run
(line 29)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
require_once('/var/www/vhosts/timsapi.travelmanitoba.com/vendor/autoload_runtime.php')
in
public/index.php
(line 5)
<?phpuse App\Kernel;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return function (array $context) {
Stack Trace
|
ErrorException
|
|---|
ErrorException:
Warning: Undefined array key "IHunterID"
at src/Controller/MasterHunterPublic/HunterController.php:1239
at App\Controller\MasterHunterPublic\HunterController->MHHarvests()
(src/Controller/MasterHunterPublic/HunterController.php:132)
at App\Controller\MasterHunterPublic\HunterController->harvests()
(vendor/symfony/http-kernel/HttpKernel.php:183)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:182)
at Symfony\Component\HttpKernel\Kernel->handle()
(vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(vendor/autoload_runtime.php:29)
at require_once('/var/www/vhosts/timsapi.travelmanitoba.com/vendor/autoload_runtime.php')
(public/index.php:5)
|


