Ooops... A database error occured.object(PDOException)#8 (8) { ["message":protected]=> string(208) "SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'rows' at line 1" ["string":"Exception":private]=> string(0) "" ["code":protected]=> string(5) "42000" ["file":protected]=> string(41) "/home/coopoly/public_html/includes/db.php" ["line":protected]=> int(173) ["trace":"Exception":private]=> array(4) { [0]=> array(6) { ["file"]=> string(41) "/home/coopoly/public_html/includes/db.php" ["line"]=> int(173) ["function"]=> string(7) "execute" ["class"]=> string(12) "PDOStatement" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [1]=> array(6) { ["file"]=> string(41) "/home/coopoly/public_html/includes/db.php" ["line"]=> int(205) ["function"]=> string(5) "query" ["class"]=> string(7) "crea_db" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> &string(27) "SELECT FOUND_ROWS() as rows" } } [2]=> array(6) { ["file"]=> string(46) "/home/coopoly/public_html/includes/coo_api.php" ["line"]=> int(703) ["function"]=> string(14) "get_found_rows" ["class"]=> string(7) "crea_db" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [3]=> array(6) { ["file"]=> string(43) "/home/coopoly/public_html/view_category.php" ["line"]=> int(248) ["function"]=> string(15) "do_product_list" ["class"]=> string(7) "coo_api" ["type"]=> string(2) "->" ["args"]=> array(5) { [0]=> &string(3) "222" [1]=> &string(0) "" [2]=> &string(0) "" [3]=> &string(14) "Third Editions" [4]=> &string(4) "E101" } } } ["previous":"Exception":private]=> NULL ["errorInfo"]=> array(3) { [0]=> string(5) "42000" [1]=> int(1064) [2]=> string(152) "You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'rows' at line 1" } }