Closed ryanmitchell closed 1 year ago
It seems like maybe the pastebin was also incomplete. Can you double check that's the entire thing?
Even pastebin thinks it's too much data. Let's try this - attached.
I don't have a fix but in #8356 you'll at least be able to disable it.
That’s cool. My guess is our templates are too much for it to handle. Turning it off is good enough for us.
@ryanmitchell
Would you be able to test with the changes in PR #8358? This PR makes a dramatic reduction in the amount of data sent to the client, as well as changes what content is sent to help prevent JSON encoding errors.
Thanks!
Yeah that it working again now, thanks @JohnathonKoster!
Bug description
The debugbar on our staging site no longer loads since v4.8.0 (at a guess with the inclusion of the antlers performance profiler).
We are getting a JS error in the console
Invalid or unexpected token
, relating to this line in the logs: https://pastebin.com/PXchbt1GI can provide access to the site if this is required.
How to reproduce
See above.
Logs
Environment
Installation
Fresh statamic/statamic site via CLI
Antlers Parser
None
Additional details
No response