MyCalendar

Month, Week, and List calendar for displaying events on your site.

Back to MyCalendar Support

Mathilde Escher Stiftung
Mathilde Escher Stiftung

Hello,

After updating my october to 2.2.15 the backend editor wasn't working anymore. I got following error:

Undefined offset: 1
~\vendor\october\rain\src\Foundation\Maker.php line 97

This issue is because of wrong implementation of public function __construct.

In the file plugins\kurtjensen\mycalendar\components\Events.php the constructor should look like this:

public function __construct($cmsObject = null, $properties = [], $compLink = 'Events') {
        $this->compLink = $compLink;
        parent::__construct();
}

After adding the cmsObject and the properties, the editor worked again.

1-1 of 1