object(PDOException)#3382 (8) { ["message":protected]=> string(72) "SQLSTATE[HY000]: General error: 1712 Index finder_locations is corrupted" ["string":"Exception":private]=> string(0) "" ["code":protected]=> string(5) "HY000" ["file":protected]=> string(81) "/www/test.theringfinders.com/theringfinders.com/www/includes/classes/db.class.php" ["line":protected]=> int(325) ["trace":"Exception":private]=> array(7) { [0]=> array(6) { ["file"]=> string(81) "/www/test.theringfinders.com/theringfinders.com/www/includes/classes/db.class.php" ["line"]=> int(325) ["function"]=> string(7) "execute" ["class"]=> string(12) "PDOStatement" ["type"]=> string(2) "->" ["args"]=> array(0) { } } [1]=> array(6) { ["file"]=> string(81) "/www/test.theringfinders.com/theringfinders.com/www/includes/classes/db.class.php" ["line"]=> int(643) ["function"]=> string(7) "execute" ["class"]=> string(2) "DB" ["type"]=> string(2) "->" ["args"]=> array(1) { [0]=> object(PDOStatement)#3365 (2) { ["queryString"]=> string(893) "SELECT fv.*, fl.id AS location_id, fl.country, fl.province, fl.city, fl.lat, fl.lng, fl.place_id, UNIX_TIMESTAMP(fl.date) AS location_date, fl.exclusive, i.id AS photo_id, i.post AS photo_post, i.path AS photo_path, i.cropping AS photo_cropping, fn.meta_value AS name_first, IFNULL(ln.meta_value, '') AS name_last FROM finders_view fv LEFT JOIN finder_locations fl ON fl.finder_id = fv.id LEFT JOIN images_view i ON fv.photo = i.id INNER JOIN trfwp_usermeta fn ON fn.meta_key = 'first_name' AND fn.user_id = fv.ID LEFT JOIN trfwp_usermeta ln ON ln.meta_key = 'last_name' AND ln.user_id = fv.ID WHERE (fv.username = ? AND fv.enabled = ? AND fv.dead = ?) ORDER BY fl.country ASC, fl.province ASC, fl.date ASC, fl.city ASC, fl.date, fl.id ASC" ["sql"]=> string(893) "SELECT fv.*, fl.id AS location_id, fl.country, fl.province, fl.city, fl.lat, fl.lng, fl.place_id, UNIX_TIMESTAMP(fl.date) AS location_date, fl.exclusive, i.id AS photo_id, i.post AS photo_post, i.path AS photo_path, i.cropping AS photo_cropping, fn.meta_value AS name_first, IFNULL(ln.meta_value, '') AS name_last FROM finders_view fv LEFT JOIN finder_locations fl ON fl.finder_id = fv.id LEFT JOIN images_view i ON fv.photo = i.id INNER JOIN trfwp_usermeta fn ON fn.meta_key = 'first_name' AND fn.user_id = fv.ID LEFT JOIN trfwp_usermeta ln ON ln.meta_key = 'last_name' AND ln.user_id = fv.ID WHERE (fv.username = ? AND fv.enabled = ? AND fv.dead = ?) ORDER BY fl.country ASC, fl.province ASC, fl.date ASC, fl.city ASC, fl.date, fl.id ASC" } } } [2]=> array(6) { ["file"]=> string(81) "/www/test.theringfinders.com/theringfinders.com/www/includes/classes/db.class.php" ["line"]=> int(891) ["function"]=> string(7) "finders" ["class"]=> string(2) "DB" ["type"]=> string(2) "->" ["args"]=> array(4) { [0]=> array(3) { [0]=> string(9) "locations" [1]=> string(5) "photo" [2]=> string(4) "meta" } [1]=> array(3) { [0]=> string(15) "fv.username = ?" [1]=> string(14) "fv.enabled = ?" [2]=> string(11) "fv.dead = ?" } [2]=> array(4) { [0]=> string(10) "fl.country" [1]=> string(11) "fl.province" [2]=> string(7) "fl.date" [3]=> string(7) "fl.city" } [3]=> array(3) { [0]=> string(13) "Victor.Devall" [1]=> bool(true) [2]=> bool(false) } } } [3]=> array(6) { ["file"]=> string(71) "/www/test.theringfinders.com/theringfinders.com/wptheme/page-finder.php" ["line"]=> int(22) ["function"]=> string(9) "getFinder" ["class"]=> string(2) "DB" ["type"]=> string(2) "->" ["args"]=> array(2) { [0]=> string(13) "Victor.Devall" [1]=> array(3) { ["enabled"]=> bool(true) ["dead"]=> bool(false) ["expand"]=> array(3) { [0]=> string(9) "locations" [1]=> string(5) "photo" [2]=> string(4) "meta" } } } } [4]=> array(4) { ["file"]=> string(97) "/www/test.theringfinders.com/theringfinders.com/external/svn/blog/wp-includes/template-loader.php" ["line"]=> int(106) ["args"]=> array(1) { [0]=> string(71) "/www/test.theringfinders.com/theringfinders.com/wptheme/page-finder.php" } ["function"]=> string(7) "include" } [5]=> array(4) { ["file"]=> string(84) "/www/test.theringfinders.com/theringfinders.com/external/svn/blog/wp-blog-header.php" ["line"]=> int(19) ["args"]=> array(1) { [0]=> string(97) "/www/test.theringfinders.com/theringfinders.com/external/svn/blog/wp-includes/template-loader.php" } ["function"]=> string(12) "require_once" } [6]=> array(4) { ["file"]=> string(61) "/www/test.theringfinders.com/theringfinders.com/www/index.php" ["line"]=> int(17) ["args"]=> array(1) { [0]=> string(84) "/www/test.theringfinders.com/theringfinders.com/external/svn/blog/wp-blog-header.php" } ["function"]=> string(7) "require" } } ["previous":"Exception":private]=> NULL ["errorInfo"]=> array(3) { [0]=> string(5) "HY000" [1]=> int(1712) [2]=> string(35) "Index finder_locations is corrupted" } }