Wir haben einen Filter für die Textsuche über drei Felder.
Zwei Textfelder und eine Textarea.
Wenn wir im Filtermodul den Suchmodus Freitextsuche aktivieren kommt folgende Fehlermeldung:
[2024-03-19T21:41:03.077469+01:00] request.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\DriverException: "An exception occurred while executing a query: SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP INDEX `description`; check that it exists" at /xxx/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php line 117 {"exception":"[object] (Doctrine\\DBAL\\Exception\\DriverException(code: 1091): An exception occurred while executing a query: SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP INDEX `description`; check that it exists at /xxx/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:117)\n[previous exception] [object] (Doctrine\\DBAL\\Driver\\PDO\\Exception(code: 1091): SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP INDEX `description`; check that it exists at /xxx/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28)\n[previous exception] [object] (PDOException(code: 42000): SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP INDEX `description`; check that it exists at /xxx/vendor/doctrine/dbal/src/Driver/PDO/Connection.php:71)"} []
Was kann hier die Ursache sein?
Zwei Textfelder und eine Textarea.
Wenn wir im Filtermodul den Suchmodus Freitextsuche aktivieren kommt folgende Fehlermeldung:
[2024-03-19T21:41:03.077469+01:00] request.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\DriverException: "An exception occurred while executing a query: SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP INDEX `description`; check that it exists" at /xxx/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php line 117 {"exception":"[object] (Doctrine\\DBAL\\Exception\\DriverException(code: 1091): An exception occurred while executing a query: SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP INDEX `description`; check that it exists at /xxx/vendor/doctrine/dbal/src/Driver/API/MySQL/ExceptionConverter.php:117)\n[previous exception] [object] (Doctrine\\DBAL\\Driver\\PDO\\Exception(code: 1091): SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP INDEX `description`; check that it exists at /xxx/vendor/doctrine/dbal/src/Driver/PDO/Exception.php:28)\n[previous exception] [object] (PDOException(code: 42000): SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP INDEX `description`; check that it exists at /xxx/vendor/doctrine/dbal/src/Driver/PDO/Connection.php:71)"} []
Was kann hier die Ursache sein?
Kommentar