Hilft das vielleicht weiter...
(problem gibt es nur im Backend bei den "Mitglieder" - bei "Benutzer" funktioniert soweit alles)
Code:
12:39:26.564 critical Uncaught PHP Exception ErrorException: "Warning: foreach() argument must be of type array|object, null given" at /var/www/vhosts/##ACCOUNT##/##DOMAIN##/cms/vendor/terminal42/dcawizard/src/Widget/DcaWizard.php line 523
request Hide context Hide trace
[?]
{?
/var/www/vhosts/##ACCOUNT##/##DOMAIN##/cms/vendor/terminal42/dcawizard/src/Widget/DcaWizard.php:523 {?
Terminal42\DcawizardBundle\Widget\DcaWizard->getHeaderFields(): array …
› if (empty($arrHeaderFields) || !\is_array($arrHeaderFields)) {
› foreach ($this->fields as $field) {
› if ('id' === $field) {
}
/var/www/vhosts/##ACCOUNT##/##DOMAIN##/cms/vendor/terminal42/dcawizard/src/Widget/DcaWizard.php:183 {?
Terminal42\DcawizardBundle\Widget\DcaWizard->generate(): string …
› $objTemplate->hasListCallback = false;
› $objTemplate->headerFields = $this->getHeaderFields();
› $objTemplate->hasRows = !empty($arrRows);
}
/var/www/vhosts/##ACCOUNT##/##DOMAIN##/cms/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Widget.php:661 {?
Contao\Widget->generateWithError($blnSwitchOrder = false) …
› {
› \t$strWidget = $this->generate();
› \t$strError = $this->getErrorAsHTML();
}
/var/www/vhosts/##ACCOUNT##/##DOMAIN##/cms/vendor/contao/core-bundle/src/Resources/contao/templates/backend/be_widget.html5:3 {?
include …
› <h3><?= $this->generateLabel().$this->xlabel ?></h3>
› <?= $this->generateWithError(true) ?>
›
}
/var/www/vhosts/##ACCOUNT##/##DOMAIN##/cms/vendor/contao/core-bundle/src/Resources/contao/library/Contao/TemplateInheritance.php:108 {?
Contao\Widget->inherit() …
› {
› \tinclude $strParent;
› }
arguments: {?
"/var/www/vhosts/##ACCOUNT##/##DOMAIN##/cms/vendor/contao/core-bundle/src/Resources/contao/templates/backend/be_widget.html5"
}
}
/var/www/vhosts/##ACCOUNT##/##DOMAIN##/cms/vendor/contao/core-bundle/src/Resources/contao/library/Contao/Widget.php:608 {?
Contao\Widget->parse($arrAttributes = null) …
›
› $strBuffer = $this->inherit();
›
}
/var/www/vhosts/##ACCOUNT##/##DOMAIN##/cms/vendor/contao/core-bundle/src/Resources/contao/classes/DataContainer.php:804 {?
Contao\DataContainer->row($strPalette = null) …
› \t\treturn $strPreview . '
› <div' . (!empty($arrData['eval']['tl_class']) ? ' class="' . trim($arrData['eval']['tl_class']) . '"' : '') . '>' . $objWidget->parse() . $updateMode . (!$objWidget->hasErrors() ? $this->help($strHelpClass) : '') . '
› </div>';
}
/var/www/vhosts/##ACCOUNT##/##DOMAIN##/cms/vendor/contao/core-bundle/src/Resources/contao/drivers/DC_Table.php:1984 {?
Contao\DC_Table->edit($intId = null, $ajaxId = null) …
› \t// Build the row and pass the current palette string (thanks to Tristan Lins)
› \t$blnAjax ? $arrAjax[$thisId] .= $this->row($this->strPalette) : $return .= $this->row($this->strPalette);
› }
}
/var/www/vhosts/##ACCOUNT##/##DOMAIN##/cms/vendor/contao/core-bundle/src/Resources/contao/classes/Backend.php:667 {?
Contao\Backend->getBackendModule($module, ?PickerInterface $picker = null) …
›
› \treturn $dc->$act();
› }
}
/var/www/vhosts/##ACCOUNT##/##DOMAIN##/cms/vendor/contao/core-bundle/src/Resources/contao/controllers/BackendMain.php:168 {?
Contao\BackendMain->run() …
›
› $this->Template->main .= $this->getBackendModule(Input::get('do'), $picker);
› $this->Template->title = $this->Template->headline;
}
/var/www/vhosts/##ACCOUNT##/##DOMAIN##/cms/vendor/contao/core-bundle/src/Controller/BackendController.php:49 {?
Contao\CoreBundle\Controller\BackendController->mainAction(): Response …
›
› return $controller->run();
› }
}
/var/www/vhosts/##ACCOUNT##/##DOMAIN##/cms/vendor/symfony/http-kernel/HttpKernel.php:163 {?
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
› // call controller
› $response = $controller(...$arguments);
›
}
/var/www/vhosts/##ACCOUNT##/##DOMAIN##/cms/vendor/symfony/http-kernel/HttpKernel.php:75 {?
Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
}
/var/www/vhosts/##ACCOUNT##/##DOMAIN##/cms/vendor/symfony/http-kernel/Kernel.php:202 {?
Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/var/www/vhosts/##ACCOUNT##/##DOMAIN##/cms/web/index.php:44 {?
›
› $response = $kernel->handle($request);
› $response->send();
}
}