Get rid of hidden_threshold. Bot needed
Introduced config.inc.php.example
minor fix in sql query