Query: SELECT post_id FROM categories_posts WHERE category_id =
Warning (512): SQL Error: 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 '' at line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 440]
$this = array("_log" => null, "connected" => true, "debug" => true, "fullDebug" => false, "error" => "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 '' at line 1", "affected" => null, "numRows" => null, "took" => 0, "_result" => false, "_queriesCnt" => 0, "_queriesTime" => null, "_queriesLog" => array, "_queriesLogMax" => 200, "_queryCache" => array, "_baseConfig" => array, "__descriptions" => array, "_sources" => array, "connection" => resource, "config" => array, "configKeyName" => "default", "_transactionStarted" => false, "cacheSources" => true, "description" => "MySQL DBO Driver", "index" => array, "startQuote" => "`", "endQuote" => "`", "alias" => "AS ", "goofyLimit" => false, "__bypass" => true, "__sqlOps" => array, "columns" => array, "results" => false, "map" => array)
$sql = "SELECT post_id FROM categories_posts WHERE category_id = "
$error = "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 '' at line 1"
dbomysql::showquery() - CORE/cake/libs/model/datasources/dbo_source.php, line 440
dbomysql::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 166
dbomysql::fetchall() - CORE/cake/libs/model/datasources/dbo_source.php, line 297
dbomysql::query() - CORE/cake/libs/model/datasources/dbo_source.php, line 186
post::query() - CORE/cake/libs/model/model.php, line 1736
post::debug_backtrace() - [internal], line ??
postscontroller::bycategory() - CORE/app/controllers/posts_controller.php, line 28
dispatcher::_invoke() - CORE/cake/dispatcher.php, line 276
dispatcher::dispatch() - CORE/cake/dispatcher.php, line 248
[main] - CORE/app/webroot/index.php, line 84
Notice (8): Undefined variable: postids [CORE/app/controllers/posts_controller.php, line 37]
postscontroller::bycategory() - [internal], line ??
postscontroller::bycategory() - CORE/app/controllers/posts_controller.php, line 37
dispatcher::_invoke() - CORE/cake/dispatcher.php, line 276
dispatcher::dispatch() - CORE/cake/dispatcher.php, line 248
[main] - CORE/app/webroot/index.php, line 84