Known Issues

Overview

Welcome to the known issues guide for the Advanced Custom Fields plugin. This guide contains information and solutions for common problems found in each release. If you are experiencing an issue with the ACF plugin, please continue reading and contact our support team with any questions.

General Issues

Error connecting to update server (cURL error 51: SSL *.sgvps.net)

This issue can occur when activating or updating the ACF PRO plugin. The following message will appear in an error notice at the top of the admin page:

Error. Could not connect to update server (cURL error 51: SSL: certificate subject name ‘*.sgvps.net’ does not match target host name ‘connect.advancedcustomfields.com’).

This problem is caused by a mixture of our ACF web host’s server setup (siteground) and your server’s SNI/TLS settings. The issue can be solved either of the following:

1. Web host: If possible, ask your web host to update the cURL version to one which supports SNI.
2. WP: Use the https_ssl_verify filter to avoid the SSL detection (code snippet below)

functions.php

add_filter( 'https_ssl_verify', '__return_false' );

ACF 5.6.0

Custom Fields metabox disappeared

This is expected behavior added in v5.5.13 and enabled by default in 5.6.0. ACF now removes the default WP custom fields metabox in an attempt to speed up the load times of the post edit page. This feature can be disabled with the following code.

functions.php

add_filter('acf/settings/remove_wp_meta_box', '__return_false');

Post and Page location rules appearing everywhere

A bug in the location rule logic is causing both the Post and Page rules to incorrectly match when using the != operator.

Status: Solved. Please re-download the ACF PRO plugin files.

User Role location rule not working

A bug in this location rule is preventing the ‘all’ value from working as expected. Please note that ‘user_role = all’ can be achieved with the User Form location rule. Try changing the rule to ‘user_form = all’.

Status: Solved. Please re-download the ACF PRO plugin files.

Double fields

Recent changes to the core acf_field class have caused a conflict with some 3rd party field types (such as the image crop and component field types)  that extend core ACF fields (such as the image and repeater field types) causing the core fields to render twice. Its most likely that the 3rd party plugin has released an update to solve this issue, but if not, please add an empty initialize() to the 3rd party field class. More info can be found on this github issue.

function initialize() {
		
		/* do nothing */
			
	}

Issues modifying $_POST data and the acf/save_post action

Recent changes to the ‘acf/save_post’ action are preventing any modifications to the $_POST['acf'] data (during the ‘acf/save_post’ action) to be ignored. Also, any custom code triggering the ‘acf/save_post’ action will fail silently unless an array of values is defined as a second parameter.

Status: Solved. Please re-download the ACF PRO plugin files.

Basic uploaded not saving correctly in acf_form()

This problem is caused by the above Issues modifying $_POST data and the acf/save_post action issue and is preventing the basic uploader from saving the uploaded attachment ID.

Status: Solved. Please re-download the ACF PRO plugin files.

Multiple values (select, checkbox, etc) not saving to Menus or Menu Items

This problem is being caused by some WP core code modifying the $_POST data during the menu save action. The intention of this WP code is to prevent PHP max_input_vars limitations – which is great – but is preventing multiple ‘array type’ values form being saved.

We have opened a ticket with WP and found a neat fix for ACF PRO!

Status: Solved. Please re-download the ACF PRO plugin files.

WPML loading incorrect Options Page language

This problem is being caused by a minor change to the options page logic and will affect those who register options pages directly in the functions.php file root (not within the ‘acf/init’ action).

Status: Solved. Please re-download the ACF PRO plugin files.