Closed CodaKris closed 1 week ago
Sorry for the trouble @CodaKris.
I can duplicate this as well. It's on our list to resolve shortly. 🙂
I just wanted to add some additional information because I’m now experiencing this problem as well. For me, the problem didn’t appear to surface until upgrading to Craft 5 (Same version of Calendar running under Craft 4 seemed to be ok). The line of twig code that produces the error is:
{% for event in month.events %}
Other aspects of the plugin work fine (after running the fix-titles script mentioned in a closed GitHub issue)
Sorry for the delay @TUSAB-web... can you try Calendar 5.0.7 now? 🙂
Describe the bug or issue you're experiencing Because the AbstractDuration class no longer has an event property, none of the groupBy methods work. Instead of seeing events, a runtime error like
Neither the property "events" nor one of the methods "events()", "getevents()"/"isevents()"/"hasevents()" or "__call()" exist and have public access in class "Solspace\Calendar\Library\Duration\DayDuration".
is thrownSteps to reproduce
Expected behavior see events Craft & Plugin Info (please complete the following information):
Additional context