Jump to content

Statistics view does not work: Invalid JSON string

Featured Replies

Posted

The error message "Invalid JSON string:" appears everywhere in the AdminCP. I'm using php-fpm 7.4.1, php-json is up to date (CentOS 7, nginx). The error or system logs are empty

Bildschirmfoto 2020-01-17 um 11.39.35.png

 

Edit: BTW, the message boxes are also not working

2130214952_Bildschirmfoto2020-01-17um11_49_43.thumb.png.e0f01f7d8cb2c43cf1ea09936c93d73c.png

Edited by sebastianr

PHP 7.4 is not supported until Invision Community 4.5 is released. Downgrade to PHP 7.3.

  • 3 weeks later...
  • Author

After update still not working. So it has nothing to do with the PHP version

Check your PHP error logs to ensure no errors are being logged there (it is possible something is happening which is printing out an error to the screen, causing the json responses to be invalid). Otherwise, reopen your ticket if you like now that PHP 7.4 support is available.

  • 2 weeks later...
  • Author

PHP error logs are empty, PHP7.2 also not working.

  • Author

Even CSS-Dropdown in admin cp are not working. So we can't edit the api permissions. We are very dissatisfied...

  • Author

Update for the Community: The problems were solved by disabling our web server "security headers". IP.Board uses a Google API to generate the statistics. This is questionable, but it works now.

image.png.df61632fa9b2e85e7eaa6f5b88c3f3c4.png

A patch was submitted to resolve this yesterday I believe.

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.