Hallo Tim
Bei meiner Contao-Installation Eclipse X funktioniert das Verstecken von Inhaltselementen innerhalb eines Artikels nicht mehr. Ich kann das Element zwar offline stellen, wenn ich aber einen Refresh mache ist es wieder online.
Version 4.9.29.
https://otoriwus.myhostpoint.ch/phpinfo.php
Folgender Fehler erhalte ich angezeigt:
[2022-06-05 16:37:01] request.INFO: Matched route "contao_backend". {"route":"contao_backend","route_parameters":{" _ro ute":"contao_backend","_scope":"backend","_token_ c heck":true,"_controller":"Contao\\CoreBundle\\Cont roller\\BackendController::mainAction"},"request_u ri":"https://otoriwus.myhostpoint.ch/contao?cid=124845&do=article&id=14520&ref=vtNmqshM &rt=tI3_T29kr9GWuJ2Pjsc_U7TkVf1g0shRVcuzzv9Fn3c &st ate=0&table=tl_content","method":"GET"} []
[2022-06-05 16:37:01] request.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\SyntaxErrorException: "An exception occurred while executing 'SELECT COUNT(*) as count FROM WHERE pid=NULL AND ptable='tl_article' AND ((type="autogridGridStart" AND autogrid_id != id) OR (type="autogridRowStart" AND autogrid_id != id) OR (type="autogridColStart" AND autogrid_id != id))': SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE pid=NULL AND ptable='tl_article' AND ((type="autogridGridStart" AND aut...' at line 1" at /home/otoriwus/www/otoriwus.myhostpoint.ch/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 98 {"exception":"[object] (Doctrine\\DBAL\\Exception\\SyntaxErrorException(c ode: 0): An exception occurred while executing 'SELECT COUNT(*) as count FROM WHERE pid=NULL AND ptable='tl_article' AND ((type="autogridGridStart" AND autogrid_id != id) OR (type="autogridRowStart" AND autogrid_id != id) OR (type="autogridColStart" AND autogrid_id != id))':\n\nSQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE pid=NULL AND ptable='tl_article' AND ((type="autogridGridStart" AND aut...' at line 1 at /home/otoriwus/www/otoriwus.myhostpoint.ch/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:98, Doctrine\\DBAL\\Driver\\PDO\\Exception(code: 42000): SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE pid=NULL AND ptable='tl_article' AND ((type="autogridGridStart" AND aut...' at line 1 at /home/otoriwus/www/otoriwus.myhostpoint.ch/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18, PDOException(code: 42000): SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE pid=NULL AND ptable='tl_article' AND ((type="autogridGridStart" AND aut...' at line 1 at /home/otoriwus/www/otoriwus.myhostpoint.ch/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:141)"} []
Was kann ich tun?
Lg Janine
Bei meiner Contao-Installation Eclipse X funktioniert das Verstecken von Inhaltselementen innerhalb eines Artikels nicht mehr. Ich kann das Element zwar offline stellen, wenn ich aber einen Refresh mache ist es wieder online.
Version 4.9.29.
https://otoriwus.myhostpoint.ch/phpinfo.php
Folgender Fehler erhalte ich angezeigt:
[2022-06-05 16:37:01] request.INFO: Matched route "contao_backend". {"route":"contao_backend","route_parameters":{" _ro ute":"contao_backend","_scope":"backend","_token_ c heck":true,"_controller":"Contao\\CoreBundle\\Cont roller\\BackendController::mainAction"},"request_u ri":"https://otoriwus.myhostpoint.ch/contao?cid=124845&do=article&id=14520&ref=vtNmqshM &rt=tI3_T29kr9GWuJ2Pjsc_U7TkVf1g0shRVcuzzv9Fn3c &st ate=0&table=tl_content","method":"GET"} []
[2022-06-05 16:37:01] request.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\SyntaxErrorException: "An exception occurred while executing 'SELECT COUNT(*) as count FROM WHERE pid=NULL AND ptable='tl_article' AND ((type="autogridGridStart" AND autogrid_id != id) OR (type="autogridRowStart" AND autogrid_id != id) OR (type="autogridColStart" AND autogrid_id != id))': SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE pid=NULL AND ptable='tl_article' AND ((type="autogridGridStart" AND aut...' at line 1" at /home/otoriwus/www/otoriwus.myhostpoint.ch/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 98 {"exception":"[object] (Doctrine\\DBAL\\Exception\\SyntaxErrorException(c ode: 0): An exception occurred while executing 'SELECT COUNT(*) as count FROM WHERE pid=NULL AND ptable='tl_article' AND ((type="autogridGridStart" AND autogrid_id != id) OR (type="autogridRowStart" AND autogrid_id != id) OR (type="autogridColStart" AND autogrid_id != id))':\n\nSQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE pid=NULL AND ptable='tl_article' AND ((type="autogridGridStart" AND aut...' at line 1 at /home/otoriwus/www/otoriwus.myhostpoint.ch/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:98, Doctrine\\DBAL\\Driver\\PDO\\Exception(code: 42000): SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE pid=NULL AND ptable='tl_article' AND ((type="autogridGridStart" AND aut...' at line 1 at /home/otoriwus/www/otoriwus.myhostpoint.ch/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18, PDOException(code: 42000): SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'WHERE pid=NULL AND ptable='tl_article' AND ((type="autogridGridStart" AND aut...' at line 1 at /home/otoriwus/www/otoriwus.myhostpoint.ch/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:141)"} []
Was kann ich tun?
Lg Janine
Kommentar