Uncaught TYPO3 Exception
#1: PHP Warning: Invalid argument supplied for foreach() in /var/www/3838/docs/typo3conf/ext/drk_adressen/Classes/Controller/OrganisationController.php line 180 (More information)

TYPO3\CMS\Core\Error\Exception thrown in file
/var/www/3838/typo3_src-7.6.23/typo3/sysext/core/Classes/Error/ErrorHandler.php in line 111.

22 TYPO3\CMS\Core\Error\ErrorHandler::handleError(2, "Invalid argument supplied for foreach()", "/var/www/3838/docs/typo3conf/ext/drk_adressen/Classes/Controller/OrganisationController.php", 180, array)

/var/www/3838/docs/typo3conf/ext/drk_adressen/Classes/Controller/OrganisationController.php:
00178: 
00179:         $organisationList = [];
00180:         foreach ($this->organisationRepository->findAll() as $organisation) {
00181:             $organisationList[] = [
00182:                 'orgID' => $organisation['orgID'],

21 Frs\DrkAdressen\Controller\OrganisationController::proposalAction(Frs\DrkAdressen\Domain\Model\ProposalModel)
20 call_user_func_array(array, array)

/var/www/3838/typo3_src-7.6.23/typo3/sysext/extbase/Classes/Mvc/Controller/ActionController.php:
00303:             if ($shouldCallActionMethod) {
00304:                 $this->emitBeforeCallActionMethodSignal($preparedArguments);
00305:                 $actionResult = call_user_func_array([$this, $this->actionMethodName], $preparedArguments);
00306:             } else {
00307:                 $actionResult = call_user_func([$this, $this->errorMethodName]);

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

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

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

/var/www/3838/typo3_src-7.6.23/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:             }

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

/var/www/3838/typo3_src-7.6.23/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:     }

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

/var/www/3838/typo3_src-7.6.23/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

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

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

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

/var/www/3838/typo3_src-7.6.23/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php:
07314:                         $content,
07315:                         $conf
07316:                     ]);
07317:                 } else {
07318:                     $this->getTimeTracker()->setTSlogMessage('Method "' . $parts[1] . '" did not exist in class "' . $parts[0] . '"', 3);

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

/var/www/3838/typo3_src-7.6.23/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;

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

/var/www/3838/typo3_src-7.6.23/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

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

/var/www/3838/typo3_src-7.6.23/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

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

/var/www/3838/typo3_src-7.6.23/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':

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

/var/www/3838/typo3_src-7.6.23/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);

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

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

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

/var/www/3838/typo3_src-7.6.23/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:         }

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

/var/www/3838/typo3_src-7.6.23/typo3/sysext/core/Classes/Core/Bootstrap.php:
00305: 
00306:         // Execute the command which returns a Response object or NULL
00307:         $this->response = $requestHandler->handleRequest($request);
00308:         return $this;
00309:     }

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

/var/www/3838/typo3_src-7.6.23/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) {

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

/var/www/3838/typo3_src-7.6.23/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: });

2 {closure}()
1 call_user_func(Closure)

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