Support

Home Forums Event Espresso Premium When generating report we see an error that Syntax Error on some json token.

When generating report we see an error that Syntax Error on some json token.

Posted: September 3, 2019 at 12:24 pm


cryamerica

September 3, 2019 at 12:24 pm

The file will download automatically when done, and then you will be redirected.
Registrations report started successfully…
SyntaxError: Unexpected token < in JSON at position 1
An error occurred and the job has been stopped.


Josh

  • Support Staff

September 3, 2019 at 12:46 pm

Hi,

What that could be is the response contains a PHP Warning or Notice in the response body when the Content-Type:application/json; charset=UTF-8 header is set.

If you go to your WordPress Dashboard’s Tools > Site Health page, does it show a warning about the site being set to display errors to site visitors? If so, you can click the arrow link next to the warning and it will have more information about how to configure debug mode.

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: publish

Updated by  Josh 2 weeks, 2 days ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!