• Resolved TheBusinessCat

    (@thebusinesscat)


    Hi there,

    I am building a custom module for the Divi theme, and I need it to get custom fields I have created.

    The module is working fine and gets the custom fields I need, however, I am getting a few warnings on the front end and the visual builder. Please see this image.

    Here are lines 361 to 374 of the acf-field-functions.php file:

    // Check local fields first.
    	if ( acf_have_local_fields( $parent['key'] ) ) {
    		$raw_fields = acf_get_local_fields( $parent['key'] );
    		foreach ( $raw_fields as $raw_field ) {
    			$fields[] = acf_get_field( $raw_field['key'] );
    		}
    
    		// Then check database.
    	} else {
    		$raw_fields = acf_get_raw_fields( $parent['ID'] );
    		foreach ( $raw_fields as $raw_field ) {
    			$fields[] = acf_get_field( $raw_field['ID'] );
    		}
    	}

    Is there a way to remove the warnings?

    Thank you.

Viewing 1 replies (of 1 total)
  • Plugin Support ACF Support

    (@acfsupport)

    Hi there!

    ACF Support Team here. This forum is generally used by ACF users to help each other out.

    However, we would love to continue investigating and troubleshooting this issue, please can you create a ticket using our ?support form and we can look into it further.

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