In one Contao installation (Contao 3.2.21, RCE 1.3.0) I can't use the visibility toggle on Content Elements anymore:
[28-Jul-2015 16:17:19] PHP Fatal error: Uncaught exception 'Exception' with message 'Query error: 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 'WHERE id=NULL' at line 1 (SELECT * FROM WHERE id=NULL)' thrown in …/system/modules/core/library/Contao/Database/Statement.php on line 279
#0 …/system/modules/core/library/Contao/Database/Statement.php(250): Contao\Database\Statement->query()
#1 …/composer/vendor/madeyourday/contao-rocksolid-custom-elements/src/MadeYourDay/Contao/CustomElements.php(916): Contao\Database\Statement->execute(NULL)
#2 …/composer/vendor/madeyourday/contao-rocksolid-custom-elements/src/MadeYourDay/Contao/CustomElements.php(62): MadeYourDay\Contao\CustomElements::getDcaFieldValue(Object(tl_content), 'type')
#3 …/system/cache/dca/tl_content.php(1654): MadeYourDay\Contao\CustomElements->onloadCallback(Object(tl_content))
#4 …/system/cache/dca/tl_content.php(1613): tl_content->toggleVisibility('402', true, NULL)
#5 …/system/modules/ce-access/CeAccess.php(148): tl_content->toggleIcon(Array, NULL, 'Sichtbarkeit ??...', 'Die Sichtbarkei...', 'visible.gif', ' class="toggle"...')
#6 …/system/modules/core/classes/DataContainer.php(597): CeAccess->toggleButton(Array, NULL, 'Sichtbarkeit ??...', 'Die Sichtbarkei...', 'visible.gif', ' class="toggle"...', 'tl_content', NULL, NULL, false, NULL, '777', Object(Contao\DC_Table))
#7 …/system/modules/core/drivers/DC_Table.php(4127): Contao\DataContainer->generateButtons(Array, 'tl_content', NULL, false, NULL, NULL, '777')
#8 …/system/modules/core/drivers/DC_Table.php(360): Contao\DC_Table->parentView()
#9 …/system/modules/core/classes/Backend.php(425): Contao\DC_Table->showAll()
#10 …/contao/main.php(137): Contao\Backend->getBackendModule('article')
#11 …/contao/main.php(288): Main->run()
#12 {main}
Or is this already known and fixed in 1.3.1 or 1.3.2?
In one Contao installation (Contao 3.2.21, RCE 1.3.0) I can't use the visibility toggle on Content Elements anymore:
Or is this already known and fixed in 1.3.1 or 1.3.2?