Fehlermeldung bei Neues Element einfügen
Beim Einfügen eines neuen Elements kommt diese seltsame Fehlermeldung, Contao 3.1, vorher keine Probleme, neue Installation von 3.0x und dann update auf 3.1 vor kurzem; erneutes Update hat keine Wirkung
gibt es Abhilfe und Besserung?
-----------------
Fatal error: Uncaught exception Exception with message Query error: Unknown column 'mooType' in 'field list' (INSERT INTO tl_content (type, sortOrder, mooType, perRow, com_order, com_template, pid, sorting, ptable, tstamp) VALUES ('text', 'ascending', 'mooStart', 4, 'ascending', 'com_default', 29, 64, 'tl_article', 0)) thrown in system/modules/core/library/Contao/Database/Statement.php on line 346
#0 system/modules/core/library/Contao/Database/Statement.php(261): Contao\Database\Statement->query()
#1 system/modules/core/drivers/DC_Table.php(640): Contao\Database\Statement->execute()
#2 system/modules/core/classes/Backend.php(424): Contao\DC_Table->create()
#3 contao/main.php(129): Contao\Backend->getBackendModule('article')
#4 contao/main.php(271): Main->run()
#5 {main}
Lösung nach Update auf 3.1 bei "Unknown column 'mooType'"
Ich konnte es nun nachstellen.
Bei manuellem Update und Aufruf von install.php muss man sich gleich im Backend anmelden und als erstes die Systemwartung durchführen und somit den Contao Cache löschen.
Tut man das nicht, kommt es durch alte DCA Einträge im Cache zur Fehlermeldung "Unknown column 'mooType'...." beim Anlegen eines Artikelelementes.
Mal sehen ob ich das Cache löschen in meinem easyupdate3 einbauen kann, bei einer Erweiterungsinstallation wird das ja auch getan.