Etwas ist schief gelaufen!


Bitte versuchen Sie, die Seite zu aktualisieren, um das Problem zu beheben.




Zurück zur Home Seite https://myinfo.red




Error

HTTP 500 Internal Server Error





Call to a member function getCategorie() on null




















Exception

Error

  1.     public function postonrwindexAction(ManagerRegistry $doctrineRequest $request$idEntityManagerInterface $em): Response
  2.     {
  3. $idc $id;
  4.         
  5.     $community $doctrine->getRepository(community::class)->findOneByLink($id);
  6.         $checklp $community->getCategorie();
  7.         
  8.     if ($checklp == 'lpclub' ) {
  9.            return $this->redirectToRoute('de_ui_meinelandingpages');
  10.         }
  11.         
in vendor/symfony/http-kernel/HttpKernel.php -> postonrwindexAction (line 178)
  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$event);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2.         $this->requestStack->push($request);
  3.         $response null;
  4.         try {
  5.             return $response $this->handleRaw($request$type);
  6.         } catch (\Throwable $e) {
  7.             if ($e instanceof \Error && !$this->handleAllThrowables) {
  8.                 throw $e;
  9.             }
  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.     ) {
  2.     }
  3.     public function run(): int
  4.     {
  5.         $response $this->kernel->handle($this->request);
  6.         if (Kernel::VERSION_ID >= 60400) {
  7.             $response->send(false);
  8.             if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in vendor/autoload_runtime.php -> run (line 29)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/homepages/18/d233087118/htdocs/REDWEB-APP/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. use App\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. return function (array $context) {
  5.     return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };

Stack Trace

Error
Error:
Call to a member function getCategorie() on null

  at src/Controller/deredwebController.php:140
  at App\Controller\deredwebController->postonrwindexAction()
     (vendor/symfony/http-kernel/HttpKernel.php:178)
  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:185)
  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('/homepages/18/d233087118/htdocs/REDWEB-APP/vendor/autoload_runtime.php')
     (public/index.php:5)