Uncaught TYPO3 Exception
Call to a member function getKategorie() on null

Error thrown in file
/data/kunden/apfel-gmbh.de/htdocs/typo3conf/ext/sy_apfelshop/Classes/Controller/ShopartikelController.php in line 436.

49 SCHITTLY\SyApfelshop\Controller\ShopartikelController::productbreadcrumbAction()
48 call_user_func_array(array, array)

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php:
00314:         if (!$validationResult->hasErrors()) {
00315:             $this->emitBeforeCallActionMethodSignal($preparedArguments);
00316:             $actionResult = call_user_func_array([$this, $this->actionMethodName], $preparedArguments);
00317:         } else {
00318:             $methodTagsValues = $this->reflectionService->getMethodTagsValues(get_class($this), $this->actionMethodName);

47 TYPO3\CMS\Extbase\Mvc\Controller\ActionController::callActionMethod()

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php:
00174:             $this->initializeView($this->view);
00175:         }
00176:         $this->callActionMethod();
00177:         $this->renderAssetsForRequest($request);
00178:     }

46 TYPO3\CMS\Extbase\Mvc\Controller\ActionController::processRequest(TYPO3\CMS\Extbase\Mvc\Web\Request, TYPO3\CMS\Extbase\Mvc\Web\Response)

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/typo3/sysext/extbase/Classes/Mvc/Dispatcher.php:
00083:             $controller = $this->resolveController($request);
00084:             try {
00085:                 $controller->processRequest($request, $response);
00086:             } catch (\TYPO3\CMS\Extbase\Mvc\Exception\StopActionException $ignoredException) {
00087:             }

45 TYPO3\CMS\Extbase\Mvc\Dispatcher::dispatch(TYPO3\CMS\Extbase\Mvc\Web\Request, TYPO3\CMS\Extbase\Mvc\Web\Response)

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/typo3/sysext/extbase/Classes/Mvc/Web/FrontendRequestHandler.php:
00089:         /** @var $response \TYPO3\CMS\Extbase\Mvc\ResponseInterface */
00090:         $response = $this->objectManager->get(\TYPO3\CMS\Extbase\Mvc\Web\Response::class);
00091:         $this->dispatcher->dispatch($request, $response);
00092:         return $response;
00093:     }

44 TYPO3\CMS\Extbase\Mvc\Web\FrontendRequestHandler::handleRequest()

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/typo3/sysext/extbase/Classes/Core/Bootstrap.php:
00197:         $requestHandler = $requestHandlerResolver->resolveRequestHandler();
00198: 
00199:         $response = $requestHandler->handleRequest();
00200:         // If response is NULL after handling the request we need to stop
00201:         // This happens for instance, when a USER object was converted to a USER_INT

43 TYPO3\CMS\Extbase\Core\Bootstrap::handleRequest()

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/typo3/sysext/extbase/Classes/Core/Bootstrap.php:
00184:     {
00185:         $this->initialize($configuration);
00186:         return $this->handleRequest();
00187:     }
00188: 

42 TYPO3\CMS\Extbase\Core\Bootstrap::run("", array)
41 call_user_func_array(array, array)

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:
06339:                     ], [
06340:                         $content,
06341:                         $conf
06342:                     ]);
06343:                 } else {

40 TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::callUserFunction("TYPO3\CMS\Extbase\Core\Bootstrap->run", array, "")

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/typo3/sysext/frontend/Classes/ContentObject/UserContentObject.php:
00039:             $this->cObj->setUserObjectType(ContentObjectRenderer::OBJECTTYPE_USER);
00040:         }
00041:         $tempContent = $this->cObj->callUserFunction($conf['userFunc'], $conf, '');
00042:         if ($this->cObj->doConvertToUserIntObject) {
00043:             $this->cObj->doConvertToUserIntObject = false;

39 TYPO3\CMS\Frontend\ContentObject\UserContentObject::render(array)

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:
00818:         // Render content
00819:         try {
00820:             $content .= $contentObject->render($configuration);
00821:         } catch (ContentRenderingException $exception) {
00822:             // Content rendering Exceptions indicate a critical problem which should not be

38 TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::render(TYPO3\CMS\Frontend\ContentObject\UserContentObject, array)

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:
00734:                     $contentObject = $this->getContentObject($name);
00735:                     if ($contentObject) {
00736:                         $content .= $this->render($contentObject, $conf);
00737:                     } else {
00738:                         // Call hook functions for extra processing

37 TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::cObjGetSingle("USER", array, "20")

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:
00680:             if ((int)$theKey && strpos($theKey, '.') === false) {
00681:                 $conf = $setup[$theKey . '.'];
00682:                 $content .= $this->cObjGetSingle($theValue, $conf, $addKey . $theKey);
00683:             }
00684:         }

36 TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::cObjGet(array)

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/typo3/sysext/frontend/Classes/ContentObject/ContentObjectArrayContentObject.php:
00039:         }
00040: 
00041:         $content = $this->cObj->cObjGet($conf);
00042:         $wrap = isset($conf['wrap.']) ? $this->cObj->stdWrap($conf['wrap'], $conf['wrap.']) : $conf['wrap'];
00043:         if ($wrap) {

35 TYPO3\CMS\Frontend\ContentObject\ContentObjectArrayContentObject::render(array)

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:
00818:         // Render content
00819:         try {
00820:             $content .= $contentObject->render($configuration);
00821:         } catch (ContentRenderingException $exception) {
00822:             // Content rendering Exceptions indicate a critical problem which should not be

34 TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::render(TYPO3\CMS\Frontend\ContentObject\ContentObjectArrayContentObject, array)

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:
00734:                     $contentObject = $this->getContentObject($name);
00735:                     if ($contentObject) {
00736:                         $content .= $this->render($contentObject, $conf);
00737:                     } else {
00738:                         // Call hook functions for extra processing

33 TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::cObjGetSingle("COA", array)

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/typo3/sysext/fluid/Classes/ViewHelpers/CObjectViewHelper.php:
00152:             $setup = $setup[$segment . '.'];
00153:         }
00154:         $content = $this->contentObjectRenderer->cObjGetSingle($setup[$lastSegment], $setup[$lastSegment . '.']);
00155:         if (TYPO3_MODE === 'BE') {
00156:             $this->resetFrontendEnvironment();

32 TYPO3\CMS\Fluid\ViewHelpers\CObjectViewHelper::render()
31 call_user_func_array(array, array)

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/typo3/sysext/fluid/Classes/Core/ViewHelper/AbstractViewHelper.php:
00091: 
00092:         try {
00093:             return call_user_func_array([$this, 'render'], $renderMethodParameters);
00094:         } catch (Exception $exception) {
00095:             if (GeneralUtility::getApplicationContext()->isProduction()) {

30 TYPO3\CMS\Fluid\Core\ViewHelper\AbstractViewHelper::callRenderMethod()

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/vendor/typo3fluid/fluid/src/Core/ViewHelper/AbstractViewHelper.php:
00248:         $this->initialize();
00249: 
00250:         return $this->callRenderMethod();
00251:     }
00252: 

29 TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper::initializeArgumentsAndRender()

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/vendor/typo3fluid/fluid/src/Core/ViewHelper/ViewHelperInvoker.php:
00077:             $viewHelper->setArguments($evaluatedArguments);
00078:             $viewHelper->handleAdditionalArguments($undeclaredArguments);
00079:             return $viewHelper->initializeArgumentsAndRender();
00080:         } catch (Exception $error) {
00081:             return $renderingContext->getErrorHandler()->handleViewHelperError($error);

28 TYPO3Fluid\Fluid\Core\ViewHelper\ViewHelperInvoker::invoke("TYPO3\CMS\Fluid\ViewHelpers\CObjectViewHelper", array, TYPO3\CMS\Fluid\Core\Rendering\RenderingContext, Closure)

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/vendor/typo3fluid/fluid/src/Core/ViewHelper/AbstractViewHelper.php:
00520:     {
00521:         $viewHelperClassName = get_called_class();
00522:         return $renderingContext->getViewHelperInvoker()->invoke($viewHelperClassName, $arguments, $renderingContext, $renderChildrenClosure);
00523:     }
00524: 

27 TYPO3Fluid\Fluid\Core\ViewHelper\AbstractViewHelper::renderStatic(array, Closure, TYPO3\CMS\Fluid\Core\Rendering\RenderingContext)

/data/kunden/apfel-gmbh.de/htdocs/typo3temp/var/Cache/Code/fluid_template/Page_action_layout_bc2d3c0fa47b9d0813d04a6670013c74ddb7c329.php:
00323: $arguments28['typoscriptObjectPath'] = 'lib.breadcrumb';
00324: 
00325: $output25 .= TYPO3\CMS\Fluid\ViewHelpers\CObjectViewHelper::renderStatic($arguments28, $renderChildrenClosure29, $renderingContext);
00326: 
00327: $output25 .= '

26 Page_action_layout_bc2d3c0fa47b9d0813d04a6670013c74ddb7c329::section_4f9be057f0ea5d2ba72fd2c810e8d7b9aa98b469(TYPO3\CMS\Fluid\Core\Rendering\RenderingContext)

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/vendor/typo3fluid/fluid/src/View/AbstractTemplateView.php:
00258:             }
00259:             $this->startRendering($renderingTypeOnNextLevel, $parsedTemplate, $renderingContext);
00260:             $output = $parsedTemplate->$methodNameOfSection($renderingContext);
00261:             $this->stopRendering();
00262:         } else {

25 TYPO3Fluid\Fluid\View\AbstractTemplateView::renderSection("Content", array, boolean)

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/vendor/typo3fluid/fluid/src/ViewHelpers/RenderViewHelper.php:
00141:             $content = $view->renderPartial($partial, $section, $variables, $optional);
00142:         } elseif ($section !== null) {
00143:             $content = $view->renderSection($section, $variables, $optional);
00144:         } elseif (!$optional) {
00145:             throw new \InvalidArgumentException('ViewHelper f:render called without either argument section, partial, renderable or delegate and optional flag is false');

24 TYPO3Fluid\Fluid\ViewHelpers\RenderViewHelper::renderStatic(array, Closure, TYPO3\CMS\Fluid\Core\Rendering\RenderingContext)

/data/kunden/apfel-gmbh.de/htdocs/typo3temp/var/Cache/Code/fluid_template/layout_Page_html_e3d7dcc72fae07bda2754231068acbe826541411.php:
00097: $arguments5['section'] = 'Content';
00098: 
00099: $output0 .= TYPO3Fluid\Fluid\ViewHelpers\RenderViewHelper::renderStatic($arguments5, $renderChildrenClosure6, $renderingContext);
00100: 
00101: $output0 .= '

23 layout_Page_html_e3d7dcc72fae07bda2754231068acbe826541411::render(TYPO3\CMS\Fluid\Core\Rendering\RenderingContext)

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/vendor/typo3fluid/fluid/src/View/AbstractTemplateView.php:
00199:             }
00200:             $this->startRendering(self::RENDERING_LAYOUT, $parsedTemplate, $this->baseRenderingContext);
00201:             $output = $parsedLayout->render($this->baseRenderingContext);
00202:             $this->stopRendering();
00203:         }

22 TYPO3Fluid\Fluid\View\AbstractTemplateView::render()

/data/kunden/apfel-gmbh.de/htdocs/typo3conf/ext/flux/Classes/Controller/AbstractFluxController.php:
00294:             );
00295:         }
00296:         return $this->view->render();
00297:     }
00298: 

21 FluidTYPO3\Flux\Controller\AbstractFluxController::performSubRendering("Vendor.Contentpackage", "Page", "layout", "tx_contentpackage_page")

/data/kunden/apfel-gmbh.de/htdocs/typo3conf/ext/flux/Classes/Controller/AbstractFluxController.php:
00255:             $controllerName,
00256:             $actualActionName,
00257:             $pluginSignature
00258:         );
00259:     }

20 FluidTYPO3\Flux\Controller\AbstractFluxController::renderAction()
19 call_user_func_array(array, array)

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php:
00314:         if (!$validationResult->hasErrors()) {
00315:             $this->emitBeforeCallActionMethodSignal($preparedArguments);
00316:             $actionResult = call_user_func_array([$this, $this->actionMethodName], $preparedArguments);
00317:         } else {
00318:             $methodTagsValues = $this->reflectionService->getMethodTagsValues(get_class($this), $this->actionMethodName);

18 TYPO3\CMS\Extbase\Mvc\Controller\ActionController::callActionMethod()

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php:
00174:             $this->initializeView($this->view);
00175:         }
00176:         $this->callActionMethod();
00177:         $this->renderAssetsForRequest($request);
00178:     }

17 TYPO3\CMS\Extbase\Mvc\Controller\ActionController::processRequest(TYPO3\CMS\Extbase\Mvc\Web\Request, TYPO3\CMS\Extbase\Mvc\Web\Response)

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/typo3/sysext/extbase/Classes/Mvc/Dispatcher.php:
00083:             $controller = $this->resolveController($request);
00084:             try {
00085:                 $controller->processRequest($request, $response);
00086:             } catch (\TYPO3\CMS\Extbase\Mvc\Exception\StopActionException $ignoredException) {
00087:             }

16 TYPO3\CMS\Extbase\Mvc\Dispatcher::dispatch(TYPO3\CMS\Extbase\Mvc\Web\Request, TYPO3\CMS\Extbase\Mvc\Web\Response)

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/typo3/sysext/extbase/Classes/Mvc/Web/FrontendRequestHandler.php:
00089:         /** @var $response \TYPO3\CMS\Extbase\Mvc\ResponseInterface */
00090:         $response = $this->objectManager->get(\TYPO3\CMS\Extbase\Mvc\Web\Response::class);
00091:         $this->dispatcher->dispatch($request, $response);
00092:         return $response;
00093:     }

15 TYPO3\CMS\Extbase\Mvc\Web\FrontendRequestHandler::handleRequest()

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/typo3/sysext/extbase/Classes/Core/Bootstrap.php:
00197:         $requestHandler = $requestHandlerResolver->resolveRequestHandler();
00198: 
00199:         $response = $requestHandler->handleRequest();
00200:         // If response is NULL after handling the request we need to stop
00201:         // This happens for instance, when a USER object was converted to a USER_INT

14 TYPO3\CMS\Extbase\Core\Bootstrap::handleRequest()

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/typo3/sysext/extbase/Classes/Core/Bootstrap.php:
00184:     {
00185:         $this->initialize($configuration);
00186:         return $this->handleRequest();
00187:     }
00188: 

13 TYPO3\CMS\Extbase\Core\Bootstrap::run("", array)
12 call_user_func_array(array, array)

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:
06339:                     ], [
06340:                         $content,
06341:                         $conf
06342:                     ]);
06343:                 } else {

11 TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::callUserFunction("TYPO3\CMS\Extbase\Core\Bootstrap->run", array, "")

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/typo3/sysext/frontend/Classes/ContentObject/UserContentObject.php:
00039:             $this->cObj->setUserObjectType(ContentObjectRenderer::OBJECTTYPE_USER);
00040:         }
00041:         $tempContent = $this->cObj->callUserFunction($conf['userFunc'], $conf, '');
00042:         if ($this->cObj->doConvertToUserIntObject) {
00043:             $this->cObj->doConvertToUserIntObject = false;

10 TYPO3\CMS\Frontend\ContentObject\UserContentObject::render(array)

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:
00818:         // Render content
00819:         try {
00820:             $content .= $contentObject->render($configuration);
00821:         } catch (ContentRenderingException $exception) {
00822:             // Content rendering Exceptions indicate a critical problem which should not be

9 TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::render(TYPO3\CMS\Frontend\ContentObject\UserContentObject, array)

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:
00734:                     $contentObject = $this->getContentObject($name);
00735:                     if ($contentObject) {
00736:                         $content .= $this->render($contentObject, $conf);
00737:                     } else {
00738:                         // Call hook functions for extra processing

8 TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::cObjGetSingle("USER", array, "5")

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:
00680:             if ((int)$theKey && strpos($theKey, '.') === false) {
00681:                 $conf = $setup[$theKey . '.'];
00682:                 $content .= $this->cObjGetSingle($theValue, $conf, $addKey . $theKey);
00683:             }
00684:         }

7 TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::cObjGet(array)

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/typo3/sysext/frontend/Classes/Page/PageGenerator.php:
00193:         $timeTracker->incStackPointer();
00194:         $timeTracker->push($tsfe->sPre, 'PAGE');
00195:         $pageContent = $tsfe->cObj->cObjGet($tsfe->pSetup);
00196:         if ($tsfe->pSetup['wrap']) {
00197:             $pageContent = $tsfe->cObj->wrap($pageContent, $tsfe->pSetup['wrap']);

6 TYPO3\CMS\Frontend\Page\PageGenerator::renderContent()

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/typo3/sysext/frontend/Classes/Http/RequestHandler.php:
00209:                 $this->controller->preparePageContentGeneration();
00210:                 // Content generation
00211:                 PageGenerator::renderContent();
00212:                 $this->controller->setAbsRefPrefix();
00213:             }

5 TYPO3\CMS\Frontend\Http\RequestHandler::handleRequest(TYPO3\CMS\Core\Http\ServerRequest)

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/typo3/sysext/core/Classes/Core/Bootstrap.php:
00317: 
00318:         // Execute the command which returns a Response object or NULL
00319:         $this->response = $requestHandler->handleRequest($request);
00320:         return $this;
00321:     }

4 TYPO3\CMS\Core\Core\Bootstrap::handleRequest(TYPO3\CMS\Core\Http\ServerRequest)

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/typo3/sysext/frontend/Classes/Http/Application.php:
00077:     public function run(callable $execute = null)
00078:     {
00079:         $this->bootstrap->handleRequest(\TYPO3\CMS\Core\Http\ServerRequestFactory::fromGlobals());
00080: 
00081:         if ($execute !== null) {

3 TYPO3\CMS\Frontend\Http\Application::run()

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/typo3/sysext/frontend/Resources/Private/Php/frontend.php:
00021: call_user_func(function () {
00022:     $classLoader = require __DIR__ . '/../../../../../../vendor/autoload.php';
00023:     (new \TYPO3\CMS\Frontend\Http\Application($classLoader))->run();
00024: });

2 {closure}()

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/typo3/sysext/frontend/Resources/Private/Php/frontend.php:
00022:     $classLoader = require __DIR__ . '/../../../../../../vendor/autoload.php';
00023:     (new \TYPO3\CMS\Frontend\Http\Application($classLoader))->run();
00024: });

1 require("/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22sysext/frontend/Resources/Private/Php/frontend.php")

/data/kunden/apfel-gmbh.de/htdocs/typo3_src-8.7.22/index.php:
00001: <?php
00002: 
00003: require __DIR__ . '/typo3/sysext/frontend/Resources/Private/Php/frontend.php';