Skip to content

Update IcalFieldsWizard.php to prevent WSOD

sclsweb requested to merge issue/views_ical-3356148:8.x-1.x into 8.x-1.x

Change to (new class {use SmartDateTrait;} resolves the original "Deprecated function" error. Change to is_object($dateRrule) resolves a new error that appears after the first one is resolved: Error: Call to a member function getAssembledRule() on null in Drupal\views_ical\Plugin\views\row\IcalFieldsWizard->addSmartDateEvent() (line 511 of modules/contrib/views_ical/src/Plugin/views/row/IcalFieldsWizard.php).

Merge request reports