Been using this plugin (version 0.10.5) successfully with Kirby 3.5.5 on a single language site.
I’ve upgraded Kirby to version 3.6.1 and the Komments plugin to 1.5.1 and now there is an error every time a comment gets posted. (I changed my site to be multilingual)
XHRPOSThttp://localhost/komments/send
[HTTP/1.1 500 Internal Server Error 224ms]
Uncaught (in promise) SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
The comment does get submitted and I am able to review it in the dashboard.
But previously, when submitting a comment, there was a message confirming the submission of the comment. This does not appear anymore.
I’ve looked in the komments.js and I think the problem’s origin is in line 78 and following. But I don’t know any further.
Thanks for helping!