Bug - Exception: Serialization of 'Closure' is not allowed in serialize()

Created on 19 October 2020, about 4 years ago
Updated 28 November 2023, 12 months ago

Problem/Motivation

Patch provided in module has bugs which is taken from here https://www.drupal.org/project/drupal/issues/2685749 📌 Add a 'machine_name' widget for string field types with a UniqueField constraint Needs work .

Error logged:
Exception: Serialization of 'Closure' is not allowed in serialize() (line 14 of /var/www/dep/docroot/core/lib/Drupal/Component/Serialization/PhpSerialize.php).

Proposed resolution

Port 1.x version of module to Drupal 9 until a proper fix/patch is included to Drupal core.

🐛 Bug report
Status

Closed: cannot reproduce

Component

Code

Created by

🇮🇳India gaurav_manerkar Vasco Da Gama, Goa

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