Exception Object ( [message:protected] => Query error: 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 ')' at line 6 [string:Exception:private] => [code:protected] => 0 [file:protected] => /sites/paper/system/database_mysql.php [line:protected] => 121 [trace:Exception:private] => Array ( [0] => Array ( [file] => /sites/paper/system/prepared_multi.php [line] => 33 [function] => get_prepared [class] => Paper_Database_Mysql [type] => :: [args] => Array ( [0] => SELECT COUNT(*) FROM blogs_reviews WHERE blogs_id IN () [1] => [2] => ) ) [1] => Array ( [file] => /sites/paper/system/persist.php [line] => 71 [function] => {closure} [class] => Paper_Prepared_Multi [type] => -> [args] => Array ( ) ) [2] => Array ( [file] => /sites/paper/system/prepared_multi.php [line] => 34 [function] => get [class] => Paper_Persist [type] => :: [args] => Array ( [0] => a:4:{i:0;s:5:"multi";i:1;s:87:" SELECT COUNT(*) FROM blogs_reviews WHERE blogs_id IN () ";i:2;N;i:3;i:6000;} [1] => 60000 [2] => 6000 [3] => Closure Object ( [static] => Array ( [query] => SELECT COUNT(*) FROM blogs_reviews WHERE blogs_id IN () [val] => [type] => ) [this] => Prepared_Single Object ( [u_query:protected] => [u_val:protected] => [u_type:protected] => [u_cache:protected] => 6000 ) ) ) ) [3] => Array ( [file] => /sites/paper/system/prepared_single.php [line] => 8 [function] => query [class] => Paper_Prepared_Multi [type] => -> [args] => Array ( [0] => SELECT COUNT(*) FROM blogs_reviews WHERE blogs_id IN () ) ) [4] => Array ( [file] => /sites/paper/applications/api/models/blog.php [line] => 338 [function] => query [class] => Paper_Prepared_Single [type] => -> [args] => Array ( [0] => SELECT COUNT(*) FROM blogs_reviews WHERE blogs_id IN () ) ) [5] => Array ( [file] => /sites/paper/applications/api/models/blog.php [line] => 458 [function] => get_review [class] => Paper_Model_Api_Blog [type] => -> [args] => Array ( [0] => 0 ) ) [6] => Array ( [file] => /sites/paper/applications/api/models/blog.php [line] => 814 [function] => get_entry [class] => Paper_Model_Api_Blog [type] => -> [args] => Array ( ) ) [7] => Array ( [file] => /sites/paper/applications/api/controllers/blog.php [line] => 19 [function] => build_entry [class] => Paper_Model_Api_Blog [type] => -> [args] => Array ( ) ) [8] => Array ( [function] => get_entry [class] => Paper_Controller_Api_Blog [type] => -> [args] => Array ( ) ) [9] => Array ( [file] => /sites/paper/system/routes.php [line] => 495 [function] => call_user_func_array [args] => Array ( [0] => Array ( [0] => Controller_Api_Blog Object ( [o_api:protected] => Model_Api_Blog Object ( [u_gids:protected] => [o_xml] => XMLWriter Object ( ) [u_status] => 1 [u_total] => [u_apiauth] => abbc5422e74a7d16 [u_apikey] => brushdsystem [u_time] => 1731678829.18 [user] => [u_id] => 0 [u_name:protected] => ) [int:protected] => [string:protected] => ) [1] => get_entry ) [1] => Array ( ) ) ) [10] => Array ( [file] => /sites/paper/boot/run.php [line] => 44 [function] => run [class] => Paper_Routes [type] => -> [args] => Array ( ) ) [11] => Array ( [file] => /sites/nattoli/config/boot.php [line] => 64 [args] => Array ( [0] => /sites/paper/boot/run.php ) [function] => require_once ) [12] => Array ( [file] => /sites/nattoli/public/index.php [line] => 2 [args] => Array ( [0] => /sites/nattoli/config/boot.php ) [function] => require ) ) [previous:Exception:private] => )1