Warning: mysqli_query() expects parameter 1 to be mysqli, string given in /home/titan/public_html/lib/db/dbinit.php on line 111

Fatal error: Uncaught Error: Call to undefined function mysql_error() in /home/titan/public_html/lib/db/dbinit.php:179 Stack trace: #0 /home/titan/public_html/lib/class/shop.php(247): db_error() #1 /home/titan/public_html/lib/class/shop.php(129): shop_config->load(true) #2 /home/titan/public_html/index.php(52): shop_config->shop_config() #3 {main} thrown in /home/titan/public_html/lib/db/dbinit.php on line 179