Posted: July 18, 2019 at 6:54 am
We are using EE4 to take registrations for our event and i’ve downloaded the iOS to see what the experience will be like for staff on the day, checkin people in! Whenever I go to look at the attendees, I get a message to say ‘The data is not in the correct format’. Any helps appreciated!
Firstly, great job testing the app before ‘the event day’ is on.
All too often people don’t actually test the app until right when they need it and as EE is installed on your own site there a lot that can cause problems.
Do you have an Android device to test on just to confirm if it works using the Android app?
The Apps use the sites REST API and I’ve just ran a quick check but didn’t see anything stand out, so it would be good to know if this is specific to the iOS app.
If you don’t have an Android device I can run a quick check if preferred, you’ll need to send login details I can use in the app using this form:
Thanks Tony, I don’t have an Android device handy, so i’ve completed the form for you to check. Thanks for the assistance.
Ok, the reason it’s failing is there are notices being thrown on the request and you server is set to display them. For example:
Is being thrown on some requests and not others, when your server is set to display the errors and the notices are included in the request, it breaks the JSON response expected by the app, meaning it can’t read the data.
I don’t know why your getting notices (it would be good to investigate those further, it could be another plugin or the theme) as I don’t get any on my sites. But if you disable either WP_DEBUG on the site, or set your server to not display_errors by default the app should work.
For troubleshooting error/notices/warnings we recommend using this snippet:
You add that to your
The support post ‘Data not in the correct format when using the Event Espresso app’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.