Home › Forums › Bug Reports › ACF Front End Form taxonomy field "Loading Failed" in production only › Reply To: ACF Front End Form taxonomy field "Loading Failed" in production only
When using a select field for taxonomy fields it uses Select2. An AJAX request is done to get the terms. If loading fails it means that the AJAX request is returning something other than what is expected. This could be because of an error on the server or it could be caused by some output that should not be happening.
If you add custom JS you can inspect the ajax data before and after the request and this might lead you to what the issue might be https://www.advancedcustomfields.com/resources/javascript-api/#filters-select2_ajax_data
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.