Click on 'Update cgoit/calendar-extendedbundle 2.4.2'
Do something 'Request website URI'
See error
Expected behavior
With the new update to 2.4.2 the website crashes. Rolling back to 2.4.1 makes the webpage come back online.
Logs[2024-07-15T10:07:34.968852+02:00] request.CRITICAL: Uncaught PHP Exception TypeError: "date(): Argument #2 ($timestamp) must be of type ?int, string given" at GetAllEventsHook.php line 193 {"exception":"[object] (TypeError(code: 0): date(): Argument #2 ($timestamp) must be of type ?int, string given at /var/www/vhosts/domain.de/httpdocs/contao/vendor/cgoit/calendar-extended-bundle/src/Hook/GetAllEventsHook.php:193)"} {"request_uri":"https://www.domain.de/veranstaltungen/eventdetails","request_method":"GET"} [2024-07-15T10:07:35.025908+02:00] messenger.INFO: Stopping worker. {"transport_names":["contao_prio_high"]} {"request_uri":"https://www.domain.de/veranstaltungen/eventdetails","request_method":"GET"} [2024-07-15T10:07:35.135016+02:00] request.INFO: Matched route "tl_page.2966.error_404". {"route":"tl_page.2966.error_404","route_parameters":{"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","_format":"html","_canonical_route":"tl_page.2966","pageModel":{"Contao\\PageModel":[]},"_url_fragment":"system/themes/flexible/fonts.min.css","_route":"tl_page.2966.error_404","_route_object":{"Symfony\\Component\\Routing\\Route":[]}},"request_uri":"https://www.domain.de/system/themes/flexible/fonts.min.css","method":"GET"} {"request_uri":"https://www.domain.de/system/themes/flexible/fonts.min.css","request_method":"GET"}
Configuration (please complete the following information):
OS: Windows 11, iOS 16
Browser: Firefox, Edge, Chrome ...
Bundle Version [e.g. 1.0.0]
PHP Version: 8.3
Contao Version: 5.3.11
Additional context
Probably related to the fact, that all events need to be stored again. That is very difficult in an installation with hundreds of events. There should be an easier way to accomplish this.
To Reproduce Steps to reproduce the behavior:
Expected behavior With the new update to 2.4.2 the website crashes. Rolling back to 2.4.1 makes the webpage come back online.
Logs
[2024-07-15T10:07:34.968852+02:00] request.CRITICAL: Uncaught PHP Exception TypeError: "date(): Argument #2 ($timestamp) must be of type ?int, string given" at GetAllEventsHook.php line 193 {"exception":"[object] (TypeError(code: 0): date(): Argument #2 ($timestamp) must be of type ?int, string given at /var/www/vhosts/domain.de/httpdocs/contao/vendor/cgoit/calendar-extended-bundle/src/Hook/GetAllEventsHook.php:193)"} {"request_uri":"https://www.domain.de/veranstaltungen/eventdetails","request_method":"GET"} [2024-07-15T10:07:35.025908+02:00] messenger.INFO: Stopping worker. {"transport_names":["contao_prio_high"]} {"request_uri":"https://www.domain.de/veranstaltungen/eventdetails","request_method":"GET"} [2024-07-15T10:07:35.135016+02:00] request.INFO: Matched route "tl_page.2966.error_404". {"route":"tl_page.2966.error_404","route_parameters":{"_controller":"Contao\\FrontendIndex::renderPage","_scope":"frontend","_locale":"de","_format":"html","_canonical_route":"tl_page.2966","pageModel":{"Contao\\PageModel":[]},"_url_fragment":"system/themes/flexible/fonts.min.css","_route":"tl_page.2966.error_404","_route_object":{"Symfony\\Component\\Routing\\Route":[]}},"request_uri":"https://www.domain.de/system/themes/flexible/fonts.min.css","method":"GET"} {"request_uri":"https://www.domain.de/system/themes/flexible/fonts.min.css","request_method":"GET"}
Configuration (please complete the following information):
Additional context Probably related to the fact, that all events need to be stored again. That is very difficult in an installation with hundreds of events. There should be an easier way to accomplish this.