Warning: mysqli::mysqli() [mysqli.mysqli]: (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /var/www/u0310020/data/www/xn----8sbbjhbb0cffv0o.xn--p1ai/nmcms/classes/db.class.php on line 31

Warning: mysqli::query() [mysqli.query]: Couldn't fetch mysqli in /var/www/u0310020/data/www/xn----8sbbjhbb0cffv0o.xn--p1ai/nmcms/classes/db.class.php on line 45

Warning: DB::execSQL() [db.execsql]: Couldn't fetch mysqli in /var/www/u0310020/data/www/xn----8sbbjhbb0cffv0o.xn--p1ai/nmcms/classes/db.class.php on line 45

Всё сломалось!

Класс: DB

engine::__construct();
engine::initDB();
DB::__construct([object]);
DB::execSQL("SET NAMES utf8");

SET NAMES utf8