Needs review
Project:
Custom Body Class
Version:
2.0.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 May 2025 at 15:30 UTC
Updated:
19 Jun 2025 at 10:36 UTC
Jump to comment: Most recent
Deprecated function: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in custom_body_class_node_special_character_form_validate() (line 121 of modules/contrib/custom_body_class/custom_body_class.module).

After saving the node with the class in the custom body class field.
| Comment | File | Size | Author |
|---|---|---|---|
| Screenshot from 2025-05-28 20-56-17.png | 30.17 KB | jatingupta40 |
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
jatingupta40 commentedComment #4
jatingupta40 commentedComment #5
thomas kaisuka commentedThanks for the fix