Unhandled Warning: Undefined array key "translatable"

Created on 13 May 2024, 8 months ago

Problem/Motivation

When enabling translation with Scheduler enabled, the site may throw an error:

Warning: Undefined array key "translatable" in _scheduler_translation_validate() (line 732 of .../docroot/modules/contrib/scheduler/scheduler.module)

This seems to be due to an assumption that the translatable option will exist when it may not. This seems identical to the issue in πŸ› Unhandled Warning: Undefined array key "translatable" Fixed .

Steps to reproduce

Enable translation on a site with Scheduler already installed.

Proposed resolution

Check if $options['translatable'] exists before using it.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States froboy Chicago, IL

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024