Hello @hube2 thanks for your response but that is very weird because in all other form in the same website I don’t get that issue.
Hello @hube2 any suggestions? Please
So for example in other form where i created this kind of relationship there is no such error and the admin triggered the script
POST http://myproject.test/wp-admin/admin-ajax.php
And the XHR return a nice JSON file with all data from the same relationship
What do you think can be the issue?
So @hube2 after some debugging into browser console i discover that there is some error into the console for that particular VOD CPT. And i have to confirm that in the same website these error do not appear into any other CPT, only this one (so i don’t think it is an error of library)
Uncaught TypeError: acf.get(...) is null
initialize http://myproject.test/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf-input.min.js?ver=6.0.5:1
e http://myproject.test/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js?ver=6.0.5:1
Model http://myproject.test/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js?ver=6.0.5:1
n http://myproject.test/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js?ver=6.0.5:1
n http://myproject.test/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js?ver=6.0.5:1
n http://myproject.test/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js?ver=6.0.5:1
newField http://myproject.test/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf-input.min.js?ver=6.0.5:1
getField http://myproject.test/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf-input.min.js?ver=6.0.5:1
getFields http://myproject.test/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf-input.min.js?ver=6.0.5:1
jQuery 2
each
each
getFields http://myproject.test/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf-input.min.js?ver=6.0.5:1
1580 http://myproject.test/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf-input.min.js?ver=6.0.5:1
o http://myproject.test/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js?ver=6.0.5:1
doAction http://myproject.test/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js?ver=6.0.5:1
doAction http://myproject.test/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js?ver=6.0.5:1
7806 http://myproject.test/wp-content/plugins/advanced-custom-fields-pro/assets/build/js/acf.min.js?ver=6.0.5:1
jQuery 13
e
t
setTimeout handler*Deferred/then/l/<
c
fireWith
fire
c
fireWith
ready
$
EventListener.handleEvent*
<anonymous>
<anonymous>
acf-input.min.js:1:51804
Hello,
As you see in the third picture, now i have 10 post that should be load. The query is very simple, i just load those post based on a post type. How can i debug if the query fail?
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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.