Code:
[2021-08-25 17:38:08] request.CRITICAL: Uncaught PHP Exception Doctrine\DBAL\Exception\DriverException: "An exception occurred while executing 'INSERT INTO tl_calendar_events (`pid`, `tstamp`, `title`, `alias`, `author`, `addTime`, `startTime`, `endTime`, `startDate`, `endDate`, `pageTitle`, `description`, `location`, `address`, `teaser`, `addImage`, `overwriteMeta`, `singleSRC`, `alt`, `imageTitle`, `size`, `imagemargin`, `imageUrl`, `fullsize`, `caption`, `floating`, `recurring`, `repeatEach`, `repeatEnd`, `recurrences`, `addEnclosure`, `enclosure`, `orderEnclosure`, `source`, `jumpTo`, `articleId`, `url`, `target`, `cssClass`, `noComments`, `published`, `start`, `stop`, `unsubscribeLimit`, `enableDeregistration`, `eventBookingNotificationSender`, `eventBookingNotificationCenterIds`, `enableNotificationCenter`, `maxEscortsPerMember`, `maxMembers`, `bookingStartDate`, `bookingEndDate`, `addBookingForm`, `city`, `postal`, `street`, `enableMultiBookingWithSameAddress`, `featured`, `unsubscribeLimitTstamp`, `categories`, `cssStyleSelector`) VALUES ('3', 1629905888, 'BELEGT', '', '1', '', 1631224800, 1631397600, 1631224800, 1631397600, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'above', '', '', '0', '0', '', '', '', 'default', '0', '0', '', '', '', '', 1, '', '', '0', '', '0', '', '', 0, 0, '', '', '', '', '', '', '', '', '', '', '')': SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'bookingStartDate' at row 1" at /contao49/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php line 128 {"exception":"[object] (Doctrine\\DBAL\\Exception\\DriverException(code: 0): An exception occurred while executing 'INSERT INTO tl_calendar_events (`pid`, `tstamp`, `title`, `alias`, `author`, `addTime`, `startTime`, `endTime`, `startDate`, `endDate`, `pageTitle`, `description`, `location`, `address`, `teaser`, `addImage`, `overwriteMeta`, `singleSRC`, `alt`, `imageTitle`, `size`, `imagemargin`, `imageUrl`, `fullsize`, `caption`, `floating`, `recurring`, `repeatEach`, `repeatEnd`, `recurrences`, `addEnclosure`, `enclosure`, `orderEnclosure`, `source`, `jumpTo`, `articleId`, `url`, `target`, `cssClass`, `noComments`, `published`, `start`, `stop`, `unsubscribeLimit`, `enableDeregistration`, `eventBookingNotificationSender`, `eventBookingNotificationCenterIds`, `enableNotificationCenter`, `maxEscortsPerMember`, `maxMembers`, `bookingStartDate`, `bookingEndDate`, `addBookingForm`, `city`, `postal`, `street`, `enableMultiBookingWithSameAddress`, `featured`, `unsubscribeLimitTstamp`, `categories`, `cssStyleSelector`) VALUES ('3', 1629905888, 'BELEGT', '', '1', '', 1631224800, 1631397600, 1631224800, 1631397600, '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', 'above', '', '', '0', '0', '', '', '', 'default', '0', '0', '', '', '', '', 1, '', '', '0', '', '0', '', '', 0, 0, '', '', '', '', '', '', '', '', '', '', '')':\n\nSQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'bookingStartDate' at row 1 at /contao49/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/AbstractMySQLDriver.php:128, Doctrine\\DBAL\\Driver\\PDO\\Exception(code: HY000): SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'bookingStartDate' at row 1 at /homepages/0/d180520326/htdocs/contao49/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18, PDOException(code: HY000): SQLSTATE[HY000]: General error: 1366 Incorrect integer value: '' for column 'bookingStartDate' at row 1 at /contao49/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:132)"} []
Lt. der Fehlermeldung versucht Contao ja, einen Eintrag in die tl_calendar_events zu schreiben; wenn ich das aber richtig lese, soll in die 'bookingStartDate' (eine Tabelle, die zu [markocupic/calendar-event-booking-bundle] gehört) laut der Fehlermeldung '' eingetragen werden. Schaue ich in der Datenbank nach, stehen dort aber lauter '0', was aber wohl nicht korrekt ist, weil es entweder NULL sein müsste oder eben ein int(10).
Lesezeichen