Problem/Motivation

_maxlength_children() throwing fatal error when NULL passed to element_get_visible_children()
ms_elements makes it look like it's field_group that is the culprit, but $elements is NULL

Proposed resolution

Check for array before assuming $elements is an array worth checking.

Remaining tasks

User interface changes

API changes

CommentFileSizeAuthor
#1 maxlength_children_-2477411-1.patch596 bytesjoelpittet
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

joelpittet’s picture

Status: Active » Needs review
FileSize
596 bytes
logaritmisk’s picture

Status: Needs review » Reviewed & tested by the community

Worked for me, so thanks :)

cedewey’s picture

Status: Reviewed & tested by the community » Closed (won't fix)

We are only maintaining the Drupal 7 version of the module for critical security fixes, so I'm marking this Closed (won't fix). Thank you for working on this issue. If you do want to maintain the Drupal 7 version, do reach out. We'd be happy to bring you on board as a maintainer.

I also encourage you, if you haven't already, to upgrade your site to Drupal 8/9. We are actively maintaining that version and you would enjoy all of the other features of the latest version of Drupal.