Home › Forums › Add-ons › Repeater Field › acf/input/form_data conflicting with DB query › Reply To: acf/input/form_data conflicting with DB query
My suspicion is that there’s a PHP error in the function. For example, you are using $wpdb
but to use this object inside a function you need to declare it global $wpdb;
.
Turn on error reporting, you’ll probably want to do it using a log rather than displaying them, put this in wp-config.php, https://codex.wordpress.org/WP_DEBUG
define('WP_DEBUG', true);
define('WP_DEBUG_DISPLAY', false);
define('WP_DEBUG_LOG', true);
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.