Advanced Custom Fields
[resolved] PHP Notice: Undefined variable: format (2 posts)

  1. iohannis
    Posted 3 years ago #

    On the WP site I am developing, there are a number of ACF fields the user can optionally fill out. However, when a field is left empty, with DEBUG on, this PHP notice is displayed:

    NOTICE: wp-content/plugins/advanced-custom-fields/core/fields/text.php:148 - Undefined variable: format

    as well as:

    NOTICE: wp-content/plugins/advanced-custom-fields/core/fields/text.php:152 - Undefined variable: format

    Not a huge deal, but it would be a lot cleaner without these notices.


  2. elliotcondon
    Plugin Author

    Posted 3 years ago #

    Hi @iohannis

    Thanks for the bug report.
    This has been fixed in

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Advanced Custom Fields
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic