alnv/catalog-manager

Warning: Undefined array key "title"

Opened this issue · 1 comments

Contao 4.13.15
Catalog Manager 1.32.34
lokale Installation
mit .env

Filtergenerator » Felder Filterformular bearbeiten » Neues Eingabefeld erstellen:
Feldtyp » 'Select-Menü'
Auswahlliste-Einstellungen » 'Datenbank' oder 'Datenbank (zugewiesen)'
Tabelle 'ctlg_mitarbeiter'
bringt:

ErrorException:
Warning: Undefined array key "title"

  at C:\laragon\www\intersport\vendor\alnv\catalog-manager\classes\tl_catalog_form_fields.php:132
  at CatalogManager\tl_catalog_form_fields->getTableColumnsByTablename('ctlg_mitarbeiter', array('upload'), true)
     (C:\laragon\www\intersport\vendor\alnv\catalog-manager\classes\tl_catalog_form_fields.php:100)
  at CatalogManager\tl_catalog_form_fields->getTaxonomyFields(object(DC_Table), 'ctlg_mitarbeiter')
     (C:\laragon\www\intersport\vendor\alnv\catalog-manager\library\alnv\Widgets\CatalogTaxonomyWizard.php:103)
  at CatalogManager\CatalogTaxonomyWizard->generate()
     (C:\laragon\www\intersport\vendor\contao\core-bundle\src\Resources\contao\library\Contao\Widget.php:660)
  at Contao\Widget->generateWithError(true)
     (C:\laragon\www\intersport\vendor\contao\core-bundle\src\Resources\contao\templates\backend\be_widget.html5:3)
  at include('C:\\laragon\\www\\intersport\\vendor\\contao\\core-bundle\\src\\Resources\\contao\\templates\\backend\\be_widget.html5')
     (C:\laragon\www\intersport\vendor\contao\core-bundle\src\Resources\contao\library\Contao\TemplateInheritance.php:108)
  at Contao\Widget->inherit()
     (C:\laragon\www\intersport\vendor\contao\core-bundle\src\Resources\contao\library\Contao\Widget.php:607)
  at Contao\Widget->parse()
     (C:\laragon\www\intersport\vendor\contao\core-bundle\src\Resources\contao\classes\DataContainer.php:795)
  at Contao\DataContainer->row('{field_type_legend},type,name,title;{general_legend},label,description,defaultValue,submitOnChange,multiple,includeBlankOption,blankOptionLabel,mandatory,tabindex,cssID;{option_legend},optionsType,[optionsType],dbTable,dbColumn,dbTaxonomy,dbOrderBy,dbIgnoreEmptyValues,[EOF];{date_legend:hide},dbParseDate;{dependency_legend:hide},dependOnField,requiredOptions;{template_legend:hide},template;{invisible_legend:hide},invisible;')
     (C:\laragon\www\intersport\vendor\contao\core-bundle\src\Resources\contao\drivers\DC_Table.php:1972)
  at Contao\DC_Table->edit()
     (C:\laragon\www\intersport\vendor\contao\core-bundle\src\Resources\contao\classes\Backend.php:667)
  at Contao\Backend->getBackendModule('filterform', null)
     (C:\laragon\www\intersport\vendor\contao\core-bundle\src\Resources\contao\controllers\BackendMain.php:168)
  at Contao\BackendMain->run()
     (C:\laragon\www\intersport\vendor\contao\core-bundle\src\Controller\BackendController.php:49)
  at Contao\CoreBundle\Controller\BackendController->mainAction()
     (C:\laragon\www\intersport\vendor\symfony\http-kernel\HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (C:\laragon\www\intersport\vendor\symfony\http-kernel\HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (C:\laragon\www\intersport\vendor\symfony\http-kernel\Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (C:\laragon\www\intersport\public\index.php:44)  

ohne eine .env Datei erhalte ich die Warnung nicht

Mit .env Datei erhalte ich im Contao Manager bei 'Datenbank-Migrationen': Datenbank-Problem gefunden.
Installtool öffnen also auch wenn ich den Debug-Mode im Contao Manager aktiviere und möchte das Installtool starten, erhalte ich diese Warnung:

ErrorException:
Warning: Undefined array key "deleteConfirm"

  at C:\laragon\www\intersport\var\cache\dev\contao\dca\tl_catalog.php:4
  at include('C:\\laragon\\www\\intersport\\var\\cache\\dev\\contao\\dca\\tl_catalog.php')
     (C:\laragon\www\intersport\vendor\contao\core-bundle\src\Resources\contao\library\Contao\DcaLoader.php:105)
  at Contao\DcaLoader->loadDcaFiles(false)
     (C:\laragon\www\intersport\vendor\contao\core-bundle\src\Resources\contao\library\Contao\DcaLoader.php:75)
  at Contao\DcaLoader->load()
     (C:\laragon\www\intersport\vendor\contao\core-bundle\src\Resources\contao\library\Contao\Controller.php:1443)
  at Contao\Controller::loadDataContainer('tl_catalog')
     (C:\laragon\www\intersport\vendor\contao\core-bundle\src\Migration\Version413\RelLightboxMigration.php:104)
  at Contao\CoreBundle\Migration\Version413\RelLightboxMigration->getTargets()
     (C:\laragon\www\intersport\vendor\contao\core-bundle\src\Migration\Version413\RelLightboxMigration.php:43)
  at Contao\CoreBundle\Migration\Version413\RelLightboxMigration->shouldRun()
     (C:\laragon\www\intersport\vendor\contao\core-bundle\src\Migration\MigrationCollection.php:47)
  at Contao\CoreBundle\Migration\MigrationCollection->getPending()
     (C:\laragon\www\intersport\vendor\contao\core-bundle\src\Migration\MigrationCollection.php:68)
  at Contao\CoreBundle\Migration\MigrationCollection->run()
     (C:\laragon\www\intersport\vendor\contao\installation-bundle\src\InstallTool.php:427)
  at Contao\InstallationBundle\InstallTool->runMigrations()
     (C:\laragon\www\intersport\vendor\contao\installation-bundle\src\Controller\InstallationController.php:361)
  at Contao\InstallationBundle\Controller\InstallationController->runDatabaseUpdates()
     (C:\laragon\www\intersport\vendor\contao\installation-bundle\src\Controller\InstallationController.php:96)
  at Contao\InstallationBundle\Controller\InstallationController->installAction()
     (C:\laragon\www\intersport\vendor\symfony\http-kernel\HttpKernel.php:163)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (C:\laragon\www\intersport\vendor\symfony\http-kernel\HttpKernel.php:75)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (C:\laragon\www\intersport\vendor\symfony\http-kernel\Kernel.php:202)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (C:\laragon\www\intersport\public\index.php:44)

Der Fehler/die Warnung tritt wohl nur im Debug- bzw. DEV-Mode auf.

Possibly related: #363 (comment)