alnv / catalog-manager

Backend Module ohne Programmierkenntnisse erstellen.
https://catalog-manager.org
33 stars 8 forks source link

Warning: Undefined array key "options2" #384

Open berecont opened 8 months ago

berecont commented 8 months ago

Contao 5.3.0 CM 3.0.2 im Dev-Mode (APP_ENV=dev) erhalte ich eine Warnung

Typ Katalog Darstellung-Einstellungen » Sortierung bei Auswahl Radio-Button Variable Sortierung: Warning: Undefined array key "options2"

stack trace:

ErrorException:
Warning: Undefined array key "options2"

  at C:\laragon\www\vernetzung\vendor\alnv\widget-collection-bundle\src\Hooks\Attributes.php:18
  at Alnv\ContaoWidgetCollectionBundle\Hooks\Attributes->getAttributesFromDca(array('tl_class' => 'w50', 'mandatory' => true, 'options2_callback' => array('catalogmanager.datacontainer.catalog', 'getOrderByStatements'), 'required' => true, 'id' => 'order', 'name' => 'order', 'strField' => 'order', 'strTable' => 'tl_catalog', 'label' => 'Sortierfelder', 'description' => 'Eines oder mehrere Felder, anhand derer die Tabelle sortiert wird.', 'type' => 'comboWizard', 'dataContainer' => object(DC_Table), 'value' => null, 'allowHtml' => false, 'unknownOption' => array()), object(DC_Table))
     (C:\laragon\www\vernetzung\vendor\contao\core-bundle\contao\library\Contao\Widget.php:1447)
  at Contao\Widget::getAttributesFromDca(array('inputType' => 'comboWizard', 'eval' => array('tl_class' => 'w50', 'mandatory' => true, 'options2_callback' => array('catalogmanager.datacontainer.catalog', 'getOrderByStatements'), 'required' => true), 'options_callback' => array('catalogmanager.datacontainer.catalog', 'getFields'), 'sql' => array('type' => 'blob', 'notnull' => false), 'label' => array('Sortierfelder', 'Eines oder mehrere Felder, anhand derer die Tabelle sortiert wird.'), 'options' => array()), 'order', null, 'order', 'tl_catalog', object(DC_Table))
     (C:\laragon\www\vernetzung\vendor\contao\core-bundle\contao\classes\DataContainer.php:481)
  at Contao\DataContainer->row()
     (C:\laragon\www\vernetzung\vendor\contao\core-bundle\contao\drivers\DC_Table.php:2199)
  at Contao\DC_Table->edit()
     (C:\laragon\www\vernetzung\vendor\contao\core-bundle\contao\classes\Backend.php:548)
  at Contao\Backend->getBackendModule('catalog-manager', null)
     (C:\laragon\www\vernetzung\vendor\contao\core-bundle\contao\controllers\BackendMain.php:146)
  at Contao\BackendMain->run()
     (C:\laragon\www\vernetzung\vendor\contao\core-bundle\src\Controller\BackendController.php:44)
  at Contao\CoreBundle\Controller\BackendController->mainAction()
     (C:\laragon\www\vernetzung\vendor\symfony\http-kernel\HttpKernel.php:181)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (C:\laragon\www\vernetzung\vendor\symfony\http-kernel\HttpKernel.php:76)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (C:\laragon\www\vernetzung\vendor\symfony\http-kernel\Kernel.php:197)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (C:\laragon\www\vernetzung\public\index.php:44)