Passing NULL to trim function is deprecated - Drupal\taxonomy\TermForm::buildEntity

Created on 6 February 2023, almost 2 years ago
Updated 13 September 2024, 3 months ago

Problem/Motivation

When creating a term, I'm having issues because the trim function is receiving a NULL value at core/modules/taxonomy/src/TermForm.php.

Steps to reproduce

- Go to create a term page
- Save
- The warning is thrown

Proposed resolution

When NULL, pass an empty string.

πŸ› Bug report
Status

Closed: duplicate

Version

11.0 πŸ”₯

Component
TaxonomyΒ  β†’

Last updated 31 minutes ago

  • Maintained by
  • πŸ‡ΊπŸ‡ΈUnited States @xjm
  • πŸ‡¬πŸ‡§United Kingdom @catch
Created by

πŸ‡ͺπŸ‡¨Ecuador betoaveiga Daule, Guayas

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024