Uncaught TYPO3 Exception
#1: PHP Catchable Fatal Error: Argument 1 passed to Wendisch\TwTourguide\Helper\Helper::makeMagenCreateCall() must be an instance of Wendisch\TwTourguide\Domain\Model\Item, null given, called in /var/www/vhosts/stattreisen-bremen.de/stattreisen-typo3-2015/typo3conf/ext/tw_tourguide/Classes/Controller/BookingController.php on line 114 and defined in /var/www/vhosts/stattreisen-bremen.de/stattreisen-typo3-2015/typo3conf/ext/tw_tourguide/Classes/Helper/Helper.php line 119 (More information)

TYPO3\CMS\Core\Error\Exception thrown in file
/var/www/vhosts/stattreisen-bremen.de/typo3_src-6.2.31/typo3/sysext/core/Classes/Error/ErrorHandler.php in line 101.

18 TYPO3\CMS\Core\Error\ErrorHandler::handleError(4096, "Argument 1 passed to Wendisch\TwTourguide\Helper\Hller/BookingController.php on line 114 and defined", "/var/www/vhosts/stattreisen-bremen.de/stattreisen-po3conf/ext/tw_tourguide/Classes/Helper/Helper.php", 119, array)

/var/www/vhosts/stattreisen-bremen.de/stattreisen-typo3-2015/typo3conf/ext/tw_tourguide/Classes/Helper/Helper.php:
00117:      * @return void
00118:      */
00119:     static function makeMagenCreateCall(\Wendisch\TwTourguide\Domain\Model\Item $item, $timestamp, \Wendisch\TwTourguide\Domain\Model\Timeslots $slot = NULL) {
00120: 
00121:         $path = "https://tickets.stattreisen-bremen.de/transfer1.php";

17 Wendisch\TwTourguide\Helper\Helper::makeMagenCreateCall(NULL, 1524986974, NULL)

/var/www/vhosts/stattreisen-bremen.de/stattreisen-typo3-2015/typo3conf/ext/tw_tourguide/Classes/Controller/BookingController.php:
00112:     public function newAction(\Wendisch\TwTourguide\Domain\Model\Item $item = NULL, $cDate = NULL, \Wendisch\TwTourguide\Domain\Model\Timeslots $slot = NULL) {
00113: 
00114:         Helper::makeMagenCreateCall($item, $cDate, $slot);
00115:         $oDate = new \DateTime();
00116:         $oDate->setTimestamp($cDate);

16 Wendisch\TwTourguide\Controller\BookingController::newAction(NULL, 1524986974, NULL)
15 call_user_func_array(array, array)

/var/www/vhosts/stattreisen-bremen.de/typo3_src-6.2.31/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php:
00285:    if (!$validationResult->hasErrors()) {
00286:     $this->emitBeforeCallActionMethodSignal($preparedArguments);
00287:     $actionResult = call_user_func_array(array($this, $this->actionMethodName), $preparedArguments);
00288:    } else {
00289:     $methodTagsValues = $this->reflectionService->getMethodTagsValues(get_class($this), $this->actionMethodName);

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

/var/www/vhosts/stattreisen-bremen.de/typo3_src-6.2.31/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php:
00156:    $this->initializeView($this->view);
00157:   }
00158:   $this->callActionMethod();
00159:  }
00160: 

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

/var/www/vhosts/stattreisen-bremen.de/typo3_src-6.2.31/typo3/sysext/extbase/Classes/Mvc/Dispatcher.php:
00067:    $controller = $this->resolveController($request);
00068:    try {
00069:     $controller->processRequest($request, $response);
00070:    } catch (\TYPO3\CMS\Extbase\Mvc\Exception\StopActionException $ignoredException) {
00071:    }

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

/var/www/vhosts/stattreisen-bremen.de/typo3_src-6.2.31/typo3/sysext/extbase/Classes/Mvc/Web/FrontendRequestHandler.php:
00054:   /** @var $response \TYPO3\CMS\Extbase\Mvc\ResponseInterface */
00055:   $response = $this->objectManager->get('TYPO3\\CMS\\Extbase\\Mvc\\Web\\Response');
00056:   $this->dispatcher->dispatch($request, $response);
00057:   return $response;
00058:  }

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

/var/www/vhosts/stattreisen-bremen.de/typo3_src-6.2.31/typo3/sysext/extbase/Classes/Core/Bootstrap.php:
00193:   $requestHandler = $requestHandlerResolver->resolveRequestHandler();
00194: 
00195:   $response = $requestHandler->handleRequest();
00196:   // If response is NULL after handling the request we need to stop
00197:   // This happens for instance, when a USER object was converted to a USER_INT

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

/var/www/vhosts/stattreisen-bremen.de/typo3_src-6.2.31/typo3/sysext/extbase/Classes/Core/Bootstrap.php:
00182:  public function run($content, $configuration) {
00183:   $this->initialize($configuration);
00184:   return $this->handleRequest();
00185:  }
00186: 

9 TYPO3\CMS\Extbase\Core\Bootstrap::run("", array)
8 call_user_func_array(array, array)

/var/www/vhosts/stattreisen-bremen.de/typo3_src-6.2.31/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:
06661:       $content,
06662:       $conf
06663:      ));
06664:     } else {
06665:      $GLOBALS['TT']->setTSlogMessage('Method "' . $parts[1] . '" did not exist in class "' . $parts[0] . '"', 3);

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

/var/www/vhosts/stattreisen-bremen.de/typo3_src-6.2.31/typo3/sysext/frontend/Classes/ContentObject/UserContentObject.php:
00039:   }
00040:   $this->cObj->includeLibs($conf);
00041:   $tempContent = $this->cObj->callUserFunction($conf['userFunc'], $conf, '');
00042:   if ($this->cObj->doConvertToUserIntObject) {
00043:    $this->cObj->doConvertToUserIntObject = FALSE;

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

/var/www/vhosts/stattreisen-bremen.de/typo3_src-6.2.31/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:
00860:    return $this->getContentObject('USER_INT')->render($conf);
00861:   } else {
00862:    return $this->getContentObject('USER')->render($conf);
00863:   }
00864:  }

5 TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::USER(array)

/var/www/vhosts/stattreisen-bremen.de/typo3_src-6.2.31/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php:
03729:        break;
03730:       case 'FUNC':
03731:        $incContent = $INTiS_cObj->USER($INTiS_config[$INTiS_key]['conf']);
03732:        break;
03733:       case 'POSTUSERFUNC':

4 TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::INTincScript_process(array)

/var/www/vhosts/stattreisen-bremen.de/typo3_src-6.2.31/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php:
03677:    $INTiS_config = $this->config['INTincScript'];
03678:    $this->INTincScript_includeLibs($INTiS_config);
03679:    $this->INTincScript_process($INTiS_config);
03680:    // Check if there were new items added to INTincScript during the previous execution:
03681:    $INTiS_config = array_diff_assoc($this->config['INTincScript'], $INTiS_config);

3 TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::recursivelyReplaceIntPlaceholdersInContent()

/var/www/vhosts/stattreisen-bremen.de/typo3_src-6.2.31/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php:
03644:   }
03645: 
03646:   $this->recursivelyReplaceIntPlaceholdersInContent();
03647:   $GLOBALS['TT']->push('Substitute header section');
03648:   $this->INTincScript_loadJSCode();

2 TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController::INTincScript()

/var/www/vhosts/stattreisen-bremen.de/typo3_src-6.2.31/typo3/sysext/cms/tslib/index_ts.php:
00230: if ($TSFE->isINTincScript()) {
00231:  $TT->push('Non-cached objects', '');
00232:  $TSFE->INTincScript();
00233:  $TT->pull();
00234: }

1 require("/var/www/vhosts/stattreisen-bremen.de/typo3_src-6.2.31/typo3/sysext/cms/tslib/index_ts.php")

/var/www/vhosts/stattreisen-bremen.de/typo3_src-6.2.31/index.php:
00026:  ->redirectToInstallerIfEssentialConfigurationDoesNotExist();
00027: 
00028: require(PATH_tslib . 'index_ts.php');