• Resolved Jenish Shrestha

    (@jenish11)


    Notice: Trying to access array offset on value of type bool in … \wp-content\plugins\acf-extended\includes\modules\block-types.php on line 252

    I have a clone field in one of a acf block. Whenever I edit that acf block, this error is thrown in Field Groups metabox.

Viewing 1 replies (of 1 total)
  • Plugin Author Konrad Chmielewski

    (@hwk-fr)

    Hello,

    Thanks for the feedback!

    Your clone field probably try to clone a non-existent field, and the Block Type UI throw that notice. I will fix the issue in the next patch.

    In the meantime, you can apply the patch by yourself following this instruction:

    In the file /acf-extended/includes/modules/block-types.php, add the following code between line:251 and line:252:

    if(!$field){
        continue;
    }
    

    Final code:

    $field = acf_get_field($field_key);
    if(!$field){
        continue;
    }
    $type = acf_get_field_type($field['type']);
    

    Have a nice day!

    Regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Error in backend’ is closed to new replies.