I upgraded to 18.0 and got this error, then I upgraded to 18.1 and still got this error.
I erase the website, built a new database, and I still get this error.
When I try to upload a file to file gallery
File upload failed: SyntaxError: Unexpected token < in JSON at position 0
|No attachments for this item|