• Resolved michelehinet

    (@michelehinet)


    Hi.
    Inside
    inc/admin/zurccf7.function.custom.php:zurcf7_ACF_filter_array_function()
    registered field groups are retrieved using a wordpress query instead of ACF api https://www.advancedcustomfields.com/resources/acf_get_field_groups/

    	if ( is_plugin_active( 'advanced-custom-fields/acf.php' ) || is_plugin_active( 'advanced-custom-fields-pro/acf.php' ) ) {

    $args = array(
    'order' => 'DESC',
    'post_type' => 'acf-field-group',
    );
    $temp_array = $resarr = $field_label = array();
    $data = get_posts( $args );

    foreach($data as $post){

    $group_id = $post->ID;

    In case amount of groups i high, native wordpress limit is low and ‘field group for user form’ has an high id it is not given as result by that paginated query

    Can you please fix in next releases?

    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter michelehinet

    (@michelehinet)

    Suggested Fix

    if ( is_plugin_active( 'advanced-custom-fields/acf.php' ) || is_plugin_active( 'advanced-custom-fields-pro/acf.php' ) ) {

    $temp_array = $resarr = $field_label = array();

    $groups = acf_get_field_groups();

    foreach($groups as $group){

    $group_id = $group['ID'];

    zealsupport

    (@zealsupport)

    Hello @michelehinet,

    Thank you for reaching out and reporting this issue. Our team is currently reviewing it and will share an update with you shortly along with the updated plugin version.

    If you have any additional questions, please don’t hesitate to reach out—we’ll be happy to assist.

    Thank you,
    ZealousWeb

    Hello @michelehinet,

    We have updated the plugin code and release new version of the plugin so kindly update your plugin as your convenience.

    If you have any additional questions, please don’t hesitate to reach out—we’ll be happy to assist.

    Thank you,
    ZealousWeb

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Field Groups Enumeration is bugged’ is closed to new replies.