Warning (2): count(): Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'having' $sql = 'SELECT Alerts.id AS `Alerts__id`, Alerts.qname AS `Alerts__qname`, Alerts.content AS `Alerts__content`, Alerts.published AS `Alerts__published`, Alerts.created AS `Alerts__created`, Alerts.modified AS `Alerts__modified` FROM alerts Alerts WHERE (qname = :c0 AND published = :c1)' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Alerts__id' => 'integer', 'Alerts.id' => 'integer', 'id' => 'integer', 'Alerts__qname' => 'string', 'Alerts.qname' => 'string', 'qname' => 'string', 'Alerts__content' => 'text', 'Alerts.content' => 'text', 'content' => 'text', 'Alerts__published' => 'boolean', 'Alerts.published' => 'boolean', 'published' => 'boolean', 'Alerts__created' => 'datetime', 'Alerts.created' => 'datetime', 'created' => 'datetime', 'Alerts__modified' => 'datetime', 'Alerts.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\AlertsTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 2 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 259
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'order' $sql = 'SELECT Alerts.id AS `Alerts__id`, Alerts.qname AS `Alerts__qname`, Alerts.content AS `Alerts__content`, Alerts.published AS `Alerts__published`, Alerts.created AS `Alerts__created`, Alerts.modified AS `Alerts__modified` FROM alerts Alerts WHERE (qname = :c0 AND published = :c1)' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Alerts__id' => 'integer', 'Alerts.id' => 'integer', 'id' => 'integer', 'Alerts__qname' => 'string', 'Alerts.qname' => 'string', 'qname' => 'string', 'Alerts__content' => 'text', 'Alerts.content' => 'text', 'content' => 'text', 'Alerts__published' => 'boolean', 'Alerts.published' => 'boolean', 'published' => 'boolean', 'Alerts__created' => 'datetime', 'Alerts.created' => 'datetime', 'created' => 'datetime', 'Alerts__modified' => 'datetime', 'Alerts.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\AlertsTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 2 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 259
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = (int) 1 $name = 'limit' $sql = 'SELECT Alerts.id AS `Alerts__id`, Alerts.qname AS `Alerts__qname`, Alerts.content AS `Alerts__content`, Alerts.published AS `Alerts__published`, Alerts.created AS `Alerts__created`, Alerts.modified AS `Alerts__modified` FROM alerts Alerts WHERE (qname = :c0 AND published = :c1)' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Alerts__id' => 'integer', 'Alerts.id' => 'integer', 'id' => 'integer', 'Alerts__qname' => 'string', 'Alerts.qname' => 'string', 'qname' => 'string', 'Alerts__content' => 'text', 'Alerts.content' => 'text', 'content' => 'text', 'Alerts__published' => 'boolean', 'Alerts.published' => 'boolean', 'published' => 'boolean', 'Alerts__created' => 'datetime', 'Alerts.created' => 'datetime', 'created' => 'datetime', 'Alerts__modified' => 'datetime', 'Alerts.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\AlertsTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 2 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 259
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'offset' $sql = 'SELECT Alerts.id AS `Alerts__id`, Alerts.qname AS `Alerts__qname`, Alerts.content AS `Alerts__content`, Alerts.published AS `Alerts__published`, Alerts.created AS `Alerts__created`, Alerts.modified AS `Alerts__modified` FROM alerts Alerts WHERE (qname = :c0 AND published = :c1) LIMIT 1' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Alerts__id' => 'integer', 'Alerts.id' => 'integer', 'id' => 'integer', 'Alerts__qname' => 'string', 'Alerts.qname' => 'string', 'qname' => 'string', 'Alerts__content' => 'text', 'Alerts.content' => 'text', 'content' => 'text', 'Alerts__published' => 'boolean', 'Alerts.published' => 'boolean', 'published' => 'boolean', 'Alerts__created' => 'datetime', 'Alerts.created' => 'datetime', 'created' => 'datetime', 'Alerts__modified' => 'datetime', 'Alerts.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\AlertsTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 2 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 259
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'epilog' $sql = 'SELECT Alerts.id AS `Alerts__id`, Alerts.qname AS `Alerts__qname`, Alerts.content AS `Alerts__content`, Alerts.published AS `Alerts__published`, Alerts.created AS `Alerts__created`, Alerts.modified AS `Alerts__modified` FROM alerts Alerts WHERE (qname = :c0 AND published = :c1) LIMIT 1' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Alerts__id' => 'integer', 'Alerts.id' => 'integer', 'id' => 'integer', 'Alerts__qname' => 'string', 'Alerts.qname' => 'string', 'qname' => 'string', 'Alerts__content' => 'text', 'Alerts.content' => 'text', 'content' => 'text', 'Alerts__published' => 'boolean', 'Alerts.published' => 'boolean', 'published' => 'boolean', 'Alerts__created' => 'datetime', 'Alerts.created' => 'datetime', 'created' => 'datetime', 'Alerts__modified' => 'datetime', 'Alerts.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\AlertsTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 2 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 259
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'having' $sql = 'SELECT Alerts.id AS `Alerts__id`, Alerts.qname AS `Alerts__qname`, Alerts.content AS `Alerts__content`, Alerts.published AS `Alerts__published`, Alerts.created AS `Alerts__created`, Alerts.modified AS `Alerts__modified` FROM alerts Alerts WHERE (qname = :c0 AND published = :c1)' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Alerts__id' => 'integer', 'Alerts.id' => 'integer', 'id' => 'integer', 'Alerts__qname' => 'string', 'Alerts.qname' => 'string', 'qname' => 'string', 'Alerts__content' => 'text', 'Alerts.content' => 'text', 'content' => 'text', 'Alerts__published' => 'boolean', 'Alerts.published' => 'boolean', 'published' => 'boolean', 'Alerts__created' => 'datetime', 'Alerts.created' => 'datetime', 'created' => 'datetime', 'Alerts__modified' => 'datetime', 'Alerts.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\AlertsTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 2 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 260
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'order' $sql = 'SELECT Alerts.id AS `Alerts__id`, Alerts.qname AS `Alerts__qname`, Alerts.content AS `Alerts__content`, Alerts.published AS `Alerts__published`, Alerts.created AS `Alerts__created`, Alerts.modified AS `Alerts__modified` FROM alerts Alerts WHERE (qname = :c0 AND published = :c1)' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Alerts__id' => 'integer', 'Alerts.id' => 'integer', 'id' => 'integer', 'Alerts__qname' => 'string', 'Alerts.qname' => 'string', 'qname' => 'string', 'Alerts__content' => 'text', 'Alerts.content' => 'text', 'content' => 'text', 'Alerts__published' => 'boolean', 'Alerts.published' => 'boolean', 'published' => 'boolean', 'Alerts__created' => 'datetime', 'Alerts.created' => 'datetime', 'created' => 'datetime', 'Alerts__modified' => 'datetime', 'Alerts.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\AlertsTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 2 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 260
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = (int) 1 $name = 'limit' $sql = 'SELECT Alerts.id AS `Alerts__id`, Alerts.qname AS `Alerts__qname`, Alerts.content AS `Alerts__content`, Alerts.published AS `Alerts__published`, Alerts.created AS `Alerts__created`, Alerts.modified AS `Alerts__modified` FROM alerts Alerts WHERE (qname = :c0 AND published = :c1)' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Alerts__id' => 'integer', 'Alerts.id' => 'integer', 'id' => 'integer', 'Alerts__qname' => 'string', 'Alerts.qname' => 'string', 'qname' => 'string', 'Alerts__content' => 'text', 'Alerts.content' => 'text', 'content' => 'text', 'Alerts__published' => 'boolean', 'Alerts.published' => 'boolean', 'published' => 'boolean', 'Alerts__created' => 'datetime', 'Alerts.created' => 'datetime', 'created' => 'datetime', 'Alerts__modified' => 'datetime', 'Alerts.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\AlertsTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 2 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 260
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'offset' $sql = 'SELECT Alerts.id AS `Alerts__id`, Alerts.qname AS `Alerts__qname`, Alerts.content AS `Alerts__content`, Alerts.published AS `Alerts__published`, Alerts.created AS `Alerts__created`, Alerts.modified AS `Alerts__modified` FROM alerts Alerts WHERE (qname = :c0 AND published = :c1) LIMIT 1' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Alerts__id' => 'integer', 'Alerts.id' => 'integer', 'id' => 'integer', 'Alerts__qname' => 'string', 'Alerts.qname' => 'string', 'qname' => 'string', 'Alerts__content' => 'text', 'Alerts.content' => 'text', 'content' => 'text', 'Alerts__published' => 'boolean', 'Alerts.published' => 'boolean', 'published' => 'boolean', 'Alerts__created' => 'datetime', 'Alerts.created' => 'datetime', 'created' => 'datetime', 'Alerts__modified' => 'datetime', 'Alerts.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\AlertsTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 2 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 260
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'epilog' $sql = 'SELECT Alerts.id AS `Alerts__id`, Alerts.qname AS `Alerts__qname`, Alerts.content AS `Alerts__content`, Alerts.published AS `Alerts__published`, Alerts.created AS `Alerts__created`, Alerts.modified AS `Alerts__modified` FROM alerts Alerts WHERE (qname = :c0 AND published = :c1) LIMIT 1' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Alerts__id' => 'integer', 'Alerts.id' => 'integer', 'id' => 'integer', 'Alerts__qname' => 'string', 'Alerts.qname' => 'string', 'qname' => 'string', 'Alerts__content' => 'text', 'Alerts.content' => 'text', 'content' => 'text', 'Alerts__published' => 'boolean', 'Alerts.published' => 'boolean', 'published' => 'boolean', 'Alerts__created' => 'datetime', 'Alerts.created' => 'datetime', 'created' => 'datetime', 'Alerts__modified' => 'datetime', 'Alerts.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\AlertsTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 2 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 260
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'having' $sql = 'SELECT CmsPages.id AS `CmsPages__id`, CmsPages.qname AS `CmsPages__qname`, CmsPages.title AS `CmsPages__title`, CmsPages.content AS `CmsPages__content`, CmsPages.created AS `CmsPages__created`, CmsPages.modified AS `CmsPages__modified` FROM cms_pages CmsPages WHERE id <= :c0' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'CmsPages__id' => 'integer', 'CmsPages.id' => 'integer', 'id' => 'integer', 'CmsPages__qname' => 'string', 'CmsPages.qname' => 'string', 'qname' => 'string', 'CmsPages__title' => 'string', 'CmsPages.title' => 'string', 'title' => 'string', 'CmsPages__content' => 'text', 'CmsPages.content' => 'text', 'content' => 'text', 'CmsPages__created' => 'datetime', 'CmsPages.created' => 'datetime', 'created' => 'datetime', 'CmsPages__modified' => 'datetime', 'CmsPages.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\CmsPagesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 1 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 293 App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 272
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'order' $sql = 'SELECT CmsPages.id AS `CmsPages__id`, CmsPages.qname AS `CmsPages__qname`, CmsPages.title AS `CmsPages__title`, CmsPages.content AS `CmsPages__content`, CmsPages.created AS `CmsPages__created`, CmsPages.modified AS `CmsPages__modified` FROM cms_pages CmsPages WHERE id <= :c0' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'CmsPages__id' => 'integer', 'CmsPages.id' => 'integer', 'id' => 'integer', 'CmsPages__qname' => 'string', 'CmsPages.qname' => 'string', 'qname' => 'string', 'CmsPages__title' => 'string', 'CmsPages.title' => 'string', 'title' => 'string', 'CmsPages__content' => 'text', 'CmsPages.content' => 'text', 'content' => 'text', 'CmsPages__created' => 'datetime', 'CmsPages.created' => 'datetime', 'created' => 'datetime', 'CmsPages__modified' => 'datetime', 'CmsPages.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\CmsPagesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 1 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 293 App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 272
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'limit' $sql = 'SELECT CmsPages.id AS `CmsPages__id`, CmsPages.qname AS `CmsPages__qname`, CmsPages.title AS `CmsPages__title`, CmsPages.content AS `CmsPages__content`, CmsPages.created AS `CmsPages__created`, CmsPages.modified AS `CmsPages__modified` FROM cms_pages CmsPages WHERE id <= :c0' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'CmsPages__id' => 'integer', 'CmsPages.id' => 'integer', 'id' => 'integer', 'CmsPages__qname' => 'string', 'CmsPages.qname' => 'string', 'qname' => 'string', 'CmsPages__title' => 'string', 'CmsPages.title' => 'string', 'title' => 'string', 'CmsPages__content' => 'text', 'CmsPages.content' => 'text', 'content' => 'text', 'CmsPages__created' => 'datetime', 'CmsPages.created' => 'datetime', 'created' => 'datetime', 'CmsPages__modified' => 'datetime', 'CmsPages.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\CmsPagesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 1 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 293 App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 272
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'offset' $sql = 'SELECT CmsPages.id AS `CmsPages__id`, CmsPages.qname AS `CmsPages__qname`, CmsPages.title AS `CmsPages__title`, CmsPages.content AS `CmsPages__content`, CmsPages.created AS `CmsPages__created`, CmsPages.modified AS `CmsPages__modified` FROM cms_pages CmsPages WHERE id <= :c0' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'CmsPages__id' => 'integer', 'CmsPages.id' => 'integer', 'id' => 'integer', 'CmsPages__qname' => 'string', 'CmsPages.qname' => 'string', 'qname' => 'string', 'CmsPages__title' => 'string', 'CmsPages.title' => 'string', 'title' => 'string', 'CmsPages__content' => 'text', 'CmsPages.content' => 'text', 'content' => 'text', 'CmsPages__created' => 'datetime', 'CmsPages.created' => 'datetime', 'created' => 'datetime', 'CmsPages__modified' => 'datetime', 'CmsPages.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\CmsPagesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 1 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 293 App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 272
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'epilog' $sql = 'SELECT CmsPages.id AS `CmsPages__id`, CmsPages.qname AS `CmsPages__qname`, CmsPages.title AS `CmsPages__title`, CmsPages.content AS `CmsPages__content`, CmsPages.created AS `CmsPages__created`, CmsPages.modified AS `CmsPages__modified` FROM cms_pages CmsPages WHERE id <= :c0' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'CmsPages__id' => 'integer', 'CmsPages.id' => 'integer', 'id' => 'integer', 'CmsPages__qname' => 'string', 'CmsPages.qname' => 'string', 'qname' => 'string', 'CmsPages__title' => 'string', 'CmsPages.title' => 'string', 'title' => 'string', 'CmsPages__content' => 'text', 'CmsPages.content' => 'text', 'content' => 'text', 'CmsPages__created' => 'datetime', 'CmsPages.created' => 'datetime', 'created' => 'datetime', 'CmsPages__modified' => 'datetime', 'CmsPages.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\CmsPagesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 1 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 293 App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 272
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'having' $sql = 'SELECT CmsPages.id AS `CmsPages__id`, CmsPages.qname AS `CmsPages__qname`, CmsPages.title AS `CmsPages__title`, CmsPages.content AS `CmsPages__content`, CmsPages.created AS `CmsPages__created`, CmsPages.modified AS `CmsPages__modified` FROM cms_pages CmsPages WHERE id in (:c0,:c1,:c2,:c3,:c4)' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'CmsPages__id' => 'integer', 'CmsPages.id' => 'integer', 'id' => 'integer', 'CmsPages__qname' => 'string', 'CmsPages.qname' => 'string', 'qname' => 'string', 'CmsPages__title' => 'string', 'CmsPages.title' => 'string', 'title' => 'string', 'CmsPages__content' => 'text', 'CmsPages.content' => 'text', 'content' => 'text', 'CmsPages__created' => 'datetime', 'CmsPages.created' => 'datetime', 'created' => 'datetime', 'CmsPages__modified' => 'datetime', 'CmsPages.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\CmsPagesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 5 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 293 App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 285
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'order' $sql = 'SELECT CmsPages.id AS `CmsPages__id`, CmsPages.qname AS `CmsPages__qname`, CmsPages.title AS `CmsPages__title`, CmsPages.content AS `CmsPages__content`, CmsPages.created AS `CmsPages__created`, CmsPages.modified AS `CmsPages__modified` FROM cms_pages CmsPages WHERE id in (:c0,:c1,:c2,:c3,:c4)' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'CmsPages__id' => 'integer', 'CmsPages.id' => 'integer', 'id' => 'integer', 'CmsPages__qname' => 'string', 'CmsPages.qname' => 'string', 'qname' => 'string', 'CmsPages__title' => 'string', 'CmsPages.title' => 'string', 'title' => 'string', 'CmsPages__content' => 'text', 'CmsPages.content' => 'text', 'content' => 'text', 'CmsPages__created' => 'datetime', 'CmsPages.created' => 'datetime', 'created' => 'datetime', 'CmsPages__modified' => 'datetime', 'CmsPages.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\CmsPagesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 5 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 293 App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 285
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'limit' $sql = 'SELECT CmsPages.id AS `CmsPages__id`, CmsPages.qname AS `CmsPages__qname`, CmsPages.title AS `CmsPages__title`, CmsPages.content AS `CmsPages__content`, CmsPages.created AS `CmsPages__created`, CmsPages.modified AS `CmsPages__modified` FROM cms_pages CmsPages WHERE id in (:c0,:c1,:c2,:c3,:c4)' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'CmsPages__id' => 'integer', 'CmsPages.id' => 'integer', 'id' => 'integer', 'CmsPages__qname' => 'string', 'CmsPages.qname' => 'string', 'qname' => 'string', 'CmsPages__title' => 'string', 'CmsPages.title' => 'string', 'title' => 'string', 'CmsPages__content' => 'text', 'CmsPages.content' => 'text', 'content' => 'text', 'CmsPages__created' => 'datetime', 'CmsPages.created' => 'datetime', 'created' => 'datetime', 'CmsPages__modified' => 'datetime', 'CmsPages.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\CmsPagesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 5 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 293 App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 285
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'offset' $sql = 'SELECT CmsPages.id AS `CmsPages__id`, CmsPages.qname AS `CmsPages__qname`, CmsPages.title AS `CmsPages__title`, CmsPages.content AS `CmsPages__content`, CmsPages.created AS `CmsPages__created`, CmsPages.modified AS `CmsPages__modified` FROM cms_pages CmsPages WHERE id in (:c0,:c1,:c2,:c3,:c4)' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'CmsPages__id' => 'integer', 'CmsPages.id' => 'integer', 'id' => 'integer', 'CmsPages__qname' => 'string', 'CmsPages.qname' => 'string', 'qname' => 'string', 'CmsPages__title' => 'string', 'CmsPages.title' => 'string', 'title' => 'string', 'CmsPages__content' => 'text', 'CmsPages.content' => 'text', 'content' => 'text', 'CmsPages__created' => 'datetime', 'CmsPages.created' => 'datetime', 'created' => 'datetime', 'CmsPages__modified' => 'datetime', 'CmsPages.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\CmsPagesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 5 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 293 App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 285
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'epilog' $sql = 'SELECT CmsPages.id AS `CmsPages__id`, CmsPages.qname AS `CmsPages__qname`, CmsPages.title AS `CmsPages__title`, CmsPages.content AS `CmsPages__content`, CmsPages.created AS `CmsPages__created`, CmsPages.modified AS `CmsPages__modified` FROM cms_pages CmsPages WHERE id in (:c0,:c1,:c2,:c3,:c4)' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'CmsPages__id' => 'integer', 'CmsPages.id' => 'integer', 'id' => 'integer', 'CmsPages__qname' => 'string', 'CmsPages.qname' => 'string', 'qname' => 'string', 'CmsPages__title' => 'string', 'CmsPages.title' => 'string', 'title' => 'string', 'CmsPages__content' => 'text', 'CmsPages.content' => 'text', 'content' => 'text', 'CmsPages__created' => 'datetime', 'CmsPages.created' => 'datetime', 'created' => 'datetime', 'CmsPages__modified' => 'datetime', 'CmsPages.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\CmsPagesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 5 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::toArray() - CORE/src/Datasource/QueryTrait.php, line 293 App\Controller\AppController::beforeFilter() - APP/Controller/AppController.php, line 285
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'having' $sql = 'SELECT Categories.id AS `Categories__id`, Categories.qname AS `Categories__qname`, Categories.name AS `Categories__name`, Categories.type AS `Categories__type`, Categories.rank AS `Categories__rank`, Categories.created AS `Categories__created`, Categories.modified AS `Categories__modified` FROM categories Categories WHERE Categories.qname = :c0' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'id' => 'integer', 'Categories__qname' => 'string', 'Categories.qname' => 'string', 'qname' => 'string', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__type' => 'string', 'Categories.type' => 'string', 'type' => 'string', 'Categories__rank' => 'integer', 'Categories.rank' => 'integer', 'rank' => 'integer', 'Categories__created' => 'datetime', 'Categories.created' => 'datetime', 'created' => 'datetime', 'Categories__modified' => 'datetime', 'Categories.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\CategoriesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 1 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 App\Controller\CategoriesController::view() - APP/Controller/CategoriesController.php, line 40
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'order' $sql = 'SELECT Categories.id AS `Categories__id`, Categories.qname AS `Categories__qname`, Categories.name AS `Categories__name`, Categories.type AS `Categories__type`, Categories.rank AS `Categories__rank`, Categories.created AS `Categories__created`, Categories.modified AS `Categories__modified` FROM categories Categories WHERE Categories.qname = :c0' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'id' => 'integer', 'Categories__qname' => 'string', 'Categories.qname' => 'string', 'qname' => 'string', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__type' => 'string', 'Categories.type' => 'string', 'type' => 'string', 'Categories__rank' => 'integer', 'Categories.rank' => 'integer', 'rank' => 'integer', 'Categories__created' => 'datetime', 'Categories.created' => 'datetime', 'created' => 'datetime', 'Categories__modified' => 'datetime', 'Categories.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\CategoriesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 1 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 App\Controller\CategoriesController::view() - APP/Controller/CategoriesController.php, line 40
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = (int) 1 $name = 'limit' $sql = 'SELECT Categories.id AS `Categories__id`, Categories.qname AS `Categories__qname`, Categories.name AS `Categories__name`, Categories.type AS `Categories__type`, Categories.rank AS `Categories__rank`, Categories.created AS `Categories__created`, Categories.modified AS `Categories__modified` FROM categories Categories WHERE Categories.qname = :c0' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'id' => 'integer', 'Categories__qname' => 'string', 'Categories.qname' => 'string', 'qname' => 'string', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__type' => 'string', 'Categories.type' => 'string', 'type' => 'string', 'Categories__rank' => 'integer', 'Categories.rank' => 'integer', 'rank' => 'integer', 'Categories__created' => 'datetime', 'Categories.created' => 'datetime', 'created' => 'datetime', 'Categories__modified' => 'datetime', 'Categories.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\CategoriesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 1 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 App\Controller\CategoriesController::view() - APP/Controller/CategoriesController.php, line 40
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'offset' $sql = 'SELECT Categories.id AS `Categories__id`, Categories.qname AS `Categories__qname`, Categories.name AS `Categories__name`, Categories.type AS `Categories__type`, Categories.rank AS `Categories__rank`, Categories.created AS `Categories__created`, Categories.modified AS `Categories__modified` FROM categories Categories WHERE Categories.qname = :c0 LIMIT 1' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'id' => 'integer', 'Categories__qname' => 'string', 'Categories.qname' => 'string', 'qname' => 'string', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__type' => 'string', 'Categories.type' => 'string', 'type' => 'string', 'Categories__rank' => 'integer', 'Categories.rank' => 'integer', 'rank' => 'integer', 'Categories__created' => 'datetime', 'Categories.created' => 'datetime', 'created' => 'datetime', 'Categories__modified' => 'datetime', 'Categories.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\CategoriesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 1 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 App\Controller\CategoriesController::view() - APP/Controller/CategoriesController.php, line 40
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'epilog' $sql = 'SELECT Categories.id AS `Categories__id`, Categories.qname AS `Categories__qname`, Categories.name AS `Categories__name`, Categories.type AS `Categories__type`, Categories.rank AS `Categories__rank`, Categories.created AS `Categories__created`, Categories.modified AS `Categories__modified` FROM categories Categories WHERE Categories.qname = :c0 LIMIT 1' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'id' => 'integer', 'Categories__qname' => 'string', 'Categories.qname' => 'string', 'qname' => 'string', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__type' => 'string', 'Categories.type' => 'string', 'type' => 'string', 'Categories__rank' => 'integer', 'Categories.rank' => 'integer', 'rank' => 'integer', 'Categories__created' => 'datetime', 'Categories.created' => 'datetime', 'created' => 'datetime', 'Categories__modified' => 'datetime', 'Categories.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\CategoriesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 1 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 App\Controller\CategoriesController::view() - APP/Controller/CategoriesController.php, line 40
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'having' $sql = 'SELECT RetrofileCategories.id AS `RetrofileCategories__id`, RetrofileCategories.retrofile_id AS `RetrofileCategories__retrofile_id`, RetrofileCategories.category_id AS `RetrofileCategories__category_id`, RetrofileCategories.created AS `RetrofileCategories__created`, RetrofileCategories.modified AS `RetrofileCategories__modified`, Retrofiles.id AS `Retrofiles__id`, Retrofiles.category_id AS `Retrofiles__category_id`, Retrofiles.sub_themes AS `Retrofiles__sub_themes`, Retrofiles.date AS `Retrofiles__date`, Retrofiles.qname AS `Retrofiles__qname`, Retrofiles.title AS `Retrofiles__title`, Retrofiles.summary AS `Retrofiles__summary`, Retrofiles.cover AS `Retrofiles__cover`, Retrofiles.cover_title AS `Retrofiles__cover_title`, Retrofiles.author_lastname AS `Retrofiles__author_lastname`, Retrofiles.author_firstname AS `Retrofiles__author_firstname`, Retrofiles.highlight AS `Retrofiles__highlight`, Retrofiles.published AS `Retrofiles__published`, Retrofiles.pdf_clicks AS `Retrofiles__pdf_clicks`, Retrofiles.zip_clicks AS `Retrofiles__zip_clicks`, Retrofiles.created AS `Retrofiles__created`, Retrofiles.modified AS `Retrofiles__modified`, Categories.id AS `Categories__id`, Categories.qname AS `Categories__qname`, Categories.name AS `Categories__name`, Categories.type AS `Categories__type`, Categories.rank AS `Categories__rank`, Categories.created AS `Categories__created`, Categories.modified AS `Categories__modified` FROM retrofile_categories RetrofileCategories INNER JOIN retrofiles Retrofiles ON Retrofiles.id = (RetrofileCategories.retrofile_id) INNER JOIN categories Categories ON Categories.id = (RetrofileCategories.category_id) WHERE Categories.qname = :c0' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'RetrofileCategories__id' => 'integer', 'RetrofileCategories.id' => 'integer', 'id' => 'integer', 'RetrofileCategories__retrofile_id' => 'integer', 'RetrofileCategories.retrofile_id' => 'integer', 'retrofile_id' => 'integer', 'RetrofileCategories__category_id' => 'integer', 'RetrofileCategories.category_id' => 'integer', 'category_id' => 'integer', 'RetrofileCategories__created' => 'datetime', 'RetrofileCategories.created' => 'datetime', 'created' => 'datetime', 'RetrofileCategories__modified' => 'datetime', 'RetrofileCategories.modified' => 'datetime', 'modified' => 'datetime', 'Retrofiles__id' => 'integer', 'Retrofiles.id' => 'integer', 'Retrofiles__category_id' => 'integer', 'Retrofiles.category_id' => 'integer', 'Retrofiles__sub_themes' => 'string', 'Retrofiles.sub_themes' => 'string', 'sub_themes' => 'string', 'Retrofiles__date' => 'string', 'Retrofiles.date' => 'string', 'date' => 'string', 'Retrofiles__qname' => 'string', 'Retrofiles.qname' => 'string', 'qname' => 'string', 'Retrofiles__title' => 'string', 'Retrofiles.title' => 'string', 'title' => 'string', 'Retrofiles__summary' => 'text', 'Retrofiles.summary' => 'text', 'summary' => 'text', 'Retrofiles__cover' => 'string', 'Retrofiles.cover' => 'string', 'cover' => 'string', 'Retrofiles__cover_title' => 'string', 'Retrofiles.cover_title' => 'string', 'cover_title' => 'string', 'Retrofiles__author_lastname' => 'string', 'Retrofiles.author_lastname' => 'string', 'author_lastname' => 'string', 'Retrofiles__author_firstname' => 'string', 'Retrofiles.author_firstname' => 'string', 'author_firstname' => 'string', 'Retrofiles__highlight' => 'boolean', 'Retrofiles.highlight' => 'boolean', 'highlight' => 'boolean', 'Retrofiles__published' => 'boolean', 'Retrofiles.published' => 'boolean', 'published' => 'boolean', 'Retrofiles__pdf_clicks' => 'integer', 'Retrofiles.pdf_clicks' => 'integer', 'pdf_clicks' => 'integer', 'Retrofiles__zip_clicks' => 'integer', 'Retrofiles.zip_clicks' => 'integer', 'zip_clicks' => 'integer', 'Retrofiles__created' => 'datetime', 'Retrofiles.created' => 'datetime', 'Retrofiles__modified' => 'datetime', 'Retrofiles.modified' => 'datetime', 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'Categories__qname' => 'string', 'Categories.qname' => 'string', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__type' => 'string', 'Categories.type' => 'string', 'type' => 'string', 'Categories__rank' => 'integer', 'Categories.rank' => 'integer', 'rank' => 'integer', 'Categories__created' => 'datetime', 'Categories.created' => 'datetime', 'Categories__modified' => 'datetime', 'Categories.modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'Retrofiles' => [[maximum depth reached]], 'Categories' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\RetrofileCategoriesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 1 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::getIterator() - CORE/src/Datasource/QueryTrait.php, line 132 App\Controller\CategoriesController::view() - APP/Controller/CategoriesController.php, line 58
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'limit' $sql = 'SELECT RetrofileCategories.id AS `RetrofileCategories__id`, RetrofileCategories.retrofile_id AS `RetrofileCategories__retrofile_id`, RetrofileCategories.category_id AS `RetrofileCategories__category_id`, RetrofileCategories.created AS `RetrofileCategories__created`, RetrofileCategories.modified AS `RetrofileCategories__modified`, Retrofiles.id AS `Retrofiles__id`, Retrofiles.category_id AS `Retrofiles__category_id`, Retrofiles.sub_themes AS `Retrofiles__sub_themes`, Retrofiles.date AS `Retrofiles__date`, Retrofiles.qname AS `Retrofiles__qname`, Retrofiles.title AS `Retrofiles__title`, Retrofiles.summary AS `Retrofiles__summary`, Retrofiles.cover AS `Retrofiles__cover`, Retrofiles.cover_title AS `Retrofiles__cover_title`, Retrofiles.author_lastname AS `Retrofiles__author_lastname`, Retrofiles.author_firstname AS `Retrofiles__author_firstname`, Retrofiles.highlight AS `Retrofiles__highlight`, Retrofiles.published AS `Retrofiles__published`, Retrofiles.pdf_clicks AS `Retrofiles__pdf_clicks`, Retrofiles.zip_clicks AS `Retrofiles__zip_clicks`, Retrofiles.created AS `Retrofiles__created`, Retrofiles.modified AS `Retrofiles__modified`, Categories.id AS `Categories__id`, Categories.qname AS `Categories__qname`, Categories.name AS `Categories__name`, Categories.type AS `Categories__type`, Categories.rank AS `Categories__rank`, Categories.created AS `Categories__created`, Categories.modified AS `Categories__modified` FROM retrofile_categories RetrofileCategories INNER JOIN retrofiles Retrofiles ON Retrofiles.id = (RetrofileCategories.retrofile_id) INNER JOIN categories Categories ON Categories.id = (RetrofileCategories.category_id) WHERE Categories.qname = :c0 ORDER BY Retrofiles.modified DESC' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'RetrofileCategories__id' => 'integer', 'RetrofileCategories.id' => 'integer', 'id' => 'integer', 'RetrofileCategories__retrofile_id' => 'integer', 'RetrofileCategories.retrofile_id' => 'integer', 'retrofile_id' => 'integer', 'RetrofileCategories__category_id' => 'integer', 'RetrofileCategories.category_id' => 'integer', 'category_id' => 'integer', 'RetrofileCategories__created' => 'datetime', 'RetrofileCategories.created' => 'datetime', 'created' => 'datetime', 'RetrofileCategories__modified' => 'datetime', 'RetrofileCategories.modified' => 'datetime', 'modified' => 'datetime', 'Retrofiles__id' => 'integer', 'Retrofiles.id' => 'integer', 'Retrofiles__category_id' => 'integer', 'Retrofiles.category_id' => 'integer', 'Retrofiles__sub_themes' => 'string', 'Retrofiles.sub_themes' => 'string', 'sub_themes' => 'string', 'Retrofiles__date' => 'string', 'Retrofiles.date' => 'string', 'date' => 'string', 'Retrofiles__qname' => 'string', 'Retrofiles.qname' => 'string', 'qname' => 'string', 'Retrofiles__title' => 'string', 'Retrofiles.title' => 'string', 'title' => 'string', 'Retrofiles__summary' => 'text', 'Retrofiles.summary' => 'text', 'summary' => 'text', 'Retrofiles__cover' => 'string', 'Retrofiles.cover' => 'string', 'cover' => 'string', 'Retrofiles__cover_title' => 'string', 'Retrofiles.cover_title' => 'string', 'cover_title' => 'string', 'Retrofiles__author_lastname' => 'string', 'Retrofiles.author_lastname' => 'string', 'author_lastname' => 'string', 'Retrofiles__author_firstname' => 'string', 'Retrofiles.author_firstname' => 'string', 'author_firstname' => 'string', 'Retrofiles__highlight' => 'boolean', 'Retrofiles.highlight' => 'boolean', 'highlight' => 'boolean', 'Retrofiles__published' => 'boolean', 'Retrofiles.published' => 'boolean', 'published' => 'boolean', 'Retrofiles__pdf_clicks' => 'integer', 'Retrofiles.pdf_clicks' => 'integer', 'pdf_clicks' => 'integer', 'Retrofiles__zip_clicks' => 'integer', 'Retrofiles.zip_clicks' => 'integer', 'zip_clicks' => 'integer', 'Retrofiles__created' => 'datetime', 'Retrofiles.created' => 'datetime', 'Retrofiles__modified' => 'datetime', 'Retrofiles.modified' => 'datetime', 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'Categories__qname' => 'string', 'Categories.qname' => 'string', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__type' => 'string', 'Categories.type' => 'string', 'type' => 'string', 'Categories__rank' => 'integer', 'Categories.rank' => 'integer', 'rank' => 'integer', 'Categories__created' => 'datetime', 'Categories.created' => 'datetime', 'Categories__modified' => 'datetime', 'Categories.modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'Retrofiles' => [[maximum depth reached]], 'Categories' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\RetrofileCategoriesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 1 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::getIterator() - CORE/src/Datasource/QueryTrait.php, line 132 App\Controller\CategoriesController::view() - APP/Controller/CategoriesController.php, line 58
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'offset' $sql = 'SELECT RetrofileCategories.id AS `RetrofileCategories__id`, RetrofileCategories.retrofile_id AS `RetrofileCategories__retrofile_id`, RetrofileCategories.category_id AS `RetrofileCategories__category_id`, RetrofileCategories.created AS `RetrofileCategories__created`, RetrofileCategories.modified AS `RetrofileCategories__modified`, Retrofiles.id AS `Retrofiles__id`, Retrofiles.category_id AS `Retrofiles__category_id`, Retrofiles.sub_themes AS `Retrofiles__sub_themes`, Retrofiles.date AS `Retrofiles__date`, Retrofiles.qname AS `Retrofiles__qname`, Retrofiles.title AS `Retrofiles__title`, Retrofiles.summary AS `Retrofiles__summary`, Retrofiles.cover AS `Retrofiles__cover`, Retrofiles.cover_title AS `Retrofiles__cover_title`, Retrofiles.author_lastname AS `Retrofiles__author_lastname`, Retrofiles.author_firstname AS `Retrofiles__author_firstname`, Retrofiles.highlight AS `Retrofiles__highlight`, Retrofiles.published AS `Retrofiles__published`, Retrofiles.pdf_clicks AS `Retrofiles__pdf_clicks`, Retrofiles.zip_clicks AS `Retrofiles__zip_clicks`, Retrofiles.created AS `Retrofiles__created`, Retrofiles.modified AS `Retrofiles__modified`, Categories.id AS `Categories__id`, Categories.qname AS `Categories__qname`, Categories.name AS `Categories__name`, Categories.type AS `Categories__type`, Categories.rank AS `Categories__rank`, Categories.created AS `Categories__created`, Categories.modified AS `Categories__modified` FROM retrofile_categories RetrofileCategories INNER JOIN retrofiles Retrofiles ON Retrofiles.id = (RetrofileCategories.retrofile_id) INNER JOIN categories Categories ON Categories.id = (RetrofileCategories.category_id) WHERE Categories.qname = :c0 ORDER BY Retrofiles.modified DESC' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'RetrofileCategories__id' => 'integer', 'RetrofileCategories.id' => 'integer', 'id' => 'integer', 'RetrofileCategories__retrofile_id' => 'integer', 'RetrofileCategories.retrofile_id' => 'integer', 'retrofile_id' => 'integer', 'RetrofileCategories__category_id' => 'integer', 'RetrofileCategories.category_id' => 'integer', 'category_id' => 'integer', 'RetrofileCategories__created' => 'datetime', 'RetrofileCategories.created' => 'datetime', 'created' => 'datetime', 'RetrofileCategories__modified' => 'datetime', 'RetrofileCategories.modified' => 'datetime', 'modified' => 'datetime', 'Retrofiles__id' => 'integer', 'Retrofiles.id' => 'integer', 'Retrofiles__category_id' => 'integer', 'Retrofiles.category_id' => 'integer', 'Retrofiles__sub_themes' => 'string', 'Retrofiles.sub_themes' => 'string', 'sub_themes' => 'string', 'Retrofiles__date' => 'string', 'Retrofiles.date' => 'string', 'date' => 'string', 'Retrofiles__qname' => 'string', 'Retrofiles.qname' => 'string', 'qname' => 'string', 'Retrofiles__title' => 'string', 'Retrofiles.title' => 'string', 'title' => 'string', 'Retrofiles__summary' => 'text', 'Retrofiles.summary' => 'text', 'summary' => 'text', 'Retrofiles__cover' => 'string', 'Retrofiles.cover' => 'string', 'cover' => 'string', 'Retrofiles__cover_title' => 'string', 'Retrofiles.cover_title' => 'string', 'cover_title' => 'string', 'Retrofiles__author_lastname' => 'string', 'Retrofiles.author_lastname' => 'string', 'author_lastname' => 'string', 'Retrofiles__author_firstname' => 'string', 'Retrofiles.author_firstname' => 'string', 'author_firstname' => 'string', 'Retrofiles__highlight' => 'boolean', 'Retrofiles.highlight' => 'boolean', 'highlight' => 'boolean', 'Retrofiles__published' => 'boolean', 'Retrofiles.published' => 'boolean', 'published' => 'boolean', 'Retrofiles__pdf_clicks' => 'integer', 'Retrofiles.pdf_clicks' => 'integer', 'pdf_clicks' => 'integer', 'Retrofiles__zip_clicks' => 'integer', 'Retrofiles.zip_clicks' => 'integer', 'zip_clicks' => 'integer', 'Retrofiles__created' => 'datetime', 'Retrofiles.created' => 'datetime', 'Retrofiles__modified' => 'datetime', 'Retrofiles.modified' => 'datetime', 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'Categories__qname' => 'string', 'Categories.qname' => 'string', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__type' => 'string', 'Categories.type' => 'string', 'type' => 'string', 'Categories__rank' => 'integer', 'Categories.rank' => 'integer', 'rank' => 'integer', 'Categories__created' => 'datetime', 'Categories.created' => 'datetime', 'Categories__modified' => 'datetime', 'Categories.modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'Retrofiles' => [[maximum depth reached]], 'Categories' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\RetrofileCategoriesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 1 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::getIterator() - CORE/src/Datasource/QueryTrait.php, line 132 App\Controller\CategoriesController::view() - APP/Controller/CategoriesController.php, line 58
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'epilog' $sql = 'SELECT RetrofileCategories.id AS `RetrofileCategories__id`, RetrofileCategories.retrofile_id AS `RetrofileCategories__retrofile_id`, RetrofileCategories.category_id AS `RetrofileCategories__category_id`, RetrofileCategories.created AS `RetrofileCategories__created`, RetrofileCategories.modified AS `RetrofileCategories__modified`, Retrofiles.id AS `Retrofiles__id`, Retrofiles.category_id AS `Retrofiles__category_id`, Retrofiles.sub_themes AS `Retrofiles__sub_themes`, Retrofiles.date AS `Retrofiles__date`, Retrofiles.qname AS `Retrofiles__qname`, Retrofiles.title AS `Retrofiles__title`, Retrofiles.summary AS `Retrofiles__summary`, Retrofiles.cover AS `Retrofiles__cover`, Retrofiles.cover_title AS `Retrofiles__cover_title`, Retrofiles.author_lastname AS `Retrofiles__author_lastname`, Retrofiles.author_firstname AS `Retrofiles__author_firstname`, Retrofiles.highlight AS `Retrofiles__highlight`, Retrofiles.published AS `Retrofiles__published`, Retrofiles.pdf_clicks AS `Retrofiles__pdf_clicks`, Retrofiles.zip_clicks AS `Retrofiles__zip_clicks`, Retrofiles.created AS `Retrofiles__created`, Retrofiles.modified AS `Retrofiles__modified`, Categories.id AS `Categories__id`, Categories.qname AS `Categories__qname`, Categories.name AS `Categories__name`, Categories.type AS `Categories__type`, Categories.rank AS `Categories__rank`, Categories.created AS `Categories__created`, Categories.modified AS `Categories__modified` FROM retrofile_categories RetrofileCategories INNER JOIN retrofiles Retrofiles ON Retrofiles.id = (RetrofileCategories.retrofile_id) INNER JOIN categories Categories ON Categories.id = (RetrofileCategories.category_id) WHERE Categories.qname = :c0 ORDER BY Retrofiles.modified DESC' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'RetrofileCategories__id' => 'integer', 'RetrofileCategories.id' => 'integer', 'id' => 'integer', 'RetrofileCategories__retrofile_id' => 'integer', 'RetrofileCategories.retrofile_id' => 'integer', 'retrofile_id' => 'integer', 'RetrofileCategories__category_id' => 'integer', 'RetrofileCategories.category_id' => 'integer', 'category_id' => 'integer', 'RetrofileCategories__created' => 'datetime', 'RetrofileCategories.created' => 'datetime', 'created' => 'datetime', 'RetrofileCategories__modified' => 'datetime', 'RetrofileCategories.modified' => 'datetime', 'modified' => 'datetime', 'Retrofiles__id' => 'integer', 'Retrofiles.id' => 'integer', 'Retrofiles__category_id' => 'integer', 'Retrofiles.category_id' => 'integer', 'Retrofiles__sub_themes' => 'string', 'Retrofiles.sub_themes' => 'string', 'sub_themes' => 'string', 'Retrofiles__date' => 'string', 'Retrofiles.date' => 'string', 'date' => 'string', 'Retrofiles__qname' => 'string', 'Retrofiles.qname' => 'string', 'qname' => 'string', 'Retrofiles__title' => 'string', 'Retrofiles.title' => 'string', 'title' => 'string', 'Retrofiles__summary' => 'text', 'Retrofiles.summary' => 'text', 'summary' => 'text', 'Retrofiles__cover' => 'string', 'Retrofiles.cover' => 'string', 'cover' => 'string', 'Retrofiles__cover_title' => 'string', 'Retrofiles.cover_title' => 'string', 'cover_title' => 'string', 'Retrofiles__author_lastname' => 'string', 'Retrofiles.author_lastname' => 'string', 'author_lastname' => 'string', 'Retrofiles__author_firstname' => 'string', 'Retrofiles.author_firstname' => 'string', 'author_firstname' => 'string', 'Retrofiles__highlight' => 'boolean', 'Retrofiles.highlight' => 'boolean', 'highlight' => 'boolean', 'Retrofiles__published' => 'boolean', 'Retrofiles.published' => 'boolean', 'published' => 'boolean', 'Retrofiles__pdf_clicks' => 'integer', 'Retrofiles.pdf_clicks' => 'integer', 'pdf_clicks' => 'integer', 'Retrofiles__zip_clicks' => 'integer', 'Retrofiles.zip_clicks' => 'integer', 'zip_clicks' => 'integer', 'Retrofiles__created' => 'datetime', 'Retrofiles.created' => 'datetime', 'Retrofiles__modified' => 'datetime', 'Retrofiles.modified' => 'datetime', 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'Categories__qname' => 'string', 'Categories.qname' => 'string', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__type' => 'string', 'Categories.type' => 'string', 'type' => 'string', 'Categories__rank' => 'integer', 'Categories.rank' => 'integer', 'rank' => 'integer', 'Categories__created' => 'datetime', 'Categories.created' => 'datetime', 'Categories__modified' => 'datetime', 'Categories.modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'Retrofiles' => [[maximum depth reached]], 'Categories' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\RetrofileCategoriesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 1 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::getIterator() - CORE/src/Datasource/QueryTrait.php, line 132 App\Controller\CategoriesController::view() - APP/Controller/CategoriesController.php, line 58
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'having' $sql = 'SELECT Retrofiles.id AS `Retrofiles__id`, Retrofiles.category_id AS `Retrofiles__category_id`, Retrofiles.sub_themes AS `Retrofiles__sub_themes`, Retrofiles.date AS `Retrofiles__date`, Retrofiles.qname AS `Retrofiles__qname`, Retrofiles.title AS `Retrofiles__title`, Retrofiles.summary AS `Retrofiles__summary`, Retrofiles.cover AS `Retrofiles__cover`, Retrofiles.cover_title AS `Retrofiles__cover_title`, Retrofiles.author_lastname AS `Retrofiles__author_lastname`, Retrofiles.author_firstname AS `Retrofiles__author_firstname`, Retrofiles.highlight AS `Retrofiles__highlight`, Retrofiles.published AS `Retrofiles__published`, Retrofiles.pdf_clicks AS `Retrofiles__pdf_clicks`, Retrofiles.zip_clicks AS `Retrofiles__zip_clicks`, Retrofiles.created AS `Retrofiles__created`, Retrofiles.modified AS `Retrofiles__modified`, Categories.id AS `Categories__id`, Categories.qname AS `Categories__qname`, Categories.name AS `Categories__name`, Categories.type AS `Categories__type`, Categories.rank AS `Categories__rank`, Categories.created AS `Categories__created`, Categories.modified AS `Categories__modified` FROM retrofiles Retrofiles INNER JOIN categories Categories ON Categories.id = (Retrofiles.category_id) WHERE (published = :c0 AND Retrofiles.id in (:c1,:c2,:c3,:c4,:c5,:c6,:c7,:c8,:c9))' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Retrofiles__id' => 'integer', 'Retrofiles.id' => 'integer', 'id' => 'integer', 'Retrofiles__category_id' => 'integer', 'Retrofiles.category_id' => 'integer', 'category_id' => 'integer', 'Retrofiles__sub_themes' => 'string', 'Retrofiles.sub_themes' => 'string', 'sub_themes' => 'string', 'Retrofiles__date' => 'string', 'Retrofiles.date' => 'string', 'date' => 'string', 'Retrofiles__qname' => 'string', 'Retrofiles.qname' => 'string', 'qname' => 'string', 'Retrofiles__title' => 'string', 'Retrofiles.title' => 'string', 'title' => 'string', 'Retrofiles__summary' => 'text', 'Retrofiles.summary' => 'text', 'summary' => 'text', 'Retrofiles__cover' => 'string', 'Retrofiles.cover' => 'string', 'cover' => 'string', 'Retrofiles__cover_title' => 'string', 'Retrofiles.cover_title' => 'string', 'cover_title' => 'string', 'Retrofiles__author_lastname' => 'string', 'Retrofiles.author_lastname' => 'string', 'author_lastname' => 'string', 'Retrofiles__author_firstname' => 'string', 'Retrofiles.author_firstname' => 'string', 'author_firstname' => 'string', 'Retrofiles__highlight' => 'boolean', 'Retrofiles.highlight' => 'boolean', 'highlight' => 'boolean', 'Retrofiles__published' => 'boolean', 'Retrofiles.published' => 'boolean', 'published' => 'boolean', 'Retrofiles__pdf_clicks' => 'integer', 'Retrofiles.pdf_clicks' => 'integer', 'pdf_clicks' => 'integer', 'Retrofiles__zip_clicks' => 'integer', 'Retrofiles.zip_clicks' => 'integer', 'zip_clicks' => 'integer', 'Retrofiles__created' => 'datetime', 'Retrofiles.created' => 'datetime', 'created' => 'datetime', 'Retrofiles__modified' => 'datetime', 'Retrofiles.modified' => 'datetime', 'modified' => 'datetime', 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'Categories__qname' => 'string', 'Categories.qname' => 'string', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__type' => 'string', 'Categories.type' => 'string', 'type' => 'string', 'Categories__rank' => 'integer', 'Categories.rank' => 'integer', 'rank' => 'integer', 'Categories__created' => 'datetime', 'Categories.created' => 'datetime', 'Categories__modified' => 'datetime', 'Categories.modified' => 'datetime', 'RetrofileCategories__id' => 'integer', 'RetrofileCategories.id' => 'integer', 'RetrofileCategories__retrofile_id' => 'integer', 'RetrofileCategories.retrofile_id' => 'integer', 'retrofile_id' => 'integer', 'RetrofileCategories__category_id' => 'integer', 'RetrofileCategories.category_id' => 'integer', 'RetrofileCategories__created' => 'datetime', 'RetrofileCategories.created' => 'datetime', 'RetrofileCategories__modified' => 'datetime', 'RetrofileCategories.modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'Categories' => [[maximum depth reached]], 'RetrofileCategories' => [ [maximum depth reached] ] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\RetrofilesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ], ':c5' => [ [maximum depth reached] ], ':c6' => [ [maximum depth reached] ], ':c7' => [ [maximum depth reached] ], ':c8' => [ [maximum depth reached] ], ':c9' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 10 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::getIterator() - CORE/src/Datasource/QueryTrait.php, line 132 App\Controller\CategoriesController::view() - APP/Controller/CategoriesController.php, line 79
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'limit' $sql = 'SELECT Retrofiles.id AS `Retrofiles__id`, Retrofiles.category_id AS `Retrofiles__category_id`, Retrofiles.sub_themes AS `Retrofiles__sub_themes`, Retrofiles.date AS `Retrofiles__date`, Retrofiles.qname AS `Retrofiles__qname`, Retrofiles.title AS `Retrofiles__title`, Retrofiles.summary AS `Retrofiles__summary`, Retrofiles.cover AS `Retrofiles__cover`, Retrofiles.cover_title AS `Retrofiles__cover_title`, Retrofiles.author_lastname AS `Retrofiles__author_lastname`, Retrofiles.author_firstname AS `Retrofiles__author_firstname`, Retrofiles.highlight AS `Retrofiles__highlight`, Retrofiles.published AS `Retrofiles__published`, Retrofiles.pdf_clicks AS `Retrofiles__pdf_clicks`, Retrofiles.zip_clicks AS `Retrofiles__zip_clicks`, Retrofiles.created AS `Retrofiles__created`, Retrofiles.modified AS `Retrofiles__modified`, Categories.id AS `Categories__id`, Categories.qname AS `Categories__qname`, Categories.name AS `Categories__name`, Categories.type AS `Categories__type`, Categories.rank AS `Categories__rank`, Categories.created AS `Categories__created`, Categories.modified AS `Categories__modified` FROM retrofiles Retrofiles INNER JOIN categories Categories ON Categories.id = (Retrofiles.category_id) WHERE (published = :c0 AND Retrofiles.id in (:c1,:c2,:c3,:c4,:c5,:c6,:c7,:c8,:c9)) ORDER BY Retrofiles.modified DESC' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Retrofiles__id' => 'integer', 'Retrofiles.id' => 'integer', 'id' => 'integer', 'Retrofiles__category_id' => 'integer', 'Retrofiles.category_id' => 'integer', 'category_id' => 'integer', 'Retrofiles__sub_themes' => 'string', 'Retrofiles.sub_themes' => 'string', 'sub_themes' => 'string', 'Retrofiles__date' => 'string', 'Retrofiles.date' => 'string', 'date' => 'string', 'Retrofiles__qname' => 'string', 'Retrofiles.qname' => 'string', 'qname' => 'string', 'Retrofiles__title' => 'string', 'Retrofiles.title' => 'string', 'title' => 'string', 'Retrofiles__summary' => 'text', 'Retrofiles.summary' => 'text', 'summary' => 'text', 'Retrofiles__cover' => 'string', 'Retrofiles.cover' => 'string', 'cover' => 'string', 'Retrofiles__cover_title' => 'string', 'Retrofiles.cover_title' => 'string', 'cover_title' => 'string', 'Retrofiles__author_lastname' => 'string', 'Retrofiles.author_lastname' => 'string', 'author_lastname' => 'string', 'Retrofiles__author_firstname' => 'string', 'Retrofiles.author_firstname' => 'string', 'author_firstname' => 'string', 'Retrofiles__highlight' => 'boolean', 'Retrofiles.highlight' => 'boolean', 'highlight' => 'boolean', 'Retrofiles__published' => 'boolean', 'Retrofiles.published' => 'boolean', 'published' => 'boolean', 'Retrofiles__pdf_clicks' => 'integer', 'Retrofiles.pdf_clicks' => 'integer', 'pdf_clicks' => 'integer', 'Retrofiles__zip_clicks' => 'integer', 'Retrofiles.zip_clicks' => 'integer', 'zip_clicks' => 'integer', 'Retrofiles__created' => 'datetime', 'Retrofiles.created' => 'datetime', 'created' => 'datetime', 'Retrofiles__modified' => 'datetime', 'Retrofiles.modified' => 'datetime', 'modified' => 'datetime', 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'Categories__qname' => 'string', 'Categories.qname' => 'string', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__type' => 'string', 'Categories.type' => 'string', 'type' => 'string', 'Categories__rank' => 'integer', 'Categories.rank' => 'integer', 'rank' => 'integer', 'Categories__created' => 'datetime', 'Categories.created' => 'datetime', 'Categories__modified' => 'datetime', 'Categories.modified' => 'datetime', 'RetrofileCategories__id' => 'integer', 'RetrofileCategories.id' => 'integer', 'RetrofileCategories__retrofile_id' => 'integer', 'RetrofileCategories.retrofile_id' => 'integer', 'retrofile_id' => 'integer', 'RetrofileCategories__category_id' => 'integer', 'RetrofileCategories.category_id' => 'integer', 'RetrofileCategories__created' => 'datetime', 'RetrofileCategories.created' => 'datetime', 'RetrofileCategories__modified' => 'datetime', 'RetrofileCategories.modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'Categories' => [[maximum depth reached]], 'RetrofileCategories' => [ [maximum depth reached] ] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\RetrofilesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ], ':c5' => [ [maximum depth reached] ], ':c6' => [ [maximum depth reached] ], ':c7' => [ [maximum depth reached] ], ':c8' => [ [maximum depth reached] ], ':c9' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 10 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::getIterator() - CORE/src/Datasource/QueryTrait.php, line 132 App\Controller\CategoriesController::view() - APP/Controller/CategoriesController.php, line 79
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'offset' $sql = 'SELECT Retrofiles.id AS `Retrofiles__id`, Retrofiles.category_id AS `Retrofiles__category_id`, Retrofiles.sub_themes AS `Retrofiles__sub_themes`, Retrofiles.date AS `Retrofiles__date`, Retrofiles.qname AS `Retrofiles__qname`, Retrofiles.title AS `Retrofiles__title`, Retrofiles.summary AS `Retrofiles__summary`, Retrofiles.cover AS `Retrofiles__cover`, Retrofiles.cover_title AS `Retrofiles__cover_title`, Retrofiles.author_lastname AS `Retrofiles__author_lastname`, Retrofiles.author_firstname AS `Retrofiles__author_firstname`, Retrofiles.highlight AS `Retrofiles__highlight`, Retrofiles.published AS `Retrofiles__published`, Retrofiles.pdf_clicks AS `Retrofiles__pdf_clicks`, Retrofiles.zip_clicks AS `Retrofiles__zip_clicks`, Retrofiles.created AS `Retrofiles__created`, Retrofiles.modified AS `Retrofiles__modified`, Categories.id AS `Categories__id`, Categories.qname AS `Categories__qname`, Categories.name AS `Categories__name`, Categories.type AS `Categories__type`, Categories.rank AS `Categories__rank`, Categories.created AS `Categories__created`, Categories.modified AS `Categories__modified` FROM retrofiles Retrofiles INNER JOIN categories Categories ON Categories.id = (Retrofiles.category_id) WHERE (published = :c0 AND Retrofiles.id in (:c1,:c2,:c3,:c4,:c5,:c6,:c7,:c8,:c9)) ORDER BY Retrofiles.modified DESC' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Retrofiles__id' => 'integer', 'Retrofiles.id' => 'integer', 'id' => 'integer', 'Retrofiles__category_id' => 'integer', 'Retrofiles.category_id' => 'integer', 'category_id' => 'integer', 'Retrofiles__sub_themes' => 'string', 'Retrofiles.sub_themes' => 'string', 'sub_themes' => 'string', 'Retrofiles__date' => 'string', 'Retrofiles.date' => 'string', 'date' => 'string', 'Retrofiles__qname' => 'string', 'Retrofiles.qname' => 'string', 'qname' => 'string', 'Retrofiles__title' => 'string', 'Retrofiles.title' => 'string', 'title' => 'string', 'Retrofiles__summary' => 'text', 'Retrofiles.summary' => 'text', 'summary' => 'text', 'Retrofiles__cover' => 'string', 'Retrofiles.cover' => 'string', 'cover' => 'string', 'Retrofiles__cover_title' => 'string', 'Retrofiles.cover_title' => 'string', 'cover_title' => 'string', 'Retrofiles__author_lastname' => 'string', 'Retrofiles.author_lastname' => 'string', 'author_lastname' => 'string', 'Retrofiles__author_firstname' => 'string', 'Retrofiles.author_firstname' => 'string', 'author_firstname' => 'string', 'Retrofiles__highlight' => 'boolean', 'Retrofiles.highlight' => 'boolean', 'highlight' => 'boolean', 'Retrofiles__published' => 'boolean', 'Retrofiles.published' => 'boolean', 'published' => 'boolean', 'Retrofiles__pdf_clicks' => 'integer', 'Retrofiles.pdf_clicks' => 'integer', 'pdf_clicks' => 'integer', 'Retrofiles__zip_clicks' => 'integer', 'Retrofiles.zip_clicks' => 'integer', 'zip_clicks' => 'integer', 'Retrofiles__created' => 'datetime', 'Retrofiles.created' => 'datetime', 'created' => 'datetime', 'Retrofiles__modified' => 'datetime', 'Retrofiles.modified' => 'datetime', 'modified' => 'datetime', 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'Categories__qname' => 'string', 'Categories.qname' => 'string', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__type' => 'string', 'Categories.type' => 'string', 'type' => 'string', 'Categories__rank' => 'integer', 'Categories.rank' => 'integer', 'rank' => 'integer', 'Categories__created' => 'datetime', 'Categories.created' => 'datetime', 'Categories__modified' => 'datetime', 'Categories.modified' => 'datetime', 'RetrofileCategories__id' => 'integer', 'RetrofileCategories.id' => 'integer', 'RetrofileCategories__retrofile_id' => 'integer', 'RetrofileCategories.retrofile_id' => 'integer', 'retrofile_id' => 'integer', 'RetrofileCategories__category_id' => 'integer', 'RetrofileCategories.category_id' => 'integer', 'RetrofileCategories__created' => 'datetime', 'RetrofileCategories.created' => 'datetime', 'RetrofileCategories__modified' => 'datetime', 'RetrofileCategories.modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'Categories' => [[maximum depth reached]], 'RetrofileCategories' => [ [maximum depth reached] ] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\RetrofilesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ], ':c5' => [ [maximum depth reached] ], ':c6' => [ [maximum depth reached] ], ':c7' => [ [maximum depth reached] ], ':c8' => [ [maximum depth reached] ], ':c9' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 10 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::getIterator() - CORE/src/Datasource/QueryTrait.php, line 132 App\Controller\CategoriesController::view() - APP/Controller/CategoriesController.php, line 79
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'epilog' $sql = 'SELECT Retrofiles.id AS `Retrofiles__id`, Retrofiles.category_id AS `Retrofiles__category_id`, Retrofiles.sub_themes AS `Retrofiles__sub_themes`, Retrofiles.date AS `Retrofiles__date`, Retrofiles.qname AS `Retrofiles__qname`, Retrofiles.title AS `Retrofiles__title`, Retrofiles.summary AS `Retrofiles__summary`, Retrofiles.cover AS `Retrofiles__cover`, Retrofiles.cover_title AS `Retrofiles__cover_title`, Retrofiles.author_lastname AS `Retrofiles__author_lastname`, Retrofiles.author_firstname AS `Retrofiles__author_firstname`, Retrofiles.highlight AS `Retrofiles__highlight`, Retrofiles.published AS `Retrofiles__published`, Retrofiles.pdf_clicks AS `Retrofiles__pdf_clicks`, Retrofiles.zip_clicks AS `Retrofiles__zip_clicks`, Retrofiles.created AS `Retrofiles__created`, Retrofiles.modified AS `Retrofiles__modified`, Categories.id AS `Categories__id`, Categories.qname AS `Categories__qname`, Categories.name AS `Categories__name`, Categories.type AS `Categories__type`, Categories.rank AS `Categories__rank`, Categories.created AS `Categories__created`, Categories.modified AS `Categories__modified` FROM retrofiles Retrofiles INNER JOIN categories Categories ON Categories.id = (Retrofiles.category_id) WHERE (published = :c0 AND Retrofiles.id in (:c1,:c2,:c3,:c4,:c5,:c6,:c7,:c8,:c9)) ORDER BY Retrofiles.modified DESC' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Retrofiles__id' => 'integer', 'Retrofiles.id' => 'integer', 'id' => 'integer', 'Retrofiles__category_id' => 'integer', 'Retrofiles.category_id' => 'integer', 'category_id' => 'integer', 'Retrofiles__sub_themes' => 'string', 'Retrofiles.sub_themes' => 'string', 'sub_themes' => 'string', 'Retrofiles__date' => 'string', 'Retrofiles.date' => 'string', 'date' => 'string', 'Retrofiles__qname' => 'string', 'Retrofiles.qname' => 'string', 'qname' => 'string', 'Retrofiles__title' => 'string', 'Retrofiles.title' => 'string', 'title' => 'string', 'Retrofiles__summary' => 'text', 'Retrofiles.summary' => 'text', 'summary' => 'text', 'Retrofiles__cover' => 'string', 'Retrofiles.cover' => 'string', 'cover' => 'string', 'Retrofiles__cover_title' => 'string', 'Retrofiles.cover_title' => 'string', 'cover_title' => 'string', 'Retrofiles__author_lastname' => 'string', 'Retrofiles.author_lastname' => 'string', 'author_lastname' => 'string', 'Retrofiles__author_firstname' => 'string', 'Retrofiles.author_firstname' => 'string', 'author_firstname' => 'string', 'Retrofiles__highlight' => 'boolean', 'Retrofiles.highlight' => 'boolean', 'highlight' => 'boolean', 'Retrofiles__published' => 'boolean', 'Retrofiles.published' => 'boolean', 'published' => 'boolean', 'Retrofiles__pdf_clicks' => 'integer', 'Retrofiles.pdf_clicks' => 'integer', 'pdf_clicks' => 'integer', 'Retrofiles__zip_clicks' => 'integer', 'Retrofiles.zip_clicks' => 'integer', 'zip_clicks' => 'integer', 'Retrofiles__created' => 'datetime', 'Retrofiles.created' => 'datetime', 'created' => 'datetime', 'Retrofiles__modified' => 'datetime', 'Retrofiles.modified' => 'datetime', 'modified' => 'datetime', 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'Categories__qname' => 'string', 'Categories.qname' => 'string', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__type' => 'string', 'Categories.type' => 'string', 'type' => 'string', 'Categories__rank' => 'integer', 'Categories.rank' => 'integer', 'rank' => 'integer', 'Categories__created' => 'datetime', 'Categories.created' => 'datetime', 'Categories__modified' => 'datetime', 'Categories.modified' => 'datetime', 'RetrofileCategories__id' => 'integer', 'RetrofileCategories.id' => 'integer', 'RetrofileCategories__retrofile_id' => 'integer', 'RetrofileCategories.retrofile_id' => 'integer', 'retrofile_id' => 'integer', 'RetrofileCategories__category_id' => 'integer', 'RetrofileCategories.category_id' => 'integer', 'RetrofileCategories__created' => 'datetime', 'RetrofileCategories.created' => 'datetime', 'RetrofileCategories__modified' => 'datetime', 'RetrofileCategories.modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'Categories' => [[maximum depth reached]], 'RetrofileCategories' => [ [maximum depth reached] ] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\RetrofilesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ], ':c5' => [ [maximum depth reached] ], ':c6' => [ [maximum depth reached] ], ':c7' => [ [maximum depth reached] ], ':c8' => [ [maximum depth reached] ], ':c9' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 10 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::getIterator() - CORE/src/Datasource/QueryTrait.php, line 132 App\Controller\CategoriesController::view() - APP/Controller/CategoriesController.php, line 79
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'having' $sql = 'SELECT RetrofileCategories.id AS `RetrofileCategories__id`, RetrofileCategories.retrofile_id AS `RetrofileCategories__retrofile_id`, RetrofileCategories.category_id AS `RetrofileCategories__category_id`, RetrofileCategories.created AS `RetrofileCategories__created`, RetrofileCategories.modified AS `RetrofileCategories__modified`, Categories.id AS `Categories__id`, Categories.qname AS `Categories__qname`, Categories.name AS `Categories__name`, Categories.type AS `Categories__type`, Categories.rank AS `Categories__rank`, Categories.created AS `Categories__created`, Categories.modified AS `Categories__modified` FROM retrofile_categories RetrofileCategories INNER JOIN categories Categories ON Categories.id = (RetrofileCategories.category_id) WHERE RetrofileCategories.retrofile_id in (:c0,:c1,:c2,:c3,:c4,:c5,:c6,:c7,:c8)' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'RetrofileCategories__id' => 'integer', 'RetrofileCategories.id' => 'integer', 'id' => 'integer', 'RetrofileCategories__retrofile_id' => 'integer', 'RetrofileCategories.retrofile_id' => 'integer', 'retrofile_id' => 'integer', 'RetrofileCategories__category_id' => 'integer', 'RetrofileCategories.category_id' => 'integer', 'category_id' => 'integer', 'RetrofileCategories__created' => 'datetime', 'RetrofileCategories.created' => 'datetime', 'created' => 'datetime', 'RetrofileCategories__modified' => 'datetime', 'RetrofileCategories.modified' => 'datetime', 'modified' => 'datetime', 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'Categories__qname' => 'string', 'Categories.qname' => 'string', 'qname' => 'string', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__type' => 'string', 'Categories.type' => 'string', 'type' => 'string', 'Categories__rank' => 'integer', 'Categories.rank' => 'integer', 'rank' => 'integer', 'Categories__created' => 'datetime', 'Categories.created' => 'datetime', 'Categories__modified' => 'datetime', 'Categories.modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'Categories' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\RetrofileCategoriesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ], ':c5' => [ [maximum depth reached] ], ':c6' => [ [maximum depth reached] ], ':c7' => [ [maximum depth reached] ], ':c8' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 9 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Association\HasMany::_buildResultMap() - CORE/src/ORM/Association/ExternalAssociationTrait.php, line 116 Cake\ORM\Association\HasMany::eagerLoader() - CORE/src/ORM/Association/SelectableAssociationTrait.php, line 49
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'order' $sql = 'SELECT RetrofileCategories.id AS `RetrofileCategories__id`, RetrofileCategories.retrofile_id AS `RetrofileCategories__retrofile_id`, RetrofileCategories.category_id AS `RetrofileCategories__category_id`, RetrofileCategories.created AS `RetrofileCategories__created`, RetrofileCategories.modified AS `RetrofileCategories__modified`, Categories.id AS `Categories__id`, Categories.qname AS `Categories__qname`, Categories.name AS `Categories__name`, Categories.type AS `Categories__type`, Categories.rank AS `Categories__rank`, Categories.created AS `Categories__created`, Categories.modified AS `Categories__modified` FROM retrofile_categories RetrofileCategories INNER JOIN categories Categories ON Categories.id = (RetrofileCategories.category_id) WHERE RetrofileCategories.retrofile_id in (:c0,:c1,:c2,:c3,:c4,:c5,:c6,:c7,:c8)' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'RetrofileCategories__id' => 'integer', 'RetrofileCategories.id' => 'integer', 'id' => 'integer', 'RetrofileCategories__retrofile_id' => 'integer', 'RetrofileCategories.retrofile_id' => 'integer', 'retrofile_id' => 'integer', 'RetrofileCategories__category_id' => 'integer', 'RetrofileCategories.category_id' => 'integer', 'category_id' => 'integer', 'RetrofileCategories__created' => 'datetime', 'RetrofileCategories.created' => 'datetime', 'created' => 'datetime', 'RetrofileCategories__modified' => 'datetime', 'RetrofileCategories.modified' => 'datetime', 'modified' => 'datetime', 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'Categories__qname' => 'string', 'Categories.qname' => 'string', 'qname' => 'string', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__type' => 'string', 'Categories.type' => 'string', 'type' => 'string', 'Categories__rank' => 'integer', 'Categories.rank' => 'integer', 'rank' => 'integer', 'Categories__created' => 'datetime', 'Categories.created' => 'datetime', 'Categories__modified' => 'datetime', 'Categories.modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'Categories' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\RetrofileCategoriesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ], ':c5' => [ [maximum depth reached] ], ':c6' => [ [maximum depth reached] ], ':c7' => [ [maximum depth reached] ], ':c8' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 9 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Association\HasMany::_buildResultMap() - CORE/src/ORM/Association/ExternalAssociationTrait.php, line 116 Cake\ORM\Association\HasMany::eagerLoader() - CORE/src/ORM/Association/SelectableAssociationTrait.php, line 49
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'limit' $sql = 'SELECT RetrofileCategories.id AS `RetrofileCategories__id`, RetrofileCategories.retrofile_id AS `RetrofileCategories__retrofile_id`, RetrofileCategories.category_id AS `RetrofileCategories__category_id`, RetrofileCategories.created AS `RetrofileCategories__created`, RetrofileCategories.modified AS `RetrofileCategories__modified`, Categories.id AS `Categories__id`, Categories.qname AS `Categories__qname`, Categories.name AS `Categories__name`, Categories.type AS `Categories__type`, Categories.rank AS `Categories__rank`, Categories.created AS `Categories__created`, Categories.modified AS `Categories__modified` FROM retrofile_categories RetrofileCategories INNER JOIN categories Categories ON Categories.id = (RetrofileCategories.category_id) WHERE RetrofileCategories.retrofile_id in (:c0,:c1,:c2,:c3,:c4,:c5,:c6,:c7,:c8)' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'RetrofileCategories__id' => 'integer', 'RetrofileCategories.id' => 'integer', 'id' => 'integer', 'RetrofileCategories__retrofile_id' => 'integer', 'RetrofileCategories.retrofile_id' => 'integer', 'retrofile_id' => 'integer', 'RetrofileCategories__category_id' => 'integer', 'RetrofileCategories.category_id' => 'integer', 'category_id' => 'integer', 'RetrofileCategories__created' => 'datetime', 'RetrofileCategories.created' => 'datetime', 'created' => 'datetime', 'RetrofileCategories__modified' => 'datetime', 'RetrofileCategories.modified' => 'datetime', 'modified' => 'datetime', 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'Categories__qname' => 'string', 'Categories.qname' => 'string', 'qname' => 'string', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__type' => 'string', 'Categories.type' => 'string', 'type' => 'string', 'Categories__rank' => 'integer', 'Categories.rank' => 'integer', 'rank' => 'integer', 'Categories__created' => 'datetime', 'Categories.created' => 'datetime', 'Categories__modified' => 'datetime', 'Categories.modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'Categories' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\RetrofileCategoriesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ], ':c5' => [ [maximum depth reached] ], ':c6' => [ [maximum depth reached] ], ':c7' => [ [maximum depth reached] ], ':c8' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 9 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Association\HasMany::_buildResultMap() - CORE/src/ORM/Association/ExternalAssociationTrait.php, line 116 Cake\ORM\Association\HasMany::eagerLoader() - CORE/src/ORM/Association/SelectableAssociationTrait.php, line 49
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'offset' $sql = 'SELECT RetrofileCategories.id AS `RetrofileCategories__id`, RetrofileCategories.retrofile_id AS `RetrofileCategories__retrofile_id`, RetrofileCategories.category_id AS `RetrofileCategories__category_id`, RetrofileCategories.created AS `RetrofileCategories__created`, RetrofileCategories.modified AS `RetrofileCategories__modified`, Categories.id AS `Categories__id`, Categories.qname AS `Categories__qname`, Categories.name AS `Categories__name`, Categories.type AS `Categories__type`, Categories.rank AS `Categories__rank`, Categories.created AS `Categories__created`, Categories.modified AS `Categories__modified` FROM retrofile_categories RetrofileCategories INNER JOIN categories Categories ON Categories.id = (RetrofileCategories.category_id) WHERE RetrofileCategories.retrofile_id in (:c0,:c1,:c2,:c3,:c4,:c5,:c6,:c7,:c8)' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'RetrofileCategories__id' => 'integer', 'RetrofileCategories.id' => 'integer', 'id' => 'integer', 'RetrofileCategories__retrofile_id' => 'integer', 'RetrofileCategories.retrofile_id' => 'integer', 'retrofile_id' => 'integer', 'RetrofileCategories__category_id' => 'integer', 'RetrofileCategories.category_id' => 'integer', 'category_id' => 'integer', 'RetrofileCategories__created' => 'datetime', 'RetrofileCategories.created' => 'datetime', 'created' => 'datetime', 'RetrofileCategories__modified' => 'datetime', 'RetrofileCategories.modified' => 'datetime', 'modified' => 'datetime', 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'Categories__qname' => 'string', 'Categories.qname' => 'string', 'qname' => 'string', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__type' => 'string', 'Categories.type' => 'string', 'type' => 'string', 'Categories__rank' => 'integer', 'Categories.rank' => 'integer', 'rank' => 'integer', 'Categories__created' => 'datetime', 'Categories.created' => 'datetime', 'Categories__modified' => 'datetime', 'Categories.modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'Categories' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\RetrofileCategoriesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ], ':c5' => [ [maximum depth reached] ], ':c6' => [ [maximum depth reached] ], ':c7' => [ [maximum depth reached] ], ':c8' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 9 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Association\HasMany::_buildResultMap() - CORE/src/ORM/Association/ExternalAssociationTrait.php, line 116 Cake\ORM\Association\HasMany::eagerLoader() - CORE/src/ORM/Association/SelectableAssociationTrait.php, line 49
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'epilog' $sql = 'SELECT RetrofileCategories.id AS `RetrofileCategories__id`, RetrofileCategories.retrofile_id AS `RetrofileCategories__retrofile_id`, RetrofileCategories.category_id AS `RetrofileCategories__category_id`, RetrofileCategories.created AS `RetrofileCategories__created`, RetrofileCategories.modified AS `RetrofileCategories__modified`, Categories.id AS `Categories__id`, Categories.qname AS `Categories__qname`, Categories.name AS `Categories__name`, Categories.type AS `Categories__type`, Categories.rank AS `Categories__rank`, Categories.created AS `Categories__created`, Categories.modified AS `Categories__modified` FROM retrofile_categories RetrofileCategories INNER JOIN categories Categories ON Categories.id = (RetrofileCategories.category_id) WHERE RetrofileCategories.retrofile_id in (:c0,:c1,:c2,:c3,:c4,:c5,:c6,:c7,:c8)' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'RetrofileCategories__id' => 'integer', 'RetrofileCategories.id' => 'integer', 'id' => 'integer', 'RetrofileCategories__retrofile_id' => 'integer', 'RetrofileCategories.retrofile_id' => 'integer', 'retrofile_id' => 'integer', 'RetrofileCategories__category_id' => 'integer', 'RetrofileCategories.category_id' => 'integer', 'category_id' => 'integer', 'RetrofileCategories__created' => 'datetime', 'RetrofileCategories.created' => 'datetime', 'created' => 'datetime', 'RetrofileCategories__modified' => 'datetime', 'RetrofileCategories.modified' => 'datetime', 'modified' => 'datetime', 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'Categories__qname' => 'string', 'Categories.qname' => 'string', 'qname' => 'string', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__type' => 'string', 'Categories.type' => 'string', 'type' => 'string', 'Categories__rank' => 'integer', 'Categories.rank' => 'integer', 'rank' => 'integer', 'Categories__created' => 'datetime', 'Categories.created' => 'datetime', 'Categories__modified' => 'datetime', 'Categories.modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'Categories' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\RetrofileCategoriesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ], ':c5' => [ [maximum depth reached] ], ':c6' => [ [maximum depth reached] ], ':c7' => [ [maximum depth reached] ], ':c8' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 9 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Association\HasMany::_buildResultMap() - CORE/src/ORM/Association/ExternalAssociationTrait.php, line 116 Cake\ORM\Association\HasMany::eagerLoader() - CORE/src/ORM/Association/SelectableAssociationTrait.php, line 49
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'having' $sql = 'SELECT ArticleCategories.id AS `ArticleCategories__id`, ArticleCategories.article_id AS `ArticleCategories__article_id`, ArticleCategories.category_id AS `ArticleCategories__category_id`, ArticleCategories.created AS `ArticleCategories__created`, ArticleCategories.modified AS `ArticleCategories__modified`, Articles.id AS `Articles__id`, Articles.title AS `Articles__title`, Articles.year AS `Articles__year`, Articles.month AS `Articles__month`, Articles.tag AS `Articles__tag`, Articles.source AS `Articles__source`, Articles.summary AS `Articles__summary`, Articles.description AS `Articles__description`, Articles.highlight AS `Articles__highlight`, Articles.ephemeris AS `Articles__ephemeris`, Articles.published AS `Articles__published`, Articles.zip_clicks AS `Articles__zip_clicks`, Articles.created AS `Articles__created`, Articles.modified AS `Articles__modified`, Categories.id AS `Categories__id`, Categories.qname AS `Categories__qname`, Categories.name AS `Categories__name`, Categories.type AS `Categories__type`, Categories.rank AS `Categories__rank`, Categories.created AS `Categories__created`, Categories.modified AS `Categories__modified` FROM article_categories ArticleCategories INNER JOIN articles Articles ON Articles.id = (ArticleCategories.article_id) INNER JOIN categories Categories ON Categories.id = (ArticleCategories.category_id) WHERE Categories.qname = :c0' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'ArticleCategories__id' => 'integer', 'ArticleCategories.id' => 'integer', 'id' => 'integer', 'ArticleCategories__article_id' => 'integer', 'ArticleCategories.article_id' => 'integer', 'article_id' => 'integer', 'ArticleCategories__category_id' => 'integer', 'ArticleCategories.category_id' => 'integer', 'category_id' => 'integer', 'ArticleCategories__created' => 'datetime', 'ArticleCategories.created' => 'datetime', 'created' => 'datetime', 'ArticleCategories__modified' => 'datetime', 'ArticleCategories.modified' => 'datetime', 'modified' => 'datetime', 'Articles__id' => 'integer', 'Articles.id' => 'integer', 'Articles__title' => 'string', 'Articles.title' => 'string', 'title' => 'string', 'Articles__year' => 'string', 'Articles.year' => 'string', 'year' => 'string', 'Articles__month' => 'string', 'Articles.month' => 'string', 'month' => 'string', 'Articles__tag' => 'string', 'Articles.tag' => 'string', 'tag' => 'string', 'Articles__source' => 'string', 'Articles.source' => 'string', 'source' => 'string', 'Articles__summary' => 'text', 'Articles.summary' => 'text', 'summary' => 'text', 'Articles__description' => 'text', 'Articles.description' => 'text', 'description' => 'text', 'Articles__highlight' => 'boolean', 'Articles.highlight' => 'boolean', 'highlight' => 'boolean', 'Articles__ephemeris' => 'boolean', 'Articles.ephemeris' => 'boolean', 'ephemeris' => 'boolean', 'Articles__published' => 'boolean', 'Articles.published' => 'boolean', 'published' => 'boolean', 'Articles__zip_clicks' => 'integer', 'Articles.zip_clicks' => 'integer', 'zip_clicks' => 'integer', 'Articles__created' => 'datetime', 'Articles.created' => 'datetime', 'Articles__modified' => 'datetime', 'Articles.modified' => 'datetime', 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'Categories__qname' => 'string', 'Categories.qname' => 'string', 'qname' => 'string', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__type' => 'string', 'Categories.type' => 'string', 'type' => 'string', 'Categories__rank' => 'integer', 'Categories.rank' => 'integer', 'rank' => 'integer', 'Categories__created' => 'datetime', 'Categories.created' => 'datetime', 'Categories__modified' => 'datetime', 'Categories.modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'Articles' => [[maximum depth reached]], 'Categories' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\ArticleCategoriesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 1 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::getIterator() - CORE/src/Datasource/QueryTrait.php, line 132 App\Controller\CategoriesController::view() - APP/Controller/CategoriesController.php, line 124
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'limit' $sql = 'SELECT ArticleCategories.id AS `ArticleCategories__id`, ArticleCategories.article_id AS `ArticleCategories__article_id`, ArticleCategories.category_id AS `ArticleCategories__category_id`, ArticleCategories.created AS `ArticleCategories__created`, ArticleCategories.modified AS `ArticleCategories__modified`, Articles.id AS `Articles__id`, Articles.title AS `Articles__title`, Articles.year AS `Articles__year`, Articles.month AS `Articles__month`, Articles.tag AS `Articles__tag`, Articles.source AS `Articles__source`, Articles.summary AS `Articles__summary`, Articles.description AS `Articles__description`, Articles.highlight AS `Articles__highlight`, Articles.ephemeris AS `Articles__ephemeris`, Articles.published AS `Articles__published`, Articles.zip_clicks AS `Articles__zip_clicks`, Articles.created AS `Articles__created`, Articles.modified AS `Articles__modified`, Categories.id AS `Categories__id`, Categories.qname AS `Categories__qname`, Categories.name AS `Categories__name`, Categories.type AS `Categories__type`, Categories.rank AS `Categories__rank`, Categories.created AS `Categories__created`, Categories.modified AS `Categories__modified` FROM article_categories ArticleCategories INNER JOIN articles Articles ON Articles.id = (ArticleCategories.article_id) INNER JOIN categories Categories ON Categories.id = (ArticleCategories.category_id) WHERE Categories.qname = :c0 ORDER BY Articles.modified DESC' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'ArticleCategories__id' => 'integer', 'ArticleCategories.id' => 'integer', 'id' => 'integer', 'ArticleCategories__article_id' => 'integer', 'ArticleCategories.article_id' => 'integer', 'article_id' => 'integer', 'ArticleCategories__category_id' => 'integer', 'ArticleCategories.category_id' => 'integer', 'category_id' => 'integer', 'ArticleCategories__created' => 'datetime', 'ArticleCategories.created' => 'datetime', 'created' => 'datetime', 'ArticleCategories__modified' => 'datetime', 'ArticleCategories.modified' => 'datetime', 'modified' => 'datetime', 'Articles__id' => 'integer', 'Articles.id' => 'integer', 'Articles__title' => 'string', 'Articles.title' => 'string', 'title' => 'string', 'Articles__year' => 'string', 'Articles.year' => 'string', 'year' => 'string', 'Articles__month' => 'string', 'Articles.month' => 'string', 'month' => 'string', 'Articles__tag' => 'string', 'Articles.tag' => 'string', 'tag' => 'string', 'Articles__source' => 'string', 'Articles.source' => 'string', 'source' => 'string', 'Articles__summary' => 'text', 'Articles.summary' => 'text', 'summary' => 'text', 'Articles__description' => 'text', 'Articles.description' => 'text', 'description' => 'text', 'Articles__highlight' => 'boolean', 'Articles.highlight' => 'boolean', 'highlight' => 'boolean', 'Articles__ephemeris' => 'boolean', 'Articles.ephemeris' => 'boolean', 'ephemeris' => 'boolean', 'Articles__published' => 'boolean', 'Articles.published' => 'boolean', 'published' => 'boolean', 'Articles__zip_clicks' => 'integer', 'Articles.zip_clicks' => 'integer', 'zip_clicks' => 'integer', 'Articles__created' => 'datetime', 'Articles.created' => 'datetime', 'Articles__modified' => 'datetime', 'Articles.modified' => 'datetime', 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'Categories__qname' => 'string', 'Categories.qname' => 'string', 'qname' => 'string', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__type' => 'string', 'Categories.type' => 'string', 'type' => 'string', 'Categories__rank' => 'integer', 'Categories.rank' => 'integer', 'rank' => 'integer', 'Categories__created' => 'datetime', 'Categories.created' => 'datetime', 'Categories__modified' => 'datetime', 'Categories.modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'Articles' => [[maximum depth reached]], 'Categories' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\ArticleCategoriesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 1 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::getIterator() - CORE/src/Datasource/QueryTrait.php, line 132 App\Controller\CategoriesController::view() - APP/Controller/CategoriesController.php, line 124
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'offset' $sql = 'SELECT ArticleCategories.id AS `ArticleCategories__id`, ArticleCategories.article_id AS `ArticleCategories__article_id`, ArticleCategories.category_id AS `ArticleCategories__category_id`, ArticleCategories.created AS `ArticleCategories__created`, ArticleCategories.modified AS `ArticleCategories__modified`, Articles.id AS `Articles__id`, Articles.title AS `Articles__title`, Articles.year AS `Articles__year`, Articles.month AS `Articles__month`, Articles.tag AS `Articles__tag`, Articles.source AS `Articles__source`, Articles.summary AS `Articles__summary`, Articles.description AS `Articles__description`, Articles.highlight AS `Articles__highlight`, Articles.ephemeris AS `Articles__ephemeris`, Articles.published AS `Articles__published`, Articles.zip_clicks AS `Articles__zip_clicks`, Articles.created AS `Articles__created`, Articles.modified AS `Articles__modified`, Categories.id AS `Categories__id`, Categories.qname AS `Categories__qname`, Categories.name AS `Categories__name`, Categories.type AS `Categories__type`, Categories.rank AS `Categories__rank`, Categories.created AS `Categories__created`, Categories.modified AS `Categories__modified` FROM article_categories ArticleCategories INNER JOIN articles Articles ON Articles.id = (ArticleCategories.article_id) INNER JOIN categories Categories ON Categories.id = (ArticleCategories.category_id) WHERE Categories.qname = :c0 ORDER BY Articles.modified DESC' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'ArticleCategories__id' => 'integer', 'ArticleCategories.id' => 'integer', 'id' => 'integer', 'ArticleCategories__article_id' => 'integer', 'ArticleCategories.article_id' => 'integer', 'article_id' => 'integer', 'ArticleCategories__category_id' => 'integer', 'ArticleCategories.category_id' => 'integer', 'category_id' => 'integer', 'ArticleCategories__created' => 'datetime', 'ArticleCategories.created' => 'datetime', 'created' => 'datetime', 'ArticleCategories__modified' => 'datetime', 'ArticleCategories.modified' => 'datetime', 'modified' => 'datetime', 'Articles__id' => 'integer', 'Articles.id' => 'integer', 'Articles__title' => 'string', 'Articles.title' => 'string', 'title' => 'string', 'Articles__year' => 'string', 'Articles.year' => 'string', 'year' => 'string', 'Articles__month' => 'string', 'Articles.month' => 'string', 'month' => 'string', 'Articles__tag' => 'string', 'Articles.tag' => 'string', 'tag' => 'string', 'Articles__source' => 'string', 'Articles.source' => 'string', 'source' => 'string', 'Articles__summary' => 'text', 'Articles.summary' => 'text', 'summary' => 'text', 'Articles__description' => 'text', 'Articles.description' => 'text', 'description' => 'text', 'Articles__highlight' => 'boolean', 'Articles.highlight' => 'boolean', 'highlight' => 'boolean', 'Articles__ephemeris' => 'boolean', 'Articles.ephemeris' => 'boolean', 'ephemeris' => 'boolean', 'Articles__published' => 'boolean', 'Articles.published' => 'boolean', 'published' => 'boolean', 'Articles__zip_clicks' => 'integer', 'Articles.zip_clicks' => 'integer', 'zip_clicks' => 'integer', 'Articles__created' => 'datetime', 'Articles.created' => 'datetime', 'Articles__modified' => 'datetime', 'Articles.modified' => 'datetime', 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'Categories__qname' => 'string', 'Categories.qname' => 'string', 'qname' => 'string', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__type' => 'string', 'Categories.type' => 'string', 'type' => 'string', 'Categories__rank' => 'integer', 'Categories.rank' => 'integer', 'rank' => 'integer', 'Categories__created' => 'datetime', 'Categories.created' => 'datetime', 'Categories__modified' => 'datetime', 'Categories.modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'Articles' => [[maximum depth reached]], 'Categories' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\ArticleCategoriesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 1 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::getIterator() - CORE/src/Datasource/QueryTrait.php, line 132 App\Controller\CategoriesController::view() - APP/Controller/CategoriesController.php, line 124
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'epilog' $sql = 'SELECT ArticleCategories.id AS `ArticleCategories__id`, ArticleCategories.article_id AS `ArticleCategories__article_id`, ArticleCategories.category_id AS `ArticleCategories__category_id`, ArticleCategories.created AS `ArticleCategories__created`, ArticleCategories.modified AS `ArticleCategories__modified`, Articles.id AS `Articles__id`, Articles.title AS `Articles__title`, Articles.year AS `Articles__year`, Articles.month AS `Articles__month`, Articles.tag AS `Articles__tag`, Articles.source AS `Articles__source`, Articles.summary AS `Articles__summary`, Articles.description AS `Articles__description`, Articles.highlight AS `Articles__highlight`, Articles.ephemeris AS `Articles__ephemeris`, Articles.published AS `Articles__published`, Articles.zip_clicks AS `Articles__zip_clicks`, Articles.created AS `Articles__created`, Articles.modified AS `Articles__modified`, Categories.id AS `Categories__id`, Categories.qname AS `Categories__qname`, Categories.name AS `Categories__name`, Categories.type AS `Categories__type`, Categories.rank AS `Categories__rank`, Categories.created AS `Categories__created`, Categories.modified AS `Categories__modified` FROM article_categories ArticleCategories INNER JOIN articles Articles ON Articles.id = (ArticleCategories.article_id) INNER JOIN categories Categories ON Categories.id = (ArticleCategories.category_id) WHERE Categories.qname = :c0 ORDER BY Articles.modified DESC' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'ArticleCategories__id' => 'integer', 'ArticleCategories.id' => 'integer', 'id' => 'integer', 'ArticleCategories__article_id' => 'integer', 'ArticleCategories.article_id' => 'integer', 'article_id' => 'integer', 'ArticleCategories__category_id' => 'integer', 'ArticleCategories.category_id' => 'integer', 'category_id' => 'integer', 'ArticleCategories__created' => 'datetime', 'ArticleCategories.created' => 'datetime', 'created' => 'datetime', 'ArticleCategories__modified' => 'datetime', 'ArticleCategories.modified' => 'datetime', 'modified' => 'datetime', 'Articles__id' => 'integer', 'Articles.id' => 'integer', 'Articles__title' => 'string', 'Articles.title' => 'string', 'title' => 'string', 'Articles__year' => 'string', 'Articles.year' => 'string', 'year' => 'string', 'Articles__month' => 'string', 'Articles.month' => 'string', 'month' => 'string', 'Articles__tag' => 'string', 'Articles.tag' => 'string', 'tag' => 'string', 'Articles__source' => 'string', 'Articles.source' => 'string', 'source' => 'string', 'Articles__summary' => 'text', 'Articles.summary' => 'text', 'summary' => 'text', 'Articles__description' => 'text', 'Articles.description' => 'text', 'description' => 'text', 'Articles__highlight' => 'boolean', 'Articles.highlight' => 'boolean', 'highlight' => 'boolean', 'Articles__ephemeris' => 'boolean', 'Articles.ephemeris' => 'boolean', 'ephemeris' => 'boolean', 'Articles__published' => 'boolean', 'Articles.published' => 'boolean', 'published' => 'boolean', 'Articles__zip_clicks' => 'integer', 'Articles.zip_clicks' => 'integer', 'zip_clicks' => 'integer', 'Articles__created' => 'datetime', 'Articles.created' => 'datetime', 'Articles__modified' => 'datetime', 'Articles.modified' => 'datetime', 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'Categories__qname' => 'string', 'Categories.qname' => 'string', 'qname' => 'string', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__type' => 'string', 'Categories.type' => 'string', 'type' => 'string', 'Categories__rank' => 'integer', 'Categories.rank' => 'integer', 'rank' => 'integer', 'Categories__created' => 'datetime', 'Categories.created' => 'datetime', 'Categories__modified' => 'datetime', 'Categories.modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'Articles' => [[maximum depth reached]], 'Categories' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\ArticleCategoriesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 1 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::getIterator() - CORE/src/Datasource/QueryTrait.php, line 132 App\Controller\CategoriesController::view() - APP/Controller/CategoriesController.php, line 124
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'having' $sql = 'SELECT Articles.id AS `Articles__id`, Articles.title AS `Articles__title`, Articles.year AS `Articles__year`, Articles.month AS `Articles__month`, Articles.tag AS `Articles__tag`, Articles.source AS `Articles__source`, Articles.summary AS `Articles__summary`, Articles.description AS `Articles__description`, Articles.highlight AS `Articles__highlight`, Articles.ephemeris AS `Articles__ephemeris`, Articles.published AS `Articles__published`, Articles.zip_clicks AS `Articles__zip_clicks`, Articles.created AS `Articles__created`, Articles.modified AS `Articles__modified` FROM articles Articles WHERE (Articles.published = :c0 AND Articles.id in (:c1,:c2,:c3,:c4,:c5,:c6))' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Articles__id' => 'integer', 'Articles.id' => 'integer', 'id' => 'integer', 'Articles__title' => 'string', 'Articles.title' => 'string', 'title' => 'string', 'Articles__year' => 'string', 'Articles.year' => 'string', 'year' => 'string', 'Articles__month' => 'string', 'Articles.month' => 'string', 'month' => 'string', 'Articles__tag' => 'string', 'Articles.tag' => 'string', 'tag' => 'string', 'Articles__source' => 'string', 'Articles.source' => 'string', 'source' => 'string', 'Articles__summary' => 'text', 'Articles.summary' => 'text', 'summary' => 'text', 'Articles__description' => 'text', 'Articles.description' => 'text', 'description' => 'text', 'Articles__highlight' => 'boolean', 'Articles.highlight' => 'boolean', 'highlight' => 'boolean', 'Articles__ephemeris' => 'boolean', 'Articles.ephemeris' => 'boolean', 'ephemeris' => 'boolean', 'Articles__published' => 'boolean', 'Articles.published' => 'boolean', 'published' => 'boolean', 'Articles__zip_clicks' => 'integer', 'Articles.zip_clicks' => 'integer', 'zip_clicks' => 'integer', 'Articles__created' => 'datetime', 'Articles.created' => 'datetime', 'created' => 'datetime', 'Articles__modified' => 'datetime', 'Articles.modified' => 'datetime', 'modified' => 'datetime', 'ArticleCategories__id' => 'integer', 'ArticleCategories.id' => 'integer', 'ArticleCategories__article_id' => 'integer', 'ArticleCategories.article_id' => 'integer', 'article_id' => 'integer', 'ArticleCategories__category_id' => 'integer', 'ArticleCategories.category_id' => 'integer', 'category_id' => 'integer', 'ArticleCategories__created' => 'datetime', 'ArticleCategories.created' => 'datetime', 'ArticleCategories__modified' => 'datetime', 'ArticleCategories.modified' => 'datetime', 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'Categories__qname' => 'string', 'Categories.qname' => 'string', 'qname' => 'string', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__type' => 'string', 'Categories.type' => 'string', 'type' => 'string', 'Categories__rank' => 'integer', 'Categories.rank' => 'integer', 'rank' => 'integer', 'Categories__created' => 'datetime', 'Categories.created' => 'datetime', 'Categories__modified' => 'datetime', 'Categories.modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'ArticleCategories' => [ [maximum depth reached] ] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\ArticlesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ], ':c5' => [ [maximum depth reached] ], ':c6' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 7 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::getIterator() - CORE/src/Datasource/QueryTrait.php, line 132 App\Controller\CategoriesController::view() - APP/Controller/CategoriesController.php, line 142
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'limit' $sql = 'SELECT Articles.id AS `Articles__id`, Articles.title AS `Articles__title`, Articles.year AS `Articles__year`, Articles.month AS `Articles__month`, Articles.tag AS `Articles__tag`, Articles.source AS `Articles__source`, Articles.summary AS `Articles__summary`, Articles.description AS `Articles__description`, Articles.highlight AS `Articles__highlight`, Articles.ephemeris AS `Articles__ephemeris`, Articles.published AS `Articles__published`, Articles.zip_clicks AS `Articles__zip_clicks`, Articles.created AS `Articles__created`, Articles.modified AS `Articles__modified` FROM articles Articles WHERE (Articles.published = :c0 AND Articles.id in (:c1,:c2,:c3,:c4,:c5,:c6)) ORDER BY Articles.modified DESC' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Articles__id' => 'integer', 'Articles.id' => 'integer', 'id' => 'integer', 'Articles__title' => 'string', 'Articles.title' => 'string', 'title' => 'string', 'Articles__year' => 'string', 'Articles.year' => 'string', 'year' => 'string', 'Articles__month' => 'string', 'Articles.month' => 'string', 'month' => 'string', 'Articles__tag' => 'string', 'Articles.tag' => 'string', 'tag' => 'string', 'Articles__source' => 'string', 'Articles.source' => 'string', 'source' => 'string', 'Articles__summary' => 'text', 'Articles.summary' => 'text', 'summary' => 'text', 'Articles__description' => 'text', 'Articles.description' => 'text', 'description' => 'text', 'Articles__highlight' => 'boolean', 'Articles.highlight' => 'boolean', 'highlight' => 'boolean', 'Articles__ephemeris' => 'boolean', 'Articles.ephemeris' => 'boolean', 'ephemeris' => 'boolean', 'Articles__published' => 'boolean', 'Articles.published' => 'boolean', 'published' => 'boolean', 'Articles__zip_clicks' => 'integer', 'Articles.zip_clicks' => 'integer', 'zip_clicks' => 'integer', 'Articles__created' => 'datetime', 'Articles.created' => 'datetime', 'created' => 'datetime', 'Articles__modified' => 'datetime', 'Articles.modified' => 'datetime', 'modified' => 'datetime', 'ArticleCategories__id' => 'integer', 'ArticleCategories.id' => 'integer', 'ArticleCategories__article_id' => 'integer', 'ArticleCategories.article_id' => 'integer', 'article_id' => 'integer', 'ArticleCategories__category_id' => 'integer', 'ArticleCategories.category_id' => 'integer', 'category_id' => 'integer', 'ArticleCategories__created' => 'datetime', 'ArticleCategories.created' => 'datetime', 'ArticleCategories__modified' => 'datetime', 'ArticleCategories.modified' => 'datetime', 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'Categories__qname' => 'string', 'Categories.qname' => 'string', 'qname' => 'string', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__type' => 'string', 'Categories.type' => 'string', 'type' => 'string', 'Categories__rank' => 'integer', 'Categories.rank' => 'integer', 'rank' => 'integer', 'Categories__created' => 'datetime', 'Categories.created' => 'datetime', 'Categories__modified' => 'datetime', 'Categories.modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'ArticleCategories' => [ [maximum depth reached] ] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\ArticlesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ], ':c5' => [ [maximum depth reached] ], ':c6' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 7 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::getIterator() - CORE/src/Datasource/QueryTrait.php, line 132 App\Controller\CategoriesController::view() - APP/Controller/CategoriesController.php, line 142
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'offset' $sql = 'SELECT Articles.id AS `Articles__id`, Articles.title AS `Articles__title`, Articles.year AS `Articles__year`, Articles.month AS `Articles__month`, Articles.tag AS `Articles__tag`, Articles.source AS `Articles__source`, Articles.summary AS `Articles__summary`, Articles.description AS `Articles__description`, Articles.highlight AS `Articles__highlight`, Articles.ephemeris AS `Articles__ephemeris`, Articles.published AS `Articles__published`, Articles.zip_clicks AS `Articles__zip_clicks`, Articles.created AS `Articles__created`, Articles.modified AS `Articles__modified` FROM articles Articles WHERE (Articles.published = :c0 AND Articles.id in (:c1,:c2,:c3,:c4,:c5,:c6)) ORDER BY Articles.modified DESC' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Articles__id' => 'integer', 'Articles.id' => 'integer', 'id' => 'integer', 'Articles__title' => 'string', 'Articles.title' => 'string', 'title' => 'string', 'Articles__year' => 'string', 'Articles.year' => 'string', 'year' => 'string', 'Articles__month' => 'string', 'Articles.month' => 'string', 'month' => 'string', 'Articles__tag' => 'string', 'Articles.tag' => 'string', 'tag' => 'string', 'Articles__source' => 'string', 'Articles.source' => 'string', 'source' => 'string', 'Articles__summary' => 'text', 'Articles.summary' => 'text', 'summary' => 'text', 'Articles__description' => 'text', 'Articles.description' => 'text', 'description' => 'text', 'Articles__highlight' => 'boolean', 'Articles.highlight' => 'boolean', 'highlight' => 'boolean', 'Articles__ephemeris' => 'boolean', 'Articles.ephemeris' => 'boolean', 'ephemeris' => 'boolean', 'Articles__published' => 'boolean', 'Articles.published' => 'boolean', 'published' => 'boolean', 'Articles__zip_clicks' => 'integer', 'Articles.zip_clicks' => 'integer', 'zip_clicks' => 'integer', 'Articles__created' => 'datetime', 'Articles.created' => 'datetime', 'created' => 'datetime', 'Articles__modified' => 'datetime', 'Articles.modified' => 'datetime', 'modified' => 'datetime', 'ArticleCategories__id' => 'integer', 'ArticleCategories.id' => 'integer', 'ArticleCategories__article_id' => 'integer', 'ArticleCategories.article_id' => 'integer', 'article_id' => 'integer', 'ArticleCategories__category_id' => 'integer', 'ArticleCategories.category_id' => 'integer', 'category_id' => 'integer', 'ArticleCategories__created' => 'datetime', 'ArticleCategories.created' => 'datetime', 'ArticleCategories__modified' => 'datetime', 'ArticleCategories.modified' => 'datetime', 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'Categories__qname' => 'string', 'Categories.qname' => 'string', 'qname' => 'string', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__type' => 'string', 'Categories.type' => 'string', 'type' => 'string', 'Categories__rank' => 'integer', 'Categories.rank' => 'integer', 'rank' => 'integer', 'Categories__created' => 'datetime', 'Categories.created' => 'datetime', 'Categories__modified' => 'datetime', 'Categories.modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'ArticleCategories' => [ [maximum depth reached] ] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\ArticlesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ], ':c5' => [ [maximum depth reached] ], ':c6' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 7 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::getIterator() - CORE/src/Datasource/QueryTrait.php, line 132 App\Controller\CategoriesController::view() - APP/Controller/CategoriesController.php, line 142
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'epilog' $sql = 'SELECT Articles.id AS `Articles__id`, Articles.title AS `Articles__title`, Articles.year AS `Articles__year`, Articles.month AS `Articles__month`, Articles.tag AS `Articles__tag`, Articles.source AS `Articles__source`, Articles.summary AS `Articles__summary`, Articles.description AS `Articles__description`, Articles.highlight AS `Articles__highlight`, Articles.ephemeris AS `Articles__ephemeris`, Articles.published AS `Articles__published`, Articles.zip_clicks AS `Articles__zip_clicks`, Articles.created AS `Articles__created`, Articles.modified AS `Articles__modified` FROM articles Articles WHERE (Articles.published = :c0 AND Articles.id in (:c1,:c2,:c3,:c4,:c5,:c6)) ORDER BY Articles.modified DESC' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'Articles__id' => 'integer', 'Articles.id' => 'integer', 'id' => 'integer', 'Articles__title' => 'string', 'Articles.title' => 'string', 'title' => 'string', 'Articles__year' => 'string', 'Articles.year' => 'string', 'year' => 'string', 'Articles__month' => 'string', 'Articles.month' => 'string', 'month' => 'string', 'Articles__tag' => 'string', 'Articles.tag' => 'string', 'tag' => 'string', 'Articles__source' => 'string', 'Articles.source' => 'string', 'source' => 'string', 'Articles__summary' => 'text', 'Articles.summary' => 'text', 'summary' => 'text', 'Articles__description' => 'text', 'Articles.description' => 'text', 'description' => 'text', 'Articles__highlight' => 'boolean', 'Articles.highlight' => 'boolean', 'highlight' => 'boolean', 'Articles__ephemeris' => 'boolean', 'Articles.ephemeris' => 'boolean', 'ephemeris' => 'boolean', 'Articles__published' => 'boolean', 'Articles.published' => 'boolean', 'published' => 'boolean', 'Articles__zip_clicks' => 'integer', 'Articles.zip_clicks' => 'integer', 'zip_clicks' => 'integer', 'Articles__created' => 'datetime', 'Articles.created' => 'datetime', 'created' => 'datetime', 'Articles__modified' => 'datetime', 'Articles.modified' => 'datetime', 'modified' => 'datetime', 'ArticleCategories__id' => 'integer', 'ArticleCategories.id' => 'integer', 'ArticleCategories__article_id' => 'integer', 'ArticleCategories.article_id' => 'integer', 'article_id' => 'integer', 'ArticleCategories__category_id' => 'integer', 'ArticleCategories.category_id' => 'integer', 'category_id' => 'integer', 'ArticleCategories__created' => 'datetime', 'ArticleCategories.created' => 'datetime', 'ArticleCategories__modified' => 'datetime', 'ArticleCategories.modified' => 'datetime', 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'Categories__qname' => 'string', 'Categories.qname' => 'string', 'qname' => 'string', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__type' => 'string', 'Categories.type' => 'string', 'type' => 'string', 'Categories__rank' => 'integer', 'Categories.rank' => 'integer', 'rank' => 'integer', 'Categories__created' => 'datetime', 'Categories.created' => 'datetime', 'Categories__modified' => 'datetime', 'Categories.modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'ArticleCategories' => [ [maximum depth reached] ] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\ArticlesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ], ':c5' => [ [maximum depth reached] ], ':c6' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 7 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Query::getIterator() - CORE/src/Datasource/QueryTrait.php, line 132 App\Controller\CategoriesController::view() - APP/Controller/CategoriesController.php, line 142
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'having' $sql = 'SELECT ArticleCategories.id AS `ArticleCategories__id`, ArticleCategories.article_id AS `ArticleCategories__article_id`, ArticleCategories.category_id AS `ArticleCategories__category_id`, ArticleCategories.created AS `ArticleCategories__created`, ArticleCategories.modified AS `ArticleCategories__modified`, Categories.id AS `Categories__id`, Categories.qname AS `Categories__qname`, Categories.name AS `Categories__name`, Categories.type AS `Categories__type`, Categories.rank AS `Categories__rank`, Categories.created AS `Categories__created`, Categories.modified AS `Categories__modified` FROM article_categories ArticleCategories INNER JOIN categories Categories ON Categories.id = (ArticleCategories.category_id) WHERE ArticleCategories.article_id in (:c0,:c1,:c2,:c3,:c4,:c5)' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'ArticleCategories__id' => 'integer', 'ArticleCategories.id' => 'integer', 'id' => 'integer', 'ArticleCategories__article_id' => 'integer', 'ArticleCategories.article_id' => 'integer', 'article_id' => 'integer', 'ArticleCategories__category_id' => 'integer', 'ArticleCategories.category_id' => 'integer', 'category_id' => 'integer', 'ArticleCategories__created' => 'datetime', 'ArticleCategories.created' => 'datetime', 'created' => 'datetime', 'ArticleCategories__modified' => 'datetime', 'ArticleCategories.modified' => 'datetime', 'modified' => 'datetime', 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'Categories__qname' => 'string', 'Categories.qname' => 'string', 'qname' => 'string', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__type' => 'string', 'Categories.type' => 'string', 'type' => 'string', 'Categories__rank' => 'integer', 'Categories.rank' => 'integer', 'rank' => 'integer', 'Categories__created' => 'datetime', 'Categories.created' => 'datetime', 'Categories__modified' => 'datetime', 'Categories.modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'Categories' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\ArticleCategoriesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ], ':c5' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 6 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Association\HasMany::_buildResultMap() - CORE/src/ORM/Association/ExternalAssociationTrait.php, line 116 Cake\ORM\Association\HasMany::eagerLoader() - CORE/src/ORM/Association/SelectableAssociationTrait.php, line 49
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'order' $sql = 'SELECT ArticleCategories.id AS `ArticleCategories__id`, ArticleCategories.article_id AS `ArticleCategories__article_id`, ArticleCategories.category_id AS `ArticleCategories__category_id`, ArticleCategories.created AS `ArticleCategories__created`, ArticleCategories.modified AS `ArticleCategories__modified`, Categories.id AS `Categories__id`, Categories.qname AS `Categories__qname`, Categories.name AS `Categories__name`, Categories.type AS `Categories__type`, Categories.rank AS `Categories__rank`, Categories.created AS `Categories__created`, Categories.modified AS `Categories__modified` FROM article_categories ArticleCategories INNER JOIN categories Categories ON Categories.id = (ArticleCategories.category_id) WHERE ArticleCategories.article_id in (:c0,:c1,:c2,:c3,:c4,:c5)' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'ArticleCategories__id' => 'integer', 'ArticleCategories.id' => 'integer', 'id' => 'integer', 'ArticleCategories__article_id' => 'integer', 'ArticleCategories.article_id' => 'integer', 'article_id' => 'integer', 'ArticleCategories__category_id' => 'integer', 'ArticleCategories.category_id' => 'integer', 'category_id' => 'integer', 'ArticleCategories__created' => 'datetime', 'ArticleCategories.created' => 'datetime', 'created' => 'datetime', 'ArticleCategories__modified' => 'datetime', 'ArticleCategories.modified' => 'datetime', 'modified' => 'datetime', 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'Categories__qname' => 'string', 'Categories.qname' => 'string', 'qname' => 'string', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__type' => 'string', 'Categories.type' => 'string', 'type' => 'string', 'Categories__rank' => 'integer', 'Categories.rank' => 'integer', 'rank' => 'integer', 'Categories__created' => 'datetime', 'Categories.created' => 'datetime', 'Categories__modified' => 'datetime', 'Categories.modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'Categories' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\ArticleCategoriesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ], ':c5' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 6 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Association\HasMany::_buildResultMap() - CORE/src/ORM/Association/ExternalAssociationTrait.php, line 116 Cake\ORM\Association\HasMany::eagerLoader() - CORE/src/ORM/Association/SelectableAssociationTrait.php, line 49
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'limit' $sql = 'SELECT ArticleCategories.id AS `ArticleCategories__id`, ArticleCategories.article_id AS `ArticleCategories__article_id`, ArticleCategories.category_id AS `ArticleCategories__category_id`, ArticleCategories.created AS `ArticleCategories__created`, ArticleCategories.modified AS `ArticleCategories__modified`, Categories.id AS `Categories__id`, Categories.qname AS `Categories__qname`, Categories.name AS `Categories__name`, Categories.type AS `Categories__type`, Categories.rank AS `Categories__rank`, Categories.created AS `Categories__created`, Categories.modified AS `Categories__modified` FROM article_categories ArticleCategories INNER JOIN categories Categories ON Categories.id = (ArticleCategories.category_id) WHERE ArticleCategories.article_id in (:c0,:c1,:c2,:c3,:c4,:c5)' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'ArticleCategories__id' => 'integer', 'ArticleCategories.id' => 'integer', 'id' => 'integer', 'ArticleCategories__article_id' => 'integer', 'ArticleCategories.article_id' => 'integer', 'article_id' => 'integer', 'ArticleCategories__category_id' => 'integer', 'ArticleCategories.category_id' => 'integer', 'category_id' => 'integer', 'ArticleCategories__created' => 'datetime', 'ArticleCategories.created' => 'datetime', 'created' => 'datetime', 'ArticleCategories__modified' => 'datetime', 'ArticleCategories.modified' => 'datetime', 'modified' => 'datetime', 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'Categories__qname' => 'string', 'Categories.qname' => 'string', 'qname' => 'string', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__type' => 'string', 'Categories.type' => 'string', 'type' => 'string', 'Categories__rank' => 'integer', 'Categories.rank' => 'integer', 'rank' => 'integer', 'Categories__created' => 'datetime', 'Categories.created' => 'datetime', 'Categories__modified' => 'datetime', 'Categories.modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'Categories' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\ArticleCategoriesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ], ':c5' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 6 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Association\HasMany::_buildResultMap() - CORE/src/ORM/Association/ExternalAssociationTrait.php, line 116 Cake\ORM\Association\HasMany::eagerLoader() - CORE/src/ORM/Association/SelectableAssociationTrait.php, line 49
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'offset' $sql = 'SELECT ArticleCategories.id AS `ArticleCategories__id`, ArticleCategories.article_id AS `ArticleCategories__article_id`, ArticleCategories.category_id AS `ArticleCategories__category_id`, ArticleCategories.created AS `ArticleCategories__created`, ArticleCategories.modified AS `ArticleCategories__modified`, Categories.id AS `Categories__id`, Categories.qname AS `Categories__qname`, Categories.name AS `Categories__name`, Categories.type AS `Categories__type`, Categories.rank AS `Categories__rank`, Categories.created AS `Categories__created`, Categories.modified AS `Categories__modified` FROM article_categories ArticleCategories INNER JOIN categories Categories ON Categories.id = (ArticleCategories.category_id) WHERE ArticleCategories.article_id in (:c0,:c1,:c2,:c3,:c4,:c5)' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'ArticleCategories__id' => 'integer', 'ArticleCategories.id' => 'integer', 'id' => 'integer', 'ArticleCategories__article_id' => 'integer', 'ArticleCategories.article_id' => 'integer', 'article_id' => 'integer', 'ArticleCategories__category_id' => 'integer', 'ArticleCategories.category_id' => 'integer', 'category_id' => 'integer', 'ArticleCategories__created' => 'datetime', 'ArticleCategories.created' => 'datetime', 'created' => 'datetime', 'ArticleCategories__modified' => 'datetime', 'ArticleCategories.modified' => 'datetime', 'modified' => 'datetime', 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'Categories__qname' => 'string', 'Categories.qname' => 'string', 'qname' => 'string', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__type' => 'string', 'Categories.type' => 'string', 'type' => 'string', 'Categories__rank' => 'integer', 'Categories.rank' => 'integer', 'rank' => 'integer', 'Categories__created' => 'datetime', 'Categories.created' => 'datetime', 'Categories__modified' => 'datetime', 'Categories.modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'Categories' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\ArticleCategoriesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ], ':c5' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 6 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Association\HasMany::_buildResultMap() - CORE/src/ORM/Association/ExternalAssociationTrait.php, line 116 Cake\ORM\Association\HasMany::eagerLoader() - CORE/src/ORM/Association/SelectableAssociationTrait.php, line 49
Warning (2): count() [<a href='http://php.net/function.count'>function.count</a>]: Parameter must be an array or an object that implements Countable [CORE/src/Database/QueryCompiler.php, line 128]Code Context{
return function ($parts, $name) use (&$sql, $query, $generator) {
if (!count($parts)) {
$parts = null $name = 'epilog' $sql = 'SELECT ArticleCategories.id AS `ArticleCategories__id`, ArticleCategories.article_id AS `ArticleCategories__article_id`, ArticleCategories.category_id AS `ArticleCategories__category_id`, ArticleCategories.created AS `ArticleCategories__created`, ArticleCategories.modified AS `ArticleCategories__modified`, Categories.id AS `Categories__id`, Categories.qname AS `Categories__qname`, Categories.name AS `Categories__name`, Categories.type AS `Categories__type`, Categories.rank AS `Categories__rank`, Categories.created AS `Categories__created`, Categories.modified AS `Categories__modified` FROM article_categories ArticleCategories INNER JOIN categories Categories ON Categories.id = (ArticleCategories.category_id) WHERE ArticleCategories.article_id in (:c0,:c1,:c2,:c3,:c4,:c5)' $query = object(Cake\ORM\Query) { '(help)' => 'This is a Query object, to get the results execute or iterate it.', 'sql' => 'SQL could not be generated for this query as it is incomplete.', 'params' => [], 'defaultTypes' => [ 'ArticleCategories__id' => 'integer', 'ArticleCategories.id' => 'integer', 'id' => 'integer', 'ArticleCategories__article_id' => 'integer', 'ArticleCategories.article_id' => 'integer', 'article_id' => 'integer', 'ArticleCategories__category_id' => 'integer', 'ArticleCategories.category_id' => 'integer', 'category_id' => 'integer', 'ArticleCategories__created' => 'datetime', 'ArticleCategories.created' => 'datetime', 'created' => 'datetime', 'ArticleCategories__modified' => 'datetime', 'ArticleCategories.modified' => 'datetime', 'modified' => 'datetime', 'Categories__id' => 'integer', 'Categories.id' => 'integer', 'Categories__qname' => 'string', 'Categories.qname' => 'string', 'qname' => 'string', 'Categories__name' => 'string', 'Categories.name' => 'string', 'name' => 'string', 'Categories__type' => 'string', 'Categories.type' => 'string', 'type' => 'string', 'Categories__rank' => 'integer', 'Categories.rank' => 'integer', 'rank' => 'integer', 'Categories__created' => 'datetime', 'Categories.created' => 'datetime', 'Categories__modified' => 'datetime', 'Categories.modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'Categories' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(App\Model\Table\ArticleCategoriesTable) {} } $generator = object(Cake\Database\ValueBinder) { [protected] _bindings => [ ':c0' => [ [maximum depth reached] ], ':c1' => [ [maximum depth reached] ], ':c2' => [ [maximum depth reached] ], ':c3' => [ [maximum depth reached] ], ':c4' => [ [maximum depth reached] ], ':c5' => [ [maximum depth reached] ] ] [protected] _bindingsCount => (int) 6 }count - [internal], line ?? Cake\Database\QueryCompiler::Cake\Database\{closure}() - CORE/src/Database/QueryCompiler.php, line 128 Cake\Database\Query::traverse() - CORE/src/Database/Query.php, line 257 Cake\Database\QueryCompiler::compile() - CORE/src/Database/QueryCompiler.php, line 99 Cake\Database\Driver::compileQuery() - CORE/src/Database/Driver.php, line 333 Cake\Database\Connection::compileQuery() - CORE/src/Database/Connection.php, line 262 Cake\Database\Query::sql() - CORE/src/Database/Query.php, line 228 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 936 Cake\Database\Driver\Mysql::prepare() - CORE/src/Database/Driver/Mysql.php, line 136 Cake\Database\Connection::prepare() - CORE/src/Database/Connection.php, line 221 Cake\Database\Connection::run() - CORE/src/Database/Connection.php, line 274 Cake\Database\Query::execute() - CORE/src/Database/Query.php, line 190 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 957 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 905 Cake\ORM\Association\HasMany::_buildResultMap() - CORE/src/ORM/Association/ExternalAssociationTrait.php, line 116 Cake\ORM\Association\HasMany::eagerLoader() - CORE/src/ORM/Association/SelectableAssociationTrait.php, line 49
Notice (8): compact() [<a href='http://php.net/function.compact'>function.compact</a>]: Undefined variable: etagMatches [CORE/src/Network/Response.php, line 1281]Code Context$timeMatches = strtotime($this->modified()) === strtotime($modifiedSince);
}
$checks = compact('etagMatches', 'timeMatches');
$request = object(Cake\Network\Request) { params => [ 'controller' => 'Categories', 'action' => 'view', 'pass' => [ [maximum depth reached] ], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '_ext' => null, 'isAjax' => false ] data => [] query => [] cookies => [] url => 'categories/view/terminale' base => '' webroot => '/' here => '/categories/view/terminale' trustProxy => false [protected] _environment => [ 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'retronews.little-web-dev.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_STATUS' => '200', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.41 (Ubuntu) Server at retronews.little-web-dev.com Port 80</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.41 (Ubuntu)', 'SERVER_NAME' => 'retronews.little-web-dev.com', 'SERVER_ADDR' => '152.228.220.205', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '3.218.247.159', 'DOCUMENT_ROOT' => '/var/www/html/retronews/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/retronews/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/html/retronews/webroot/index.php', 'REMOTE_PORT' => '57110', 'REDIRECT_URL' => '/webroot/categories/view/terminale', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/categories/view/terminale', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711694370.6534, 'REQUEST_TIME' => (int) 1711694370, 'HTTP_X_HTTP_METHOD_OVERRIDE' => null, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTPS' => false, 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => null ] [protected] _detectors => [ 'get' => [ [maximum depth reached] ], 'post' => [ [maximum depth reached] ], 'put' => [ [maximum depth reached] ], 'patch' => [ [maximum depth reached] ], 'delete' => [ [maximum depth reached] ], 'head' => [ [maximum depth reached] ], 'options' => [ [maximum depth reached] ], 'ssl' => [ [maximum depth reached] ], 'ajax' => [ [maximum depth reached] ], 'flash' => [ [maximum depth reached] ], 'requested' => [ [maximum depth reached] ], 'json' => [ [maximum depth reached] ], 'xml' => [ [maximum depth reached] ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] _input => '' [protected] _session => object(Cake\Network\Session) {} } $etags = [] $modifiedSince = null $responseTag = nullcompact - [internal], line ?? Cake\Network\Response::checkNotModified() - CORE/src/Network/Response.php, line 1281 Cake\Controller\Component\RequestHandlerComponent::beforeRender() - CORE/src/Controller/Component/RequestHandlerComponent.php, line 342 Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 422 Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 391 Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 78 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 602 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 127 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 95 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 83 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 62 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 81 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Notice (8): compact() [<a href='http://php.net/function.compact'>function.compact</a>]: Undefined variable: timeMatches [CORE/src/Network/Response.php, line 1281]Code Context$timeMatches = strtotime($this->modified()) === strtotime($modifiedSince);
}
$checks = compact('etagMatches', 'timeMatches');
$request = object(Cake\Network\Request) { params => [ 'controller' => 'Categories', 'action' => 'view', 'pass' => [ [maximum depth reached] ], 'plugin' => null, '_matchedRoute' => '/:controller/:action/*', '_ext' => null, 'isAjax' => false ] data => [] query => [] cookies => [] url => 'categories/view/terminale' base => '' webroot => '/' here => '/categories/view/terminale' trustProxy => false [protected] _environment => [ 'HTTP_ACCEPT' => '*/*', 'HTTP_USER_AGENT' => 'claudebot', 'HTTP_HOST' => 'retronews.little-web-dev.com', 'REDIRECT_REDIRECT_STATUS' => '200', 'REDIRECT_STATUS' => '200', 'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin', 'SERVER_SIGNATURE' => '<address>Apache/2.4.41 (Ubuntu) Server at retronews.little-web-dev.com Port 80</address> ', 'SERVER_SOFTWARE' => 'Apache/2.4.41 (Ubuntu)', 'SERVER_NAME' => 'retronews.little-web-dev.com', 'SERVER_ADDR' => '152.228.220.205', 'SERVER_PORT' => '80', 'REMOTE_ADDR' => '3.218.247.159', 'DOCUMENT_ROOT' => '/var/www/html/retronews/', 'REQUEST_SCHEME' => 'http', 'CONTEXT_PREFIX' => '', 'CONTEXT_DOCUMENT_ROOT' => '/var/www/html/retronews/', 'SERVER_ADMIN' => '[no address given]', 'SCRIPT_FILENAME' => '/var/www/html/retronews/webroot/index.php', 'REMOTE_PORT' => '57110', 'REDIRECT_URL' => '/webroot/categories/view/terminale', 'GATEWAY_INTERFACE' => 'CGI/1.1', 'SERVER_PROTOCOL' => 'HTTP/1.1', 'REQUEST_METHOD' => 'GET', 'QUERY_STRING' => '', 'REQUEST_URI' => '/categories/view/terminale', 'SCRIPT_NAME' => '/webroot/index.php', 'PHP_SELF' => '/webroot/index.php', 'REQUEST_TIME_FLOAT' => (float) 1711694370.6534, 'REQUEST_TIME' => (int) 1711694370, 'HTTP_X_HTTP_METHOD_OVERRIDE' => null, 'ORIGINAL_REQUEST_METHOD' => 'GET', 'HTTPS' => false, 'HTTP_X_REQUESTED_WITH' => null, 'HTTP_IF_NONE_MATCH' => null, 'HTTP_IF_MODIFIED_SINCE' => null ] [protected] _detectors => [ 'get' => [ [maximum depth reached] ], 'post' => [ [maximum depth reached] ], 'put' => [ [maximum depth reached] ], 'patch' => [ [maximum depth reached] ], 'delete' => [ [maximum depth reached] ], 'head' => [ [maximum depth reached] ], 'options' => [ [maximum depth reached] ], 'ssl' => [ [maximum depth reached] ], 'ajax' => [ [maximum depth reached] ], 'flash' => [ [maximum depth reached] ], 'requested' => [ [maximum depth reached] ], 'json' => [ [maximum depth reached] ], 'xml' => [ [maximum depth reached] ], 'mobile' => object(Closure) {}, 'tablet' => object(Closure) {} ] [protected] _detectorCache => [ 'ajax' => false, 'get' => true, 'head' => false, 'options' => false ] [protected] _input => '' [protected] _session => object(Cake\Network\Session) {} } $etags = [] $modifiedSince = null $responseTag = nullcompact - [internal], line ?? Cake\Network\Response::checkNotModified() - CORE/src/Network/Response.php, line 1281 Cake\Controller\Component\RequestHandlerComponent::beforeRender() - CORE/src/Controller/Component/RequestHandlerComponent.php, line 342 Cake\Event\EventManager::_callListener() - CORE/src/Event/EventManager.php, line 422 Cake\Event\EventManager::dispatch() - CORE/src/Event/EventManager.php, line 391 Cake\Controller\Controller::dispatchEvent() - CORE/src/Event/EventDispatcherTrait.php, line 78 Cake\Controller\Controller::render() - CORE/src/Controller/Controller.php, line 602 Cake\Http\ActionDispatcher::_invoke() - CORE/src/Http/ActionDispatcher.php, line 127 Cake\Http\ActionDispatcher::dispatch() - CORE/src/Http/ActionDispatcher.php, line 95 Cake\Http\BaseApplication::__invoke() - CORE/src/Http/BaseApplication.php, line 83 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\RoutingMiddleware::__invoke() - CORE/src/Routing/Middleware/RoutingMiddleware.php, line 62 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Routing\Middleware\AssetMiddleware::__invoke() - CORE/src/Routing/Middleware/AssetMiddleware.php, line 88 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65 Cake\Error\Middleware\ErrorHandlerMiddleware::__invoke() - CORE/src/Error/Middleware/ErrorHandlerMiddleware.php, line 81 Cake\Http\Runner::__invoke() - CORE/src/Http/Runner.php, line 65
Warning (512): Unable to emit headers. Headers sent in file=/var/www/html/retronews/vendor/cakephp/cakephp/src/Error/Debugger.php line=754 [CORE/src/Http/ResponseEmitter.php, line 48]Code Context$message = "Unable to emit headers. Headers sent in file=$file line=$line";
if (Configure::read('debug')) {
trigger_error($message, E_USER_WARNING);
$response = object(Zend\Diactoros\Response) { [protected] headers => [ 'Content-Type' => [ [maximum depth reached] ] ] [protected] headerNames => [ 'content-type' => 'Content-Type' ] [private] phrases => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (int) 103 => 'Early Hints', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 207 => 'Multi-Status', (int) 208 => 'Already Reported', (int) 226 => 'IM Used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Timeout', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Payload Too Large', (int) 414 => 'URI Too Long', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Range Not Satisfiable', (int) 417 => 'Expectation Failed', (int) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Timeout', (int) 505 => 'HTTP Version Not Supported', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [private] reasonPhrase => '' [private] statusCode => (int) 200 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) {} } $maxBufferLength = (int) 8192 $file = '/var/www/html/retronews/vendor/cakephp/cakephp/src/Error/Debugger.php' $line = (int) 754 $message = 'Unable to emit headers. Headers sent in file=/var/www/html/retronews/vendor/cakephp/cakephp/src/Error/Debugger.php line=754'Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 48 Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 116 [main] - ROOT/webroot/index.php, line 37
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/html/retronews/vendor/cakephp/cakephp/src/Error/Debugger.php:754) [CORE/src/Http/ResponseEmitter.php, line 145]Code Context$response->getProtocolVersion(),
$response->getStatusCode(),
($reasonPhrase ? ' ' . $reasonPhrase : '')
$response = object(Zend\Diactoros\Response) { [protected] headers => [ 'Content-Type' => [ [maximum depth reached] ] ] [protected] headerNames => [ 'content-type' => 'Content-Type' ] [private] phrases => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (int) 103 => 'Early Hints', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 207 => 'Multi-Status', (int) 208 => 'Already Reported', (int) 226 => 'IM Used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Timeout', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Payload Too Large', (int) 414 => 'URI Too Long', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Range Not Satisfiable', (int) 417 => 'Expectation Failed', (int) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Timeout', (int) 505 => 'HTTP Version Not Supported', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [private] reasonPhrase => 'OK' [private] statusCode => (int) 200 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) {} } $reasonPhrase = 'OK'header - [internal], line ?? Cake\Http\ResponseEmitter::emitStatusLine() - CORE/src/Http/ResponseEmitter.php, line 145 Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 54 Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 116 [main] - ROOT/webroot/index.php, line 37
Warning (2): Cannot modify header information - headers already sent by (output started at /var/www/html/retronews/vendor/cakephp/cakephp/src/Error/Debugger.php:754) [CORE/src/Http/ResponseEmitter.php, line 169]Code Context$first = true;
foreach ($values as $value) {
header(sprintf(
$response = object(Zend\Diactoros\Response) { [protected] headers => [ 'Content-Type' => [ [maximum depth reached] ] ] [protected] headerNames => [ 'content-type' => 'Content-Type' ] [private] phrases => [ (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 102 => 'Processing', (int) 103 => 'Early Hints', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 207 => 'Multi-Status', (int) 208 => 'Already Reported', (int) 226 => 'IM Used', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 306 => 'Switch Proxy', (int) 307 => 'Temporary Redirect', (int) 308 => 'Permanent Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Timeout', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Payload Too Large', (int) 414 => 'URI Too Long', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Range Not Satisfiable', (int) 417 => 'Expectation Failed', (int) 418 => 'I'm a teapot', (int) 421 => 'Misdirected Request', (int) 422 => 'Unprocessable Entity', (int) 423 => 'Locked', (int) 424 => 'Failed Dependency', (int) 425 => 'Unordered Collection', (int) 426 => 'Upgrade Required', (int) 428 => 'Precondition Required', (int) 429 => 'Too Many Requests', (int) 431 => 'Request Header Fields Too Large', (int) 444 => 'Connection Closed Without Response', (int) 451 => 'Unavailable For Legal Reasons', (int) 499 => 'Client Closed Request', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Timeout', (int) 505 => 'HTTP Version Not Supported', (int) 506 => 'Variant Also Negotiates', (int) 507 => 'Insufficient Storage', (int) 508 => 'Loop Detected', (int) 510 => 'Not Extended', (int) 511 => 'Network Authentication Required', (int) 599 => 'Network Connect Timeout Error' ] [private] reasonPhrase => 'OK' [private] statusCode => (int) 200 [private] protocol => '1.1' [private] stream => object(Zend\Diactoros\Stream) {} } $values = [ (int) 0 => 'text/html; charset=UTF-8' ] $name = 'Content-Type' $first = true $value = 'text/html; charset=UTF-8'header - [internal], line ?? Cake\Http\ResponseEmitter::emitHeaders() - CORE/src/Http/ResponseEmitter.php, line 169 Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 55 Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 116 [main] - ROOT/webroot/index.php, line 37
Retrouvez ici les contenus référencés « Terminale »
En poursuivant votre navigation sur ce site, vous acceptez l'utilisation de cookies conformément à notre politique de données personnelles. En savoir plus