Fatal error: Uncaught TypeError: mysqli_query(): Argument #1 ($mysql) must be of type mysqli, null given in /home/c/cq13259/chpic.su/public_html/functions.php:806
Stack trace:
#0 /home/c/cq13259/chpic.su/public_html/functions.php(806): mysqli_query(NULL, 'INSERT INTO `st...')
#1 /home/c/cq13259/chpic.su/public_html/tpl/search.php(53): db_search2(Array, 0, 20, true)
#2 /home/c/cq13259/chpic.su/public_html/index.php(101): require_once('/home/c/cq13259...')
#3 {main}
thrown in /home/c/cq13259/chpic.su/public_html/functions.php on line 806