Warning: mysqli_connect(): (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /var/www/vhosts/tahara.or.jp/httpdocs/html/htdocs/new/framework/general_classes/DB.php on line 35 Warning: mysqli_select_db() expects parameter 1 to be mysqli, boolean given in /var/www/vhosts/tahara.or.jp/httpdocs/html/htdocs/new/framework/general_classes/DB.php on line 36 Warning: mysqli_set_charset() expects parameter 1 to be mysqli, boolean given in /var/www/vhosts/tahara.or.jp/httpdocs/html/htdocs/new/framework/general_classes/DB.php on line 202 Warning: mysqli_query() expects parameter 1 to be mysqli, boolean given in /var/www/vhosts/tahara.or.jp/httpdocs/html/htdocs/new/framework/general_classes/DB.php on line 209 Warning: mysqli_errno() expects parameter 1 to be mysqli, boolean given in /var/www/vhosts/tahara.or.jp/httpdocs/html/htdocs/new/framework/general_classes/DB.php on line 212 Warning: mysqli_error() expects parameter 1 to be mysqli, boolean given in /var/www/vhosts/tahara.or.jp/httpdocs/html/htdocs/new/framework/general_classes/DB.php on line 212 :
Fatal error: Uncaught exception 'Exception' with message 'Query Statement Error : SELECT count(id) as num FROM d_news WHERE status=1 and (public_date<='2021-07-30') and (id=452) ' in /var/www/vhosts/tahara.or.jp/httpdocs/html/htdocs/new/framework/general_classes/DB.php:220 Stack trace: #0 /var/www/vhosts/tahara.or.jp/httpdocs/html/htdocs/new/framework/general_classes/DB.php(118): DB->query('SELECT count(id...') #1 /var/www/vhosts/tahara.or.jp/httpdocs/html/htdocs/new/news-detail.php(67): DB->select('d_news', Array, 0) #2 {main} thrown in /var/www/vhosts/tahara.or.jp/httpdocs/html/htdocs/new/framework/general_classes/DB.php on line 220