MetaModels / core

MetaModels Core Module
GNU Lesser General Public License v3.0
96 stars 42 forks source link

Bug with DBAL 2.11.0 #1425

Closed zonky2 closed 3 years ago

zonky2 commented 3 years ago

see https://github.com/doctrine/dbal/issues/4282

If we click at attribute icon or rendersetting... we have the follow error

An exception occurred while executing 'SELECT id FROM tl_metamodel_attribute WHERE (pid = ?) AND () ORDER BY sorting ASC' with params ["1"]: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY sorting ASC' at line 1

see https://community.contao.org/de/showthread.php?78918-Nach-MM-Installation-Attibute-nicht-aufrufbar-SQL-Syntax-Error

Workaround: set in your composer.json "doctrine/dbal": "~2.10.4"

discordier commented 3 years ago

Tracked in https://github.com/contao-community-alliance/dc-general/issues/549