Exceptions
Exception
ErrorException
in
src/Controller/DatasourceController.php
(line 193)
public function executeDatasourceAction(Request $request) {
if ($request->get('id') != null) {
/** @var Datasource $instance */
$instance = $this->getIndexManager()->findObject('datasource', $request->get('id'));
$procs = $this->getRunningDatasources();
if(isset($procs[$instance->getId()])){
return $this->render('datasource.html.twig', array(
'title' => $this->get('translator')->trans('Monitor "@ds_name"', array('@ds_name' => $instance->getName())),
'main_menu_item' => 'datasources',
'proc' => $procs[$instance->getId()],
in
vendor/symfony/http-kernel/HttpKernel.php
->
executeDatasourceAction
(line 158)
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = $controller(...$arguments);
// view
if (!$response instanceof Response) {
$event = new ViewEvent($this, $request, $type, $response);
$this->dispatcher->dispatch($event, KernelEvents::VIEW);
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 80)
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof RequestExceptionInterface) {
$e = new BadRequestHttpException($e->getMessage(), $e);
}
if (false === $catch) {
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 201)
Stack Trace
ErrorException |
---|
ErrorException: Warning: Undefined array key 9 at src/Controller/DatasourceController.php:193 at App\Controller\DatasourceController->getRunningDatasources() (src/Controller/DatasourceController.php:107) at App\Controller\DatasourceController->executeDatasourceAction() (vendor/symfony/http-kernel/HttpKernel.php:158) at Symfony\Component\HttpKernel\HttpKernel->handleRaw() (vendor/symfony/http-kernel/HttpKernel.php:80) at Symfony\Component\HttpKernel\HttpKernel->handle() (vendor/symfony/http-kernel/Kernel.php:201) at Symfony\Component\HttpKernel\Kernel->handle() (public/index.php:39) |