Error message "SyntaxError: Unexpected end of JSON input error" when labelling an article


When I add a label to an article I receive a SyntaxError: Unexpected end of JSON input error message.

How to reproduce the problem

  • I added my first label in the settings.
  • I added the label to an article
  • I receive the error popup "SyntaxError: Unexpected end of JSON input error
  • the label is applied to the article and clicking on the it shows all the other articles tagged in the same way
  • if I click on the tag under the “Labels” tree it doesn’t show any article
    image

More information

  • Tiny Tiny RSS version (including git commit id):
    v19.8

  • Platform (i.e. Linux distro, Docker, PHP, PostgreSQL, etc) versions:
    Linux 4.19.150-76.ELK.el7.x86_64 #1 SMP Wed Oct 7 01:33:43 CDT 2020 x86_64
    |PostgreSQL(libpq) Version|9.2.24|
    |PostgreSQL(libpq)|PostgreSQL 9.2.24 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-39), 64-bit|
    PHP Version 7.4.30

Screenshot: Imgur: The magic of the Internet

SyntaxError: Unexpected end of JSON input
at JSON.parse ()
at httpxs://domain/js/Article.js?1565816900:247:27
at onComplete (httpxs://domain/js/common.js?1565816900:26:32)
at klass.respondToReadyState (httpxs://domain/lib/prototype.js?1565816900:1827:62)
at klass.onStateChange (httpxs://domain/lib/prototype.js?1565816900:1756:12)

are you using stock docker setup? if not, try to replicate this on official demo.