The following warning is displayed with PHP 5.4:
Strict warning: Declaration of calendar_plugin_style_ical::init() should be compatible with views_plugin_style::init(&$view, &$display, $options = NULL) in views/includes/handlers.inc).

CommentFileSizeAuthor
#1 calendar-n2458331-1.patch665 bytesDamienMcKenna
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna’s picture

Status: Active » Needs review
FileSize
665 bytes

This updates the arguments of the init() method.

DamienMcKenna’s picture

Michelle’s picture

Status: Needs review » Reviewed & tested by the community

Tested and this fixes the error.

Note to anyone else who doesn't read the error message carefully: The error only shows up if you have the Calendar iCal submodule enabled.

izmeez’s picture

+1 RTBC

apaderno’s picture

Status: Reviewed & tested by the community » Closed (outdated)

I am closing this issue, since it's for a Drupal version no longer supported.

izmeez’s picture

Title: Strict warning in calendar_plugin_style_ical::init() » [calendar] Strict warning in calendar_plugin_style_ical::init()
Project: Calendar » Drupal 6 Long Term Support
Version: 6.x-2.x-dev »
Status: Closed (outdated) » Reviewed & tested by the community
Issue tags: +PHP 7.4

The patch in comment #1 still applies, works and is needed.