Support

Account

Forum Replies Created

  • Sharing my solution just in case it helps someone since it wasn’t related to rogue 3rd party plugins or bad code in the functions.php file.

    In my case the issue was due to me not adding a field label to the flex-content field in order to avoid redundancy in the admin UI and by extension, the field name was mistakingly left blank. Started working after adding a field name (label was still intentionally left blank).

    Super weird that field name isn’t marked as required when creating new fields.

  • Never mind, just solved my own problem

    after troubleshooting a little more I figured out that I was registering the custom post type using a plugin boilerplate that, in order to reduce its footprint in the admin panel, only calls these plugin functions with no AJAX, which is something that the custom fields use when a user chooses the field type and loads the options via ajax.

    Such a pain but I’m glad I solved this.

    I changed:

    if( is_admin() && ( ! defined( 'DOING_AJAX' ) || ! DOING_AJAX )

    to

    if ( is_admin() )

Viewing 2 posts - 1 through 2 (of 2 total)