Notice occurs when leaving french menu title empty

Created on 22 August 2024, 3 months ago

Problem/Motivation

Deprecated function: substr(): Passed null to parameter #1 ($string) of type string is deprecated in entity_translation_unified_form_add_fields() (line 703 of modules/contrib/entity_translation_unified_form/entity_translation_unified_form.module).

Steps to reproduce

click menu link
save without putting a french value
edit again, save again without putting a french value for the menu link title

Proposed resolution

Perhaps offer a visual hint indicating that this field value is empty. (validation)
resolve the notice

Remaining tasks

TBD

User interface changes

visual hint indicating that the menu link label value is empty

API changes

client side form validation helper

Data model changes

N/A

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇨🇦Canada joseph.olstad

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

Comments & Activities

Production build 0.71.5 2024