Home › Forums › Backend Issues (wp-admin) › Main wp post type validation error with acf › Reply To: Main wp post type validation error with acf
Do you have any https://www.advancedcustomfields.com/resources/acf-validate_value/ filters on your site. This is where I’d look first for something that could cause this. An example of something that can easily cause this is not not returning $valid from the filter, for example
function my_validation_filter($valid, $value, $field, $input) {
// a statement like this will cause false validation failure
return;
// the above statement must look like this
return $valid;
}
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.