contao-bootstrap / grid

Bootstrap 4 Contao Grid Component
https://contao-bootstrap.de/komponenten/grid.html
GNU Lesser General Public License v3.0
4 stars 12 forks source link

Column 'type' in where clause is ambiguous #43

Closed srhinow closed 4 years ago

srhinow commented 4 years ago

Contao: 4.9.3 contao-bootstrap versions : * 2.1.1 MySQL: 8.0

Wenn ich ein Artikel copy&paste einfüge, kommt der Fehler das er wohl das type in der ParentFixContentParentRelationsListener Zeile 195 ( FIND_IN_SET(type, 'bs_gridStart,bs_gridSeparator,bs_gridStop') ) doof findet.

Hier noch eine Zeile aus dem Stacktrace:


Model::findBy(array('tl_content.pid=?', 'FIND_IN_SET(type, \'bs_gridStart,bs_gridSeparator,bs_gridStop\')', '( tl_content.ptable=? OR tl_content.ptable=?)'), array(138, 'tl_article', ''), array('column' => array('tl_content.pid=?', 'FIND_IN_SET(type, \'bs_gridStart,bs_gridSeparator,bs_gridStop\')', '( tl_content.ptable=? OR tl_content.ptable=?)'), 'value' => array(138, 'tl_article', ''), 'return' => 'Collection', 'order' => 'tl_content.sorting'))