# \#undefined-constant

**URL:** https://community.gravityforms.com/tag/undefined-constant/2297.md

[Latest](https://community.gravityforms.com/latest.md) · [Categories](https://community.gravityforms.com/categories.md) · [Tags](https://community.gravityforms.com/tags.md)

---

## [Removed "required field" reference but getting warnings](https://community.gravityforms.com/t/removed-required-field-reference-but-getting-warnings/14558)

<div class="topic-metadata">

**Author:** [@Renee\_Bruneau](https://community.gravityforms.com/u/Renee_Bruneau)\
**Replies:** 5\
**Last updated:** [February 27, 2023, 6:12pm UTC](https://community.gravityforms.com/t/removed-required-field-reference-but-getting-warnings/14558 "2023-02-27T18:12:59Z")

</div>

Hey, updated functions.php to remove the “required field” reference, but when I do I get the following warning above the header of the site. I know I can suppress warnings from displaying on the site by added another cu…
