https://place-aux-jeunes.org/fr/results/

Exceptions

App\Controller\ResultController::getLevelSkills(): Argument #3 ($skillsData) must be of type array, null given, called in /home/placeaj/www/src/Controller/ResultController.php on line 63

  • Exception
  • Logs
  • Stack Trace

TypeError

  1.             'globalAdvice' => $globalAdvice,
  2.             'path'=>$selectedPath
  3.         ]);
  4.     }
  5.     private function getLevelSkills($session$adviceRepository, array $skillsDatastring $skillLevelstring $skillFloatstring $skill)
  6.     {
  7.         $em $this->entityManager;
  8.         $advancedCount 0;
ResultController->getLevelSkills(object(Session), null, null, 'participationlevel', 'participationfloat', 'participation') in src/Controller/ResultController.php (line 63)
  1.             case 3:
  2.                 $adviceRepository SpecificAdvicethree::class;
  3.                 break;
  4.         }
  5.         $specificAdvice['participation'] = $this->getLevelSkills($session$adviceRepository$participationData'participationlevel''participationfloat''participation');
  6.         $specificAdvice['responsabilite'] = $this->getLevelSkills($session$adviceRepository$responsabilitiesData'responsabilitelevel''responsabilitefloat''responsabilite');
  7.         $specificAdvice['capacitecritique'] = $this->getLevelSkills($session$adviceRepository$capaciteCritiqueData'capacitecritiquelevel''capacitecritiquefloat''capacitecritique');
  8.         $specificAdvice['metaapprentissage'] = $this->getLevelSkills($session$adviceRepository$metaApprentissageData'metaapprentissagelevel''metaapprentissagefloat''metaapprentissage');
  9.         $specificAdvice['estimedesoi'] = $this->getLevelSkills($session$adviceRepository$estimeDeSoiData'estimedesoilevel''estimedesoifloat''estimedesoi');
  10.         $specificAdvice['effectivite'] = $this->getLevelSkills($session$adviceRepository$effectiviteData'effectivitelevel''effectivitefloat''effectivite');
  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.     {
  2.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  3.         $this->requestStack->push($request);
  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.         $this->request $request;
  2.     }
  3.     public function run(): int
  4.     {
  5.         $response $this->kernel->handle($this->request);
  6.         $response->send();
  7.         if ($this->kernel instanceof TerminableInterface) {
  8.             $this->kernel->terminate($this->request$response);
  9.         }
in vendor/autoload_runtime.php -> run (line 29)
  1. $app $app(...$args);
  2. exit(
  3.     $runtime
  4.         ->getRunner($app)
  5.         ->run()
  6. );
require_once('/home/placeaj/www/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. };