Exception -> object(PDOException)#6 (8) { ["message":protected]=> string(283) "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 'BETWEEN (DATE_ADD(ARTICLE.`publish_date`, INTERVAL -10 DAY), NOW()) ORDER B' at line 63" ["string":"Exception":private]=> string(0) "" ["code":protected]=> string(5) "42000" ["file":protected]=> string(37) "/var/www/html/v1.0/include/db.inc.php" ["line":protected]=> int(72) ["trace":"Exception":private]=> array(5) { [0]=> array(5) { ["file"]=> string(37) "/var/www/html/v1.0/include/db.inc.php" ["line"]=> int(72) ["function"]=> string(7) "execute" ["class"]=> string(12) "PDOStatement" ["type"]=> string(2) "->" } [1]=> array(3) { ["file"]=> string(45) "/var/www/html/v1.0/include/class_magazine.php" ["line"]=> int(537) ["function"]=> string(7) "prepare" } [2]=> array(5) { ["file"]=> string(45) "/var/www/html/v1.0/include/class_magazine.php" ["line"]=> int(411) ["function"]=> string(14) "getArticleList" ["class"]=> string(11) "C__magazine" ["type"]=> string(2) "->" } [3]=> array(5) { ["file"]=> string(46) "/var/www/html/v1.0/magazine-gated.adetails.php" ["line"]=> int(56) ["function"]=> string(17) "getArticleDetails" ["class"]=> string(11) "C__magazine" ["type"]=> string(2) "->" } [4]=> array(4) { ["file"]=> string(28) "/var/www/html/v1.0/index.php" ["line"]=> int(212) ["args"]=> array(1) { [0]=> string(46) "/var/www/html/v1.0/magazine-gated.adetails.php" } ["function"]=> string(12) "require_once" } } ["previous":"Exception":private]=> NULL ["errorInfo"]=> array(3) { [0]=> string(5) "42000" [1]=> int(1064) [2]=> string(227) "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 'BETWEEN (DATE_ADD(ARTICLE.`publish_date`, INTERVAL -10 DAY), NOW()) ORDER B' at line 63" } }