Notice: Undefined offset: 0 in /home/visitkyotango/lib/lodging/ 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/ Stack trace: #0 /home/visitkyotango/lib/planmaker/ PDO->query('SELECT bPlanExc...') #1 /home/visitkyotango/lib/planmaker/ Common_PMApi_EN->get_TodayState(4, '242', '1', '1', '2020/11/01') #2 /home/visitkyotango/lib/lodging/ 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/ on line 436