A SyntaxError with JSON.parse occurs when trying to change my avatar and when trying to upload a image to a new post.
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
A SyntaxError with JSON.parse occurs when trying to change my avatar and when trying to upload a image to a new post.
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Hi, I will test this out and try to get a solution. What image types are you experiencing this on? jpg, png? _All of them?
I’ve tried PNG mainly but it seems to happen with JPGs too, at least when uploading my avatar.
The error when trying to uplaod an avatar now says:
{"data":{"msg":"Provided process path is invalid","files":null},"state":"success"}ETA: The error is still the SyntaxError (
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data) when trying to upload an image to a post.ETA2: Okay the errors seem to differ each time I try uploading. I realized that I could’ve been uploading images wrong and I decided to try using the image button in the body of the post, but sometimes the error won’t show up at all but the image wasn’t added.
Thanks for the added details, it helps. I’m seeing the same differing errors/issues for any image uploads. Even after entirely removing our cache from the path, it’s still failing. Still looking into it and trying to focus on locating where it’s failing.