Notice: Undefined offset: 0 in /home/visitkyotango/lib/lodging/cal_EN.inc on line 683

Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND date_format(dPlanDate, '%Y/%m/%d') = '2020/11/01'' at line 1 in /home/visitkyotango/lib/planmaker/Common_api_EN.inc:436 Stack trace: #0 /home/visitkyotango/lib/planmaker/Common_api_EN.inc(436): PDO->query('SELECT bPlanExc...') #1 /home/visitkyotango/lib/planmaker/Common_api_EN.inc(2782): Common_PMApi_EN->get_TodayState(4, '242', '1', '1', '2020/11/01') #2 /home/visitkyotango/lib/lodging/cal_EN.inc(252): Common_PMApi_EN->PM_GetCakender(Array, Array) #3 /home/visitkyotango/public_html/lodging/cal/index.php(40): cal_admin_EN->cal(Array) #4 {main} thrown in /home/visitkyotango/lib/planmaker/Common_api_EN.inc on line 436