Warning: mysqli::__construct(): (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/fion/public_html/sys_core/db.php on line 38
Fatal error: Uncaught Error: mysqli object is already closed in /home/fion/public_html/sys_core/db.php:39
Stack trace:
#0 /home/fion/public_html/sys_core/db.php(39): mysqli->query()
#1 /home/fion/public_html/sys_app/items.php(29): db->__construct()
#2 /home/fion/public_html/index.php(185): include_once('/home/fion/publ...')
#3 {main}
thrown in /home/fion/public_html/sys_core/db.php on line 39