Uncaught Exception in Flow

#1: Notice: Undefined index: HTTP_ACCEPT_LANGUAGE in /html/Deposit/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/Trotec_TklDeposit_Controller_DepositController.php line 431

More information

TYPO3\Flow\Error\Exception thrown in file
Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Error/ErrorHandler.php in line 80.
Reference code: 2024032820375129815a

21 TYPO3\Flow\Error\ErrorHandler::handleError(8, "Undefined index: HTTP_ACCEPT_LANGUAGE", "/html/Deposit/Data/Temporary/Development/Cache/CodTrotec_TklDeposit_Controller_DepositController.php", 431, array|1|)

/html/Deposit/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/Trotec_TklDeposit_Controller_DepositController.php:
00429:   if(!$this->depositSession->hasLocale()){
00430:    $detector = new Detector();
00431:    $locale = $detector->detectLocaleFromHttpHeader($_SERVER['HTTP_ACCEPT_LANGUAGE']);
00432:    if(!in_array($locale->getLanguage(),$this->allowedLanguages)){
00433:     $locale = $detector->detectLocaleFromLocaleTag('de_DE');

20 Trotec\TklDeposit\Controller\DepositController_Original::setLocale()

/html/Deposit/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/Trotec_TklDeposit_Controller_DepositController.php:
00094:     public function initializeAction()
00095:  {
00096:   $this->setLocale();
00097:   $this->setCountry();
00098:   $this->localizationService->getConfiguration()->setCurrentLocale($this->depositSession->getLocale());

19 Trotec\TklDeposit\Controller\DepositController_Original::initializeAction()

/html/Deposit/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Mvc_Controller_ActionController.php:
00155:         $this->mvcPropertyMappingConfigurationService->initializePropertyMappingConfigurationFromRequest($this->request, $this->arguments);
00156: 
00157:         $this->initializeAction();
00158:         $actionInitializationMethodName = 'initialize' . ucfirst($this->actionMethodName);
00159:         if (method_exists($this, $actionInitializationMethodName)) {

18 TYPO3\Flow\Mvc\Controller\ActionController_Original::processRequest(TYPO3\Flow\Mvc\ActionRequest, TYPO3\Flow\Http\Response)

/html/Deposit/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Mvc_Dispatcher.php:
00081:             try {
00082:                 $this->emitBeforeControllerInvocation($request, $response, $controller);
00083:                 $controller->processRequest($request, $response);
00084:                 $this->emitAfterControllerInvocation($request, $response, $controller);
00085:             } catch (StopActionException $exception) {

17 TYPO3\Flow\Mvc\Dispatcher_Original::dispatch(TYPO3\Flow\Mvc\ActionRequest, TYPO3\Flow\Http\Response)

/html/Deposit/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Mvc_Dispatcher.php:
00301:    $this->Flow_Aop_Proxy_fixMethodsAndAdvicesArrayForDoctrineProxies();
00302:   if (isset($this->Flow_Aop_Proxy_methodIsInAdviceMode['dispatch'])) {
00303:   $result = parent::dispatch($request, $response);
00304: 
00305:   } else {

16 TYPO3\Flow\Mvc\Dispatcher::dispatch(TYPO3\Flow\Mvc\ActionRequest, TYPO3\Flow\Http\Response)

15 call_user_func_array(array|2|, array|2|)

/html/Deposit/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Mvc_Dispatcher.php:
00285:   if (__CLASS__ !== $joinPoint->getClassName()) return parent::Flow_Aop_Proxy_invokeJoinPoint($joinPoint);
00286:   if (isset($this->Flow_Aop_Proxy_methodIsInAdviceMode[$joinPoint->getMethodName()])) {
00287:    return call_user_func_array(array('self', $joinPoint->getMethodName()), $joinPoint->getMethodArguments());
00288:   }
00289:  }

14 TYPO3\Flow\Mvc\Dispatcher::Flow_Aop_Proxy_invokeJoinPoint(TYPO3\Flow\Aop\JoinPoint)

Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Aop/Advice/AdviceChain.php:
00057:             $result = $this->advices[$this->adviceIndex]->invoke($joinPoint);
00058:         } else {
00059:             $result = $joinPoint->getProxy()->Flow_Aop_Proxy_invokeJoinpoint($joinPoint);
00060:         }
00061:         return $result;

13 TYPO3\Flow\Aop\Advice\AdviceChain::proceed(TYPO3\Flow\Aop\JoinPoint)

/html/Deposit/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Security_Aspect_RequestDispatchingAspect.php:
00080:         try {
00081:             $this->firewall->blockIllegalRequests($request);
00082:             return $joinPoint->getAdviceChain()->proceed($joinPoint);
00083:         } catch (AuthenticationRequiredException $exception) {
00084:             $response = $joinPoint->getMethodArgument('response');

12 TYPO3\Flow\Security\Aspect\RequestDispatchingAspect_Original::blockIllegalRequestsAndForwardToAuthenticationEntryPoints(TYPO3\Flow\Aop\JoinPoint)

Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Aop/Advice/AroundAdvice.php:
00033:         $adviceObject = $this->objectManager->get($this->aspectObjectName);
00034:         $methodName = $this->adviceMethodName;
00035:         return $adviceObject->$methodName($joinPoint);
00036:     }
00037: }

11 TYPO3\Flow\Aop\Advice\AroundAdvice::invoke(TYPO3\Flow\Aop\JoinPoint)

Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Aop/Advice/AdviceChain.php:
00055:         $this->adviceIndex++;
00056:         if ($this->adviceIndex < count($this->advices)) {
00057:             $result = $this->advices[$this->adviceIndex]->invoke($joinPoint);
00058:         } else {
00059:             $result = $joinPoint->getProxy()->Flow_Aop_Proxy_invokeJoinpoint($joinPoint);

10 TYPO3\Flow\Aop\Advice\AdviceChain::proceed(TYPO3\Flow\Aop\JoinPoint)

/html/Deposit/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Mvc_Dispatcher.php:
00316:     $adviceChain->rewind();
00317:     $joinPoint = new \TYPO3\Flow\Aop\JoinPoint($this, 'TYPO3\Flow\Mvc\Dispatcher', 'dispatch', $methodArguments, $adviceChain);
00318:     $result = $adviceChain->proceed($joinPoint);
00319:     $methodArguments = $joinPoint->getMethodArguments();
00320: 

9 TYPO3\Flow\Mvc\Dispatcher::dispatch(TYPO3\Flow\Mvc\ActionRequest, TYPO3\Flow\Http\Response)

8 call_user_func_array(array|2|, array|2|)

Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Object/DependencyInjection/DependencyProxy.php:
00097:     public function __call($methodName, array $arguments)
00098:     {
00099:         return call_user_func_array(array($this->_activateDependency(), $methodName), $arguments);
00100:     }
00101: }

7 TYPO3\Flow\Object\DependencyInjection\DependencyProxy::__call("dispatch", array|2|)

/html/Deposit/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Mvc_DispatchComponent.php:
00103: 
00104:         $componentContext->setParameter('TYPO3\Flow\Mvc\DispatchComponent', 'actionRequest', $actionRequest);
00105:         $this->dispatcher->dispatch($actionRequest, $componentContext->getHttpResponse());
00106:     }
00107: 

6 TYPO3\Flow\Object\DependencyInjection\DependencyProxy::dispatch(TYPO3\Flow\Mvc\ActionRequest, TYPO3\Flow\Http\Response)

/html/Deposit/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Mvc_DispatchComponent.php:
00103: 
00104:         $componentContext->setParameter('TYPO3\Flow\Mvc\DispatchComponent', 'actionRequest', $actionRequest);
00105:         $this->dispatcher->dispatch($actionRequest, $componentContext->getHttpResponse());
00106:     }
00107: 

5 TYPO3\Flow\Mvc\DispatchComponent_Original::handle(TYPO3\Flow\Http\Component\ComponentContext)

/html/Deposit/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Http_Component_ComponentChain.php:
00053:                 continue;
00054:             }
00055:             $component->handle($componentContext);
00056:             if ($componentContext->getParameter('TYPO3\Flow\Http\Component\ComponentChain', 'cancel') === true) {
00057:                 $componentContext->setParameter('TYPO3\Flow\Http\Component\ComponentChain', 'cancel', null);

4 TYPO3\Flow\Http\Component\ComponentChain_Original::handle(TYPO3\Flow\Http\Component\ComponentContext)

/html/Deposit/Data/Temporary/Development/Cache/Code/Flow_Object_Classes/TYPO3_Flow_Http_Component_ComponentChain.php:
00053:                 continue;
00054:             }
00055:             $component->handle($componentContext);
00056:             if ($componentContext->getParameter('TYPO3\Flow\Http\Component\ComponentChain', 'cancel') === true) {
00057:                 $componentContext->setParameter('TYPO3\Flow\Http\Component\ComponentChain', 'cancel', null);

3 TYPO3\Flow\Http\Component\ComponentChain_Original::handle(TYPO3\Flow\Http\Component\ComponentContext)

Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Http/RequestHandler.php:
00109: 
00110:         $componentContext = new ComponentContext($this->request, $this->response);
00111:         $this->baseComponentChain->handle($componentContext);
00112: 
00113:         $this->response->send();

2 TYPO3\Flow\Http\RequestHandler::handleRequest()

Packages/Framework/TYPO3.Flow/Classes/TYPO3/Flow/Core/Bootstrap.php:
00109: 
00110:         $this->activeRequestHandler = $this->resolveRequestHandler();
00111:         $this->activeRequestHandler->handleRequest();
00112:     }
00113: 

1 TYPO3\Flow\Core\Bootstrap::run()

/html/Deposit/Web/index.php:
00025: $context = \TYPO3\Flow\Core\Bootstrap::getEnvironmentConfigurationSetting('FLOW_CONTEXT') ?: 'Development';
00026: $bootstrap = new \TYPO3\Flow\Core\Bootstrap($context);
00027: $bootstrap->run();