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

Created on 13 December 2024, 4 months ago

Problem/Motivation

When the Language core module is enabled and I go to /admin/config/regional/content-language and save the form I get the error:

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

Steps to reproduce

  1. Enable the core Language module.
  2. Enable the Scheduler module.
  3. Go to /admin/config/regional/content-language
  4. Save the form.
  5. The error should show multiple times.

Proposed resolution

Add a check to the if statement on line 732 to make sure the $options['translatable'] key is set and TRUE.

Remaining tasks

  1. Confirm error.
  2. Agree on solution.
  3. Create merge request.

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

Active

Version

2.1

Component

Code

Created by

🇺🇸United States pcate

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