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

  1. Install fullcalendar and date_recur module
  2. Create a date_recur field in any of the entity.
  3. Create a view that uses fullcalendar display format and add the date_recur field created in step 2.
CommentFileSizeAuthor
#4 3215971-4.patch3.27 KBkkmitra
#3 3215971-3.patch2.37 KBash2303
#2 3215971-2.patch1.83 KBbendale
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

bendale created an issue. See original summary.

bendale’s picture

FileSize
1.83 KB
ash2303’s picture

FileSize
2.37 KB

Update patch from #2

kkmitra’s picture

FileSize
3.27 KB

Applied patch #3 and it worked, found one warning when the `Timezone override` was not set in the view field added a patch for that.

kkmitra’s picture

Status: Active » Needs review
ash2303’s picture

I 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.

ash2303’s picture

ash2303’s picture

Priority: Normal » Major