Home › Forums › ACF PRO › Local JSON in plugin not load › Reply To: Local JSON in plugin not load
I discovered the issue…
I didn’t manually create the field group I wanted to load via my plugin. I created it using ACF then exported it. When you export json from the ACF interface it includes a opening bracket at the top and a closing bracket at the bottom. See my exported json code above. These brackets need to be removed if you intend to use the json file for loading. I removed those brackets and it works.
Wow. I suggest that ACF does not include those brackets on export.
I hope others can benefit from my turmoil.
Thanks to @beee and @john-homenuke for your input.
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.