Home › Forums › ACF PRO › json import error: "import file empty" › Reply To: json import error: "import file empty"
So here’s some insight into another part of this glitch.
I’m running a staging site that has the normal wordpress debug=true on it for develelopmental purposes.
Right now i have an error showing up in the header of my wp-admin for some other plugin that has update issues.
But when I do an export of fields from the staging site – to transfer them to the live site – it comes up with an ‘Import file empty.” message.
So when i look at the json file, the debug error that i had on my staging site is at the top of the json file, meaning its messing the whole file up and won’t upload.
This is using the latest ACF Pro version, just FYI.
Weird glitch, but hopefully this helps anyone else out.
All i had to do is remove the text lines from the json file – up til the first ‘[‘ bracket, and then it would upload fine.
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.