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] => 1429964836.3
                                                    [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] => 
    [xdebug_message] => ( ! ) Exception: 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 in /sites/paper/system/database_mysql.php on line 121
Call Stack
#TimeMemoryFunctionLocation
10.0001229728{main}(  ).../index.php:0
20.0001230168require( '/sites/nattoli/config/boot.php' ).../index.php:2
30.0006315136require_once( '/sites/paper/boot/run.php' ).../boot.php:64
40.0007339528Paper_Routes->run(  ).../run.php:44
50.0044535984call_user_func_array:{/sites/paper/system/routes.php:495}
(  ).../routes.php:495
60.0044536064Paper_Controller_Api_Blog->get_entry(  ).../routes.php:495
70.0044536112Paper_Model_Api_Blog->build_entry(  ).../blog.php:19
80.0044537248Paper_Model_Api_Blog->get_entry(  ).../blog.php:814
90.0051550232Paper_Model_Api_Blog->get_review(  ).../blog.php:458
100.0073589544Paper_Prepared_Single->query(  ).../blog.php:338
110.0073589696Paper_Prepared_Multi->query(  ).../prepared_single.php:8
120.0073591528Paper_Persist::get(  ).../prepared_multi.php:34
130.0076595864Paper_Prepared_Multi->{closure:/sites/paper/system/prepared_multi.php:32-34}(  ).../persist.php:71
140.0076595896Paper_Database_Mysql::get_prepared(  ).../prepared_multi.php:33
Variables in local scope (#14)
$c =
Undefined
$debug =
Undefined
$e =
Undefined
$field =
Undefined
$key =
Undefined
$log =
Undefined
$meta =
Undefined
$params =
Undefined
$query =
string '
				SELECT
					COUNT(*)
				FROM
					blogs_reviews
				WHERE
					blogs_id IN ()
			' (length=87)
$r_connection =
Undefined
$result =
Undefined
$row =
Undefined
$statement =
object(mysqli_stmt)[24]
  public 'affected_rows' => null
  public 'insert_id' => null
  public 'num_rows' => null
  public 'param_count' => null
  public 'field_count' => null
  public 'errno' => int 1064
  public 'error' => string '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' (length=147)
  public 'error_list' => 
    array (size=1)
      0 => 
        array (size=3)
          'errno' => int 1064
          'sqlstate' => string '42000' (length=5)
          'error' => string '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' (length=147)
  public 'sqlstate' => string '42000' (length=5)
  public 'id' => null
$time =
float 1429964836.3
$types =
null
$val =
Undefined
$values =
null
)
1
- - nattoli.net
Promo!