https://buetow.romeni.eu/de/von-a-bis-z/lohnbuchhaltung.html

Exceptions

Warning: Invalid argument supplied for foreach()

  • Exception
  • Logs
  • Stack Trace

ErrorException

  1.         <ol class="table_body">
  2.             <li class="table_row table_head row_0">
  3.                 <div class="table_col col_0"><?= $this->title_dienstleistung?></div>
  4.                 <?php if($leistung->value != "-:blank"): ?><div class="table_col col_1"><?= $this->title_bemessung?></div><?php endif; ?>
  5.             </li>
  6.             <?php foreach ($this->dienstleistungen as $index_d=>$dienstleistung): ?>
  7.             <li class="table_row row_main row_<?= $index_d+1?> <?php if($dienstleistung->taetigkeiten): echo "has_row_sub"; elseif($dienstleistung->beschreibung_d): echo "has_details"; else: echo "has_no"; endif; ?> <?php if($dienstleistung->taetigkeiten || $dienstleistung->beschreibung_d): echo "icon_after icon-arrow-down"; endif; ?>">
  8.                 <div class="table_col col_0" data-title="<?= $this->title_dienstleistung?>">
  9.                     <strong><?= $dienstleistung->dienstleistung?></strong>
  10.                     <?php if($dienstleistung->note_d): ?><br><small><?= nl2br($dienstleistung->note_d); ?></small><?php endif; ?>
  11.                     <?php if($dienstleistung->beschreibung_d): ?><br>
  1.             try
  2.             {
  3.                 if (file_exists($strParent))
  4.                 {
  5.                     include $strParent;
  6.                 }
  7.                 else
  8.                 {
  9.                     System::getContainer()->get('monolog.logger.contao.error')->error('Invalid template path: ' StringUtil::stripRootDir($strParent));
  10.                 }
  1.                 $this->import($callback[0]);
  2.                 $this->{$callback[0]}->{$callback[1]}($this);
  3.             }
  4.         }
  5.         return $this->inherit();
  6.     }
  7.     /**
  8.      * Parse the template file and print it to the screen
  9.      *
  1.      *
  2.      * @return string The template markup
  3.      */
  4.     public function parse()
  5.     {
  6.         $strBuffer parent::parse();
  7.         // HOOK: add custom parse filters
  8.         if (isset($GLOBALS['TL_HOOKS']['parseFrontendTemplate']) && \is_array($GLOBALS['TL_HOOKS']['parseFrontendTemplate']))
  9.         {
  10.             foreach ($GLOBALS['TL_HOOKS']['parseFrontendTemplate'] as $callback)
  1.         if ($this->objModel !== null)
  2.         {
  3.             System::getContainer()->get('contao.cache.entity_tags')->tagWithModelInstance($this->objModel);
  4.         }
  5.         return $this->Template->parse();
  6.     }
  7.     protected function isHidden()
  8.     {
  9.         // Skip unsaved elements (see #2708)
  1.         if (($output $this->rsceGetBackendOutput()) !== null) {
  2.             return $output;
  3.         }
  4.         try {
  5.             return parent::generate();
  6.         }
  7.         catch (\Exception $exception) {
  8.             if (TL_MODE === 'BE') {
  1.             $objStopwatch->start($strStopWatchId'contao.layout');
  2.         }
  3.         /** @var ContentElement $objElement */
  4.         $objElement = new $strClass($objRow$strColumn);
  5.         $strBuffer $objElement->generate();
  6.         // HOOK: add custom logic
  7.         if (isset($GLOBALS['TL_HOOKS']['getContentElement']) && \is_array($GLOBALS['TL_HOOKS']['getContentElement']))
  8.         {
  9.             foreach ($GLOBALS['TL_HOOKS']['getContentElement'] as $callback)
  1.         if ($objCte !== null)
  2.         {
  3.             while ($objCte->next())
  4.             {
  5.                 $arrElements[] = $this->getContentElement($objCte->current(), $this->strColumn);
  6.             }
  7.         }
  8.         $this->Template->teaser $this->teaser;
  9.         $this->Template->elements $arrElements;
  1.     public function generate()
  2.     {
  3.         $this->Template = new FrontendTemplate($this->strTemplate);
  4.         $this->Template->setData($this->arrData);
  5.         $this->compile();
  6.         // Do not change this order (see #6191)
  7.         $this->Template->style = !empty($this->arrStyle) ? implode(' '$this->arrStyle) : '';
  8.         $this->Template->class trim('mod_' $this->type ' ' . ($this->cssID[1] ?? ''));
  9.         $this->Template->cssID = !empty($this->cssID[0]) ? ' id="' $this->cssID[0] . '"' '';
  1.         if ($this->objModel !== null)
  2.         {
  3.             System::getContainer()->get('contao.cache.entity_tags')->tagWithModelInstance($this->objModel);
  4.         }
  5.         return parent::generate();
  6.     }
  7.     protected function isHidden()
  8.     {
  9.         $isUnpublished = !$this->published || ($this->start && $this->start time()) || ($this->stop && $this->stop <= time());
  1.             $objStopwatch System::getContainer()->get('debug.stopwatch');
  2.             $objStopwatch->start($strStopWatchId'contao.layout');
  3.         }
  4.         $objArticle = new ModuleArticle($objRow$strColumn);
  5.         $strBuffer $objArticle->generate($blnIsInsertTag);
  6.         // Disable indexing if protected
  7.         if ($objArticle->protected && !preg_match('/^\s*<!-- indexer::stop/'$strBuffer))
  8.         {
  9.             $strBuffer "\n<!-- indexer::stop -->" $strBuffer "<!-- indexer::continue -->\n";
  1.             $return '';
  2.             $blnMultiMode = ($objArticles->count() > 1);
  3.             while ($objArticles->next())
  4.             {
  5.                 $return .= static::getArticle($objArticles->current(), $blnMultiModefalse$strColumn);
  6.             }
  7.             return $return;
  8.         }
  1.                     if ($objLayout->rows != '2rwf' && $objLayout->rows != '3rw' && $arrModule['col'] == 'footer')
  2.                     {
  3.                         continue;
  4.                     }
  5.                     $this->Template->{$arrModule['col']} .= $this->getFrontendModule($arrModule['mod'], $arrModule['col']);
  6.                 }
  7.                 else
  8.                 {
  9.                     if (!isset($arrCustomSections[$arrModule['col']]))
  10.                     {
  1.      *
  2.      * @return Response
  3.      */
  4.     public function getResponse($objPage$blnCheckRequest=false)
  5.     {
  6.         $this->prepare($objPage);
  7.         $response $this->Template->getResponse($blnCheckRequest);
  8.         // Finalize the response context so it cannot be used anymore
  9.         System::getContainer()->get('contao.routing.response_context_accessor')->finalizeCurrentContext($response);
  1.                 }
  2.                 return $objResponse;
  3.             }
  4.             return $objHandler->getResponse($objPagetrue);
  5.         }
  6.         // Render the error page (see #5570)
  7.         catch (UnusedArgumentsException $e)
  8.         {
  1.         $this->dispatcher->dispatch($eventKernelEvents::CONTROLLER_ARGUMENTS);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response $controller(...$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new ViewEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch($eventKernelEvents::VIEW);
  1.     public function handle(Request $requestint $type HttpKernelInterface::MAIN_REQUESTbool $catch true)
  2.     {
  3.         $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
Kernel->handle() in web/index.php (line 44)
  1. $loader = require __DIR__.'/../vendor/autoload.php';
  2. $request Request::createFromGlobals();
  3. $kernel ContaoKernel::fromRequest(dirname(__DIR__), $request);
  4. $response $kernel->handle($request);
  5. $response->send();
  6. if ($kernel instanceof TerminableInterface) {
  7.     $kernel->terminate($request$response);
  8. }