When trying to import a generated json file, I get “No data” error from EE. I put some early exits in the code to try to narrow down the problem, and I get this php warning:
A PHP Error was encountered
Message: Invalid argument supplied for foreach()
Line Number: 879
That one error I could fix by changing from foreach ($data->$type as $package) to foreach ($data[$type] as $package), but then I just get other similar errors. I tried a regex replace on all things $xxx->$yyy areas to $xxx[$yyy], but that didn’t work either.
Also my versions:
field editor: 1.0.3