Uncaught TYPO3 Exception
#1: PHP Warning: Invalid argument supplied for foreach() in /webhome/kimoto.ch/www/typo3conf/ext/products/Classes/Controller/ProductController.php line 653 (More information)

TYPO3\CMS\Core\Error\Exception thrown in file
/webhome/kimoto.ch/www/typo3_src-7.6.16/typo3/sysext/core/Classes/Error/ErrorHandler.php in line 111.

21 TYPO3\CMS\Core\Error\ErrorHandler::handleError(2, "Invalid argument supplied for foreach()", "/webhome/kimoto.ch/www/typo3conf/ext/products/Classes/Controller/ProductController.php", 653, array)

/webhome/kimoto.ch/www/typo3conf/ext/products/Classes/Controller/ProductController.php:
00651:   $col = 0;
00652:   
00653:   foreach($products as $k=>$product){
00654:    
00655:    $col++;

20 Jamon\Products\Controller\ProductController::overviewAction()
19 call_user_func_array(array, array)

/webhome/kimoto.ch/www/typo3_src-7.6.16/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php:
00281:         if (!$validationResult->hasErrors()) {
00282:             $this->emitBeforeCallActionMethodSignal($preparedArguments);
00283:             $actionResult = call_user_func_array([$this, $this->actionMethodName], $preparedArguments);
00284:         } else {
00285:             $methodTagsValues = $this->reflectionService->getMethodTagsValues(get_class($this), $this->actionMethodName);

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

/webhome/kimoto.ch/www/typo3_src-7.6.16/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php:
00174:             $this->initializeView($this->view);
00175:         }
00176:         $this->callActionMethod();
00177:     }
00178: 

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

/webhome/kimoto.ch/www/typo3_src-7.6.16/typo3/sysext/extbase/Classes/Mvc/Dispatcher.php:
00084:             $controller = $this->resolveController($request);
00085:             try {
00086:                 $controller->processRequest($request, $response);
00087:             } catch (\TYPO3\CMS\Extbase\Mvc\Exception\StopActionException $ignoredException) {
00088:             }

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

/webhome/kimoto.ch/www/typo3_src-7.6.16/typo3/sysext/extbase/Classes/Mvc/Web/FrontendRequestHandler.php:
00067:         /** @var $response \TYPO3\CMS\Extbase\Mvc\ResponseInterface */
00068:         $response = $this->objectManager->get(\TYPO3\CMS\Extbase\Mvc\Web\Response::class);
00069:         $this->dispatcher->dispatch($request, $response);
00070:         return $response;
00071:     }

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

/webhome/kimoto.ch/www/typo3_src-7.6.16/typo3/sysext/extbase/Classes/Core/Bootstrap.php:
00204:         $requestHandler = $requestHandlerResolver->resolveRequestHandler();
00205: 
00206:         $response = $requestHandler->handleRequest();
00207:         // If response is NULL after handling the request we need to stop
00208:         // This happens for instance, when a USER object was converted to a USER_INT

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

/webhome/kimoto.ch/www/typo3_src-7.6.16/typo3/sysext/extbase/Classes/Core/Bootstrap.php:
00191:     {
00192:         $this->initialize($configuration);
00193:         return $this->handleRequest();
00194:     }
00195: 

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

/webhome/kimoto.ch/www/typo3_src-7.6.16/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:
07308:                     ], [
07309:                         $content,
07310:                         $conf
07311:                     ]);
07312:                 } else {

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

/webhome/kimoto.ch/www/typo3_src-7.6.16/typo3/sysext/frontend/Classes/ContentObject/UserContentObject.php:
00038:         }
00039:         $this->cObj->includeLibs($conf);
00040:         $tempContent = $this->cObj->callUserFunction($conf['userFunc'], $conf, '');
00041:         if ($this->cObj->doConvertToUserIntObject) {
00042:             $this->cObj->doConvertToUserIntObject = false;

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

/webhome/kimoto.ch/www/typo3_src-7.6.16/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:
00941:         // Render content
00942:         try {
00943:             $content .= $contentObject->render($configuration);
00944:         } catch (ContentRenderingException $exception) {
00945:             // Content rendering Exceptions indicate a critical problem which should not be

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

/webhome/kimoto.ch/www/typo3_src-7.6.16/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:
00857:                     $contentObject = $this->getContentObject($name);
00858:                     if ($contentObject) {
00859:                         $content .= $this->render($contentObject, $conf);
00860:                     } else {
00861:                         // Call hook functions for extra processing

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

/webhome/kimoto.ch/www/typo3_src-7.6.16/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php:
03575:                             break;
03576:                         case 'FUNC':
03577:                             $incContent = $INTiS_cObj->cObjGetSingle('USER', $INTiS_config[$INTiS_key]['conf']);
03578:                             break;
03579:                         case 'POSTUSERFUNC':

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

/webhome/kimoto.ch/www/typo3_src-7.6.16/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php:
03520:             $INTiS_config = $this->config['INTincScript'];
03521:             $this->INTincScript_includeLibs($INTiS_config);
03522:             $this->INTincScript_process($INTiS_config);
03523:             // Check if there were new items added to INTincScript during the previous execution:
03524:             $INTiS_config = array_diff_assoc($this->config['INTincScript'], $INTiS_config);

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

/webhome/kimoto.ch/www/typo3_src-7.6.16/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php:
03486:         }
03487: 
03488:         $this->recursivelyReplaceIntPlaceholdersInContent();
03489:         $this->getTimeTracker()->push('Substitute header section');
03490:         $this->INTincScript_loadJSCode();

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

/webhome/kimoto.ch/www/typo3_src-7.6.16/typo3/sysext/frontend/Classes/Http/RequestHandler.php:
00230:         if ($this->controller->isINTincScript()) {
00231:             $this->timeTracker->push('Non-cached objects', '');
00232:             $this->controller->INTincScript();
00233:             $this->timeTracker->pull();
00234:         }

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

/webhome/kimoto.ch/www/typo3_src-7.6.16/typo3/sysext/core/Classes/Core/Bootstrap.php:
00300: 
00301:         // Execute the command which returns a Response object or NULL
00302:         $this->response = $requestHandler->handleRequest($request);
00303:         return $this;
00304:     }

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

/webhome/kimoto.ch/www/typo3_src-7.6.16/typo3/sysext/frontend/Classes/Http/Application.php:
00076:     public function run(callable $execute = null)
00077:     {
00078:         $this->bootstrap->handleRequest(\TYPO3\CMS\Core\Http\ServerRequestFactory::fromGlobals());
00079: 
00080:         if ($execute !== null) {

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

/webhome/kimoto.ch/www/typo3_src-7.6.16/index.php:
00031: call_user_func(function () {
00032:     $classLoader = require rtrim(realpath(__DIR__ . '/typo3'), '\\/') . '/../vendor/autoload.php';
00033:     (new \TYPO3\CMS\Frontend\Http\Application($classLoader))->run();
00034: });

1 {closure}()

/webhome/kimoto.ch/www/typo3_src-7.6.16/index.php:
00032:     $classLoader = require rtrim(realpath(__DIR__ . '/typo3'), '\\/') . '/../vendor/autoload.php';
00033:     (new \TYPO3\CMS\Frontend\Http\Application($classLoader))->run();
00034: });