Skip to content

PHP Error in /ban-appeals #14

@perdedora

Description

@perdedora

When trying to access ban-appeals with the config:

$config['ban_appeals'] = true;
$config['ban_show_post'] = true;

I get the following error message:

Caught fatal error: Uncaught TypeError: json_decode(): Argument # 1 ($json) must be of type string, array given in /var/www/Tinyboard/inc/display.php:365Stack trace:# 0 /var/www/Tinyboard/inc/display.php(365): json_decode()# 1 /var/www/Tinyboard/inc/mod/pages.php(1020): Thread->__construct()# 2 /var/www/Tinyboard/mod.php(195): mod_ban_appeals()# 3 {main} thrown in /var/www/Tinyboard/inc/display.php on line 365

Edit: this is with php8.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions