Symfony Exception

ErrorException

HTTP 500 Internal Server Error

Warning: Undefined array key "calendar"

Exception

ErrorException

  1.         }
  2.         return new Response('');
  3.     }
  4.     protected function setCalendarScripts(): void{
  5.         echo $this->requestedScrtipts['calendar']['accommodation'];
  6.         die;
  7.         if(isset($this->requestedScrtipts['calendar'])){
  8.             if(isset($this->requestedScrtipts['calendar']['accommodation']) && $this->requestedScrtipts['calendar']['accommodation']){
  9.                 $accommodations $this->accommodationRepository->findBy(['project' => $this->project->getId(), 'includeHash' => $this->requestedScrtipts['calendar']['accommodation']]);
  10.             }else{
PageIncludeController->setCalendarScripts() in src/Controller/Page/PageIncludeController.php (line 183)
  1.             }
  2.             if(!isset($this->requestedScrtipts['phone_click']['selector'])){
  3.                 $this->requestedScrtipts['phone_click']['selector'] = 'a.phone';
  4.             }
  5.         }
  6.         $this->setCalendarScripts();
  7.         if($this->requestedScrtipts){
  8.             $response $this->render('include/include_scripts.html.twig', [
  9.                 'include_scripts' => $this->requestedScrtipts,
  10.                 'project_hash' => $this->project->getIncludeHash(),
in vendor/symfony/http-kernel/HttpKernel.php -> includeScripts (line 157)
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     public function handle(Request $requestint $type HttpKernelInterface::MASTER_REQUESTbool $catch true)
  2.     {
  3.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
  1. //            $request = Request::create('/', 'GET', [], $_COOKIE, $_FILES, $_SERVER);
  2.         }
  3.         $addQueryParams['include_base_path'] = BASE;
  4.         $request->query->add($addQueryParams);
  5. //        try{
  6.         $response $this->kernel->handle($request);
  7. //        }catch(Exception $ex){
  8. //            echo '<pre>';
  9. //            print_r($ex->getMessage());
  10. //            die;
  11. //        }
  1.      */
  2.     public function getRequestResponseContent(?Request $request null, array $addQueryParams = [], bool $modifyHeaders true): ?string{
  3.         if(!INCLUDE_KEY){
  4.             return null;
  5.         }
  6.         $request $this->getRequestResponse($request$addQueryParams);
  7.         $content $request->getContent();
  8.         /**
  9.          * add basepath on /admin/build/-urls
  10.          */
SymfonyConnect->getRequestResponseContent() in /var/www/vhosts/ferienhaeuser-hellmich.de/httpdocs/include/js-data.php (line 11)
  1.  * load symony connect
  2.  */
  3. require_once './admin/SymfonyConnect.php';
  4. $connect SymfonyConnect::get();
  5. $request $connect->createRequest('include/include-scripts', isset($symfonyRequestParam) && $symfonyRequestParam $symfonyRequestParam : []);
  6. $content $connect->getRequestResponseContent($request);
  7. echo $content;
  8. ?>
include('/var/www/vhosts/ferienhaeuser-hellmich.de/httpdocs/include/js-data.php') in /var/www/vhosts/ferienhaeuser-hellmich.de/httpdocs/404.php (line 20)
  1.     <meta property="og:url" content="https://ferienhaeuser-hellmich.de/404.php">
  2.     <meta property="og:site_name" content="ferienhaeuser-hellmich.de">
  3.     <meta property="og:image" content="https://ferienhaeuser-hellmich.de/images/og/impressum.jpg">
  4.     <link rel="canonical" href="https://ferienhaeuser-hellmich.de/404.php">
  5.     <?php include("include/css-data.php"); ?>
  6.     <?php include("include/js-data.php"); ?>
  7.     <?php include("include/fav-tiles.php"); ?>
  8. </head>
  9.     <body class="impressum">
  10.         <div id="wellen"></div>
  11.         <div class="container">

Logs

No log messages

Stack Trace

ErrorException

ErrorException:
Warning: Undefined array key "calendar"

  at src/Controller/Page/PageIncludeController.php:197
  at App\Controller\Page\PageIncludeController->setCalendarScripts()
     (src/Controller/Page/PageIncludeController.php:183)
  at App\Controller\Page\PageIncludeController->includeScripts()
     (vendor/symfony/http-kernel/HttpKernel.php:157)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:79)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:196)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (/var/www/vhosts/ferienhaeuser-hellmich.de/httpdocs/admin/SymfonyConnect.php:108)
  at SymfonyConnect->getRequestResponse()
     (/var/www/vhosts/ferienhaeuser-hellmich.de/httpdocs/admin/SymfonyConnect.php:131)
  at SymfonyConnect->getRequestResponseContent()
     (/var/www/vhosts/ferienhaeuser-hellmich.de/httpdocs/include/js-data.php:11)
  at include('/var/www/vhosts/ferienhaeuser-hellmich.de/httpdocs/include/js-data.php')
     (/var/www/vhosts/ferienhaeuser-hellmich.de/httpdocs/404.php:20)                

Jetzt Anrufen · 036704 80639 oder 0171 1465452

Upss - hier ist etwas schief gelaufen...

Wir haben viele viele Stunden verbracht bis wir irgendwann alle Infos für Sie auf dieser Website zusammengestellt hatten.

Zumindest dachten wir das...

Sie wollen aber mehr, denn nur so sind Sie hier gelandet. Es tut uns wahnsinnig leid, dass wir Sie nun enttäuschen müssen - aber mehr haben wir nicht.Wir hoffen, dass Ihnen das Menü trotzdem reicht.

Ganz viele Grüße
das Programmierer Team

P.S.: Hoffentlich liest das hier niemals jemand.

Nach Oben