After upgrading my site from Craft 4 (4.10.5) to Craft 5 (5.2.6), existing calendar events seem to be broken. On the Calendar plugin's Events tab, the events listed are shown as "Event #" instead of their title (e.g. "Event 1"), and when I click into an event in that view, Craft crashes and the following error is shown in the browser:
Solspace\Calendar\Controllers\EventsController::renderEditForm(): Argument #2 ($title) must be of type string, null given, called in /var/www/html/vendor/solspace/craft-calendar/packages/plugin/src/Controllers/EventsController.php on line 180
The upgrade from Craft 4-5 itself doesn't run into any issues, and the calendar configuration stays the same (including event fields). Attempting to retrieve the events via graphql results in the following output:
After Craft 4-5 upgrade, event titles are visible in the "Events" tab of the admin panel, an edit form is shown when an event is clicked, and event data (for all existing fields) is still available.
Craft & Plugin Info (please complete the following information):
Describe the bug or issue you're experiencing
After upgrading my site from Craft 4 (4.10.5) to Craft 5 (5.2.6), existing calendar events seem to be broken. On the Calendar plugin's Events tab, the events listed are shown as "Event #" instead of their title (e.g. "Event 1"), and when I click into an event in that view, Craft crashes and the following error is shown in the browser:
Solspace\Calendar\Controllers\EventsController::renderEditForm(): Argument #2 ($title) must be of type string, null given, called in /var/www/html/vendor/solspace/craft-calendar/packages/plugin/src/Controllers/EventsController.php on line 180
The upgrade from Craft 4-5 itself doesn't run into any issues, and the calendar configuration stays the same (including event fields). Attempting to retrieve the events via graphql results in the following output:
Steps to reproduce
Expected behavior
After Craft 4-5 upgrade, event titles are visible in the "Events" tab of the admin panel, an edit form is shown when an event is clicked, and event data (for all existing fields) is still available.
Craft & Plugin Info (please complete the following information):