Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter dreadedhamish

    (@dreadedhamish)

    I think I’ve narrowed it down to a new relic script that is in the <head>, and when called with JSON.parse is breaking the syntax.

    Is there a way to exclude a script from the JSON?

    Thread Starter dreadedhamish

    (@dreadedhamish)

    Narrowed it down further – there was a newrelic script that my host (cloudways) injected into the head of every page. Getting them to remove it fixed the issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP 7 error with JSON.parse’ is closed to new replies.