Uncaught TYPO3 Exception
#1: PHP Warning: Invalid argument supplied for foreach() in /usr/www/users/nscyhp/2015.nsc-holding.com/typo3conf/ext/nscfleetlistplugin/Classes/Controller/ShipsController.php line 272 (More information)

TYPO3\CMS\Core\Error\Exception thrown in file
/usr/www/users/nscyhp/typo3_src-6.2.19/typo3/sysext/core/Classes/Error/ErrorHandler.php in line 101.

17 TYPO3\CMS\Core\Error\ErrorHandler::handleError(2, "Invalid argument supplied for foreach()", "/usr/www/users/nscyhp/2015.nsc-holding.com/typo3cotlistplugin/Classes/Controller/ShipsController.php", 272, array)

/usr/www/users/nscyhp/2015.nsc-holding.com/typo3conf/ext/nscfleetlistplugin/Classes/Controller/ShipsController.php:
00270:   $this->view->assign('noguaranteetext', $this->settings['noGuaranteeText']);
00271:   $this->view->assign('downloadlabel', $this->settings['downloadPdfText']);
00272:   foreach ($ships[0] as $k => $v) {
00273:    $this->view->assign($k, $v);
00274:   }

16 Futurepixel\Nscfleetlistplugin\Controller\ShipsController::detailAction()
15 call_user_func_array(array, array)

/usr/www/users/nscyhp/typo3_src-6.2.19/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()

/usr/www/users/nscyhp/typo3_src-6.2.19/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)

/usr/www/users/nscyhp/typo3_src-6.2.19/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)

/usr/www/users/nscyhp/typo3_src-6.2.19/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()

/usr/www/users/nscyhp/typo3_src-6.2.19/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()

/usr/www/users/nscyhp/typo3_src-6.2.19/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)

/usr/www/users/nscyhp/typo3_src-6.2.19/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:
06663:       $content,
06664:       $conf
06665:      ));
06666:     } else {
06667:      $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, "")

/usr/www/users/nscyhp/typo3_src-6.2.19/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)

/usr/www/users/nscyhp/typo3_src-6.2.19/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)

/usr/www/users/nscyhp/typo3_src-6.2.19/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php:
03727:        break;
03728:       case 'FUNC':
03729:        $incContent = $INTiS_cObj->USER($INTiS_config[$INTiS_key]['conf']);
03730:        break;
03731:       case 'POSTUSERFUNC':

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

/usr/www/users/nscyhp/typo3_src-6.2.19/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php:
03675:    $INTiS_config = $this->config['INTincScript'];
03676:    $this->INTincScript_includeLibs($INTiS_config);
03677:    $this->INTincScript_process($INTiS_config);
03678:    // Check if there were new items added to INTincScript during the previous execution:
03679:    $INTiS_config = array_diff_assoc($this->config['INTincScript'], $INTiS_config);

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

/usr/www/users/nscyhp/typo3_src-6.2.19/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php:
03642:   }
03643: 
03644:   $this->recursivelyReplaceIntPlaceholdersInContent();
03645:   $GLOBALS['TT']->push('Substitute header section');
03646:   $this->INTincScript_loadJSCode();

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

/usr/www/users/nscyhp/typo3_src-6.2.19/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("/usr/www/users/nscyhp/typo3_src-6.2.19/typo3/sysext/cms/tslib/index_ts.php")

/usr/www/users/nscyhp/typo3_src-6.2.19/index.php:
00026:  ->redirectToInstallerIfEssentialConfigurationDoesNotExist();
00027: 
00028: require(PATH_tslib . 'index_ts.php');