


Catchable Fatal Error: Argument 1 passed to ClubAtletismeTarragona\Ranking\Application\ShowRecordsUseCase\ShowRecordsUseCase::__construct() must be an instance of ClubAtletismeTarragona\Athlete\Domain\Repository\AthleteRepositoryInterface, instance of ClubAtletismeTarragona\Discipline\Infrastructure\Repository\PDODisciplineRepository given, called in /home/clubatle/www/cache/prod/wwwProdDebugProjectContainer.php on line 922 and defined in /home/clubatle/www/src/Ranking/Application/ShowRecordsUseCase/ShowRecordsUseCase.php line 19
500 Internal Server Error - ErrorException

Stack Trace
-
in kernel.root_dir/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/ErrorHandler.php at line 65
}
if (error_reporting() & $level && $this->level & $level) {
throw new \ErrorException(sprintf('%s: %s in %s line %d', isset($this->levels[$level]) ? $this->levels[$level] : $level, $message, $file, $line));
}
return false;
-
at
ErrorHandler
->handle
('4096', 'Argument 1 passed to ClubAtletismeTarragona\Ranking\Application\ShowRecordsUseCase\ShowRecordsUseCase::__construct() must be an instance of ClubAtletismeTarragona\Athlete\Domain\Repository\AthleteRepositoryInterface, instance of ClubAtletismeTarragona\Discipline\Infrastructure\Repository\PDODisciplineRepository given, called in /home/clubatle/www/cache/prod/wwwProdDebugProjectContainer.php on line 922 and defined', '/home/clubatle/www/src/Ranking/Application/ShowRecordsUseCase/ShowRecordsUseCase.php', '19', array())
in kernel.root_dir/src/Ranking/Application/ShowRecordsUseCase/ShowRecordsUseCase.php at line 19 -
at
ShowRecordsUseCase
->__construct
(object(PDODisciplineRepository))
in kernel.root_dir/cache/prod/wwwProdDebugProjectContainer.php at line 922 -
at
wwwProdDebugProjectContainer
->getRanking_ShowRecords_UseCaseService
()
in kernel.root_dir/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php at line 251 -
at
Container
->get
('ranking.show_records.use_case')
in kernel.root_dir/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php at line 189 -
at
Controller
->get
('ranking.show_records.use_case')
in kernel.root_dir/src/Bundle/ClubAtletismeTarragonaBundle/Controller/RanquingsController.php at line 44 - at RanquingsController ->recordsAction ()
-
at
call_user_func_array
(array(object(RanquingsController), 'recordsAction'), array())
in kernel.root_dir/cache/prod/classes.php at line 3443 -
at
HttpKernel
->handleRaw
(object(Request), '1')
in kernel.root_dir/cache/prod/classes.php at line 3413 -
at
HttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/cache/prod/classes.php at line 4389 -
at
HttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php at line 171 -
at
Kernel
->handle
(object(Request))
in kernel.root_dir/Dispatcher.php at line 27
- Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelRequest".
- Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\RouterListener::onEarlyKernelRequest".
- Notified event "kernel.request" to listener "ClubAtletismeTarragona\Bundle\ClubAtletismeTarragonaBundle\EventListener\GlobalInfoListener::onKernelRequest".
- Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\RouterListener::onKernelRequest".
- Matched route "ranking.records" (parameters: "_controller": "ClubAtletismeTarragona\Bundle\ClubAtletismeTarragonaBundle\Controller\RanquingsController::recordsAction", "_route": "ranking.records")
- Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RequestDataCollector::onKernelController".
- Notified event "kernel.exception" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelException".
- Notified event "kernel.exception" to listener "Symfony\Component\HttpKernel\EventListener\ExceptionListener::onKernelException".
- ErrorException: Catchable Fatal Error: Argument 1 passed to ClubAtletismeTarragona\Ranking\Application\ShowRecordsUseCase\ShowRecordsUseCase::__construct() must be an instance of ClubAtletismeTarragona\Athlete\Domain\Repository\AthleteRepositoryInterface, instance of ClubAtletismeTarragona\Discipline\Infrastructure\Repository\PDODisciplineRepository given, called in /home/clubatle/www/cache/prod/wwwProdDebugProjectContainer.php on line 922 and defined in /home/clubatle/www/src/Ranking/Application/ShowRecordsUseCase/ShowRecordsUseCase.php line 19 (uncaught exception) at /home/clubatle/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/ErrorHandler.php line 65
- Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelRequest".
- Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\RouterListener::onEarlyKernelRequest".
- Notified event "kernel.request" to listener "ClubAtletismeTarragona\Bundle\ClubAtletismeTarragonaBundle\EventListener\GlobalInfoListener::onKernelRequest".
- Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\RouterListener::onKernelRequest".
- Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RequestDataCollector::onKernelController".