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.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.