Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Error: Call to undefined method Drupal\date_recur\Plugin\Field\FieldType\DateRecurItem::getOccurrenceHandler() in Drupal\fullcalendar\Plugin\views\style\FullCalendar->prepareEvents() (line 452 of /app/modules/contrib/fullcalendar/src/Plugin/views/style/FullCalendar.php)
Steps to reproduce
- Install fullcalendar and date_recur module
- Create a date_recur field in any of the entity.
- Create a view that uses fullcalendar display format and add the date_recur field created in step 2.
Comment | File | Size | Author |
---|---|---|---|
#3 | 3215971-3.patch | 2.37 KB | ash2303 |
#2 | 3215971-2.patch | 1.83 KB | bendale |
Comments
Comment #2
bendale CreditAttribution: bendale commentedComment #3
ash2303 CreditAttribution: ash2303 at Axelerant commentedUpdate patch from #2
Comment #4
kkmitra CreditAttribution: kkmitra as a volunteer and at Innoraft commentedApplied patch #3 and it worked, found one warning when the `Timezone override` was not set in the view field added a patch for that.
Comment #5
kkmitra CreditAttribution: kkmitra as a volunteer and at Innoraft commentedComment #6
ash2303 CreditAttribution: ash2303 at Axelerant commentedI have not seen `Timezone override` warning after running updb & cache clear as mentioned in #4.
There are multiple settings for datetime view field and it is not good to verify all values.
Also, this error in particular belongs to `datetime` field type. So it make sense to fix it there if required.
Comment #7
ash2303 CreditAttribution: ash2303 at Axelerant commentedComment #8
ash2303 CreditAttribution: ash2303 at Axelerant commented