Support

Account

Home Forums Bug Reports Update 5.7.11 Crashes Site Reply To: Update 5.7.11 Crashes Site

  • Fix for error: “PHP Fatal error: Uncaught Error: Call to undefined function register_field_group()”

    Please edit the ACF PRO plugin file “includes/local-fields.php” and add the following function on line 184 after acf_add_local_field_group().

    
    /**
     * register_field_group
     *
     * See acf_add_local_field_group().
     *
     * @date	22/1/19
     * @since	5.7.10
     *
     * @param	array $field_group The field group array.
     * @return	void
     */
    function register_field_group( $field_group ) {
    	acf_add_local_field_group( $field_group );
    }
    

    Reason for error: The register_field_group() function was accidentally removed. Adding it back will solve the issue.