Hey. I just installed a lemmy instance via YunoHost and I can’t upload images. This includes an icon and banner for the instance. I get a SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Hey. I just installed a lemmy instance via YunoHost and I can’t upload images. This includes an icon and banner for the instance. I get a SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
Sounds like it’s returning an HTML page with an error. Check the logs
Browser console says:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data client.js:2:1452249 handleImageUpload https://fediverse.town/static/js/client.js:2 (Async: promise callback) handleImageUpload https://fediverse.town/static/js/client.js:2 n https://fediverse.town/static/js/client.js:2 DEPRECATION NOTICE: “backgroundColor” is being deprecated. Please use the “style.background” property. client.js:2:544207