Flowers can be purshased through Esperance Estate contact 487-0154 or 459-7956 for more information.
Warning (2): count() [function.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 CartSettings.id AS `CartSettings__id`, CartSettings.title AS `CartSettings__title`, CartSettings.currency AS `CartSettings__currency`, CartSettings.credit_card AS `CartSettings__credit_card`, CartSettings.cash_cheque AS `CartSettings__cash_cheque`, CartSettings.wire_transfer AS `CartSettings__wire_transfer`, CartSettings.paypal AS `CartSettings__paypal`, CartSettings.disallow_multiple_units AS `CartSettings__disallow_multiple_units`, CartSettings.disallow_same_product AS `CartSettings__disallow_same_product`, CartSettings.cash_cheque_payment_details AS `CartSettings__cash_cheque_payment_details`, CartSettings.wire_transfer_payment_details AS `CartSettings__wire_transfer_payment_details`, CartSettings.credit_card_payment_details AS `CartSettings__credit_card_payment_details`, CartSettings.paypal_payment_details AS `CartSettings__paypal_payment_details`, CartSettings.cash_cheque_payment_confirmation_message AS `CartSettings__cash_cheque_payment_confirmation_message`, CartSettings.wire_transfer_payment_confirmation_message AS `CartSettings__wire_transfer_payment_confirmation_message`, CartSettings.credit_card_payment_confirmation_message AS `CartSettings__credit_card_payment_confirmation_message`, CartSettings.paypal_payment_confirmation_message AS `CartSettings__paypal_payment_confirmation_message`, CartSettings.local_country AS `CartSettings__local_country`, CartSettings.vat_local_country AS `CartSettings__vat_local_country`, CartSettings.created AS `CartSettings__created`, CartSettings.modified AS `CartSettings__modified` FROM cart_settings CartSettings WHERE CartSettings.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' => [ 'CartSettings__id' => 'integer', 'CartSettings.id' => 'integer', 'id' => 'integer', 'CartSettings__title' => 'string', 'CartSettings.title' => 'string', 'title' => 'string', 'CartSettings__currency' => 'string', 'CartSettings.currency' => 'string', 'currency' => 'string', 'CartSettings__credit_card' => 'boolean', 'CartSettings.credit_card' => 'boolean', 'credit_card' => 'boolean', 'CartSettings__cash_cheque' => 'boolean', 'CartSettings.cash_cheque' => 'boolean', 'cash_cheque' => 'boolean', 'CartSettings__wire_transfer' => 'boolean', 'CartSettings.wire_transfer' => 'boolean', 'wire_transfer' => 'boolean', 'CartSettings__paypal' => 'boolean', 'CartSettings.paypal' => 'boolean', 'paypal' => 'boolean', 'CartSettings__disallow_multiple_units' => 'boolean', 'CartSettings.disallow_multiple_units' => 'boolean', 'disallow_multiple_units' => 'boolean', 'CartSettings__disallow_same_product' => 'boolean', 'CartSettings.disallow_same_product' => 'boolean', 'disallow_same_product' => 'boolean', 'CartSettings__cash_cheque_payment_details' => 'text', 'CartSettings.cash_cheque_payment_details' => 'text', 'cash_cheque_payment_details' => 'text', 'CartSettings__wire_transfer_payment_details' => 'text', 'CartSettings.wire_transfer_payment_details' => 'text', 'wire_transfer_payment_details' => 'text', 'CartSettings__credit_card_payment_details' => 'text', 'CartSettings.credit_card_payment_details' => 'text', 'credit_card_payment_details' => 'text', 'CartSettings__paypal_payment_details' => 'text', 'CartSettings.paypal_payment_details' => 'text', 'paypal_payment_details' => 'text', 'CartSettings__cash_cheque_payment_confirmation_message' => 'string', 'CartSettings.cash_cheque_payment_confirmation_message' => 'string', 'cash_cheque_payment_confirmation_message' => 'string', 'CartSettings__wire_transfer_payment_confirmation_message' => 'string', 'CartSettings.wire_transfer_payment_confirmation_message' => 'string', 'wire_transfer_payment_confirmation_message' => 'string', 'CartSettings__credit_card_payment_confirmation_message' => 'string', 'CartSettings.credit_card_payment_confirmation_message' => 'string', 'credit_card_payment_confirmation_message' => 'string', 'CartSettings__paypal_payment_confirmation_message' => 'string', 'CartSettings.paypal_payment_confirmation_message' => 'string', 'paypal_payment_confirmation_message' => 'string', 'CartSettings__local_country' => 'string', 'CartSettings.local_country' => 'string', 'local_country' => 'string', 'CartSettings__vat_local_country' => 'boolean', 'CartSettings.vat_local_country' => 'boolean', 'vat_local_country' => 'boolean', 'CartSettings__created' => 'datetime', 'CartSettings.created' => 'datetime', 'created' => 'datetime', 'CartSettings__modified' => 'datetime', 'CartSettings.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Cake\ORM\Table) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 Ecommerce\Controller\AppController::beforeFilter() - ROOT/plugins/Ecommerce/src/Controller/AppController.php, line 25
Warning (2): count() [function.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 = 'order' $sql = 'SELECT CartSettings.id AS `CartSettings__id`, CartSettings.title AS `CartSettings__title`, CartSettings.currency AS `CartSettings__currency`, CartSettings.credit_card AS `CartSettings__credit_card`, CartSettings.cash_cheque AS `CartSettings__cash_cheque`, CartSettings.wire_transfer AS `CartSettings__wire_transfer`, CartSettings.paypal AS `CartSettings__paypal`, CartSettings.disallow_multiple_units AS `CartSettings__disallow_multiple_units`, CartSettings.disallow_same_product AS `CartSettings__disallow_same_product`, CartSettings.cash_cheque_payment_details AS `CartSettings__cash_cheque_payment_details`, CartSettings.wire_transfer_payment_details AS `CartSettings__wire_transfer_payment_details`, CartSettings.credit_card_payment_details AS `CartSettings__credit_card_payment_details`, CartSettings.paypal_payment_details AS `CartSettings__paypal_payment_details`, CartSettings.cash_cheque_payment_confirmation_message AS `CartSettings__cash_cheque_payment_confirmation_message`, CartSettings.wire_transfer_payment_confirmation_message AS `CartSettings__wire_transfer_payment_confirmation_message`, CartSettings.credit_card_payment_confirmation_message AS `CartSettings__credit_card_payment_confirmation_message`, CartSettings.paypal_payment_confirmation_message AS `CartSettings__paypal_payment_confirmation_message`, CartSettings.local_country AS `CartSettings__local_country`, CartSettings.vat_local_country AS `CartSettings__vat_local_country`, CartSettings.created AS `CartSettings__created`, CartSettings.modified AS `CartSettings__modified` FROM cart_settings CartSettings WHERE CartSettings.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' => [ 'CartSettings__id' => 'integer', 'CartSettings.id' => 'integer', 'id' => 'integer', 'CartSettings__title' => 'string', 'CartSettings.title' => 'string', 'title' => 'string', 'CartSettings__currency' => 'string', 'CartSettings.currency' => 'string', 'currency' => 'string', 'CartSettings__credit_card' => 'boolean', 'CartSettings.credit_card' => 'boolean', 'credit_card' => 'boolean', 'CartSettings__cash_cheque' => 'boolean', 'CartSettings.cash_cheque' => 'boolean', 'cash_cheque' => 'boolean', 'CartSettings__wire_transfer' => 'boolean', 'CartSettings.wire_transfer' => 'boolean', 'wire_transfer' => 'boolean', 'CartSettings__paypal' => 'boolean', 'CartSettings.paypal' => 'boolean', 'paypal' => 'boolean', 'CartSettings__disallow_multiple_units' => 'boolean', 'CartSettings.disallow_multiple_units' => 'boolean', 'disallow_multiple_units' => 'boolean', 'CartSettings__disallow_same_product' => 'boolean', 'CartSettings.disallow_same_product' => 'boolean', 'disallow_same_product' => 'boolean', 'CartSettings__cash_cheque_payment_details' => 'text', 'CartSettings.cash_cheque_payment_details' => 'text', 'cash_cheque_payment_details' => 'text', 'CartSettings__wire_transfer_payment_details' => 'text', 'CartSettings.wire_transfer_payment_details' => 'text', 'wire_transfer_payment_details' => 'text', 'CartSettings__credit_card_payment_details' => 'text', 'CartSettings.credit_card_payment_details' => 'text', 'credit_card_payment_details' => 'text', 'CartSettings__paypal_payment_details' => 'text', 'CartSettings.paypal_payment_details' => 'text', 'paypal_payment_details' => 'text', 'CartSettings__cash_cheque_payment_confirmation_message' => 'string', 'CartSettings.cash_cheque_payment_confirmation_message' => 'string', 'cash_cheque_payment_confirmation_message' => 'string', 'CartSettings__wire_transfer_payment_confirmation_message' => 'string', 'CartSettings.wire_transfer_payment_confirmation_message' => 'string', 'wire_transfer_payment_confirmation_message' => 'string', 'CartSettings__credit_card_payment_confirmation_message' => 'string', 'CartSettings.credit_card_payment_confirmation_message' => 'string', 'credit_card_payment_confirmation_message' => 'string', 'CartSettings__paypal_payment_confirmation_message' => 'string', 'CartSettings.paypal_payment_confirmation_message' => 'string', 'paypal_payment_confirmation_message' => 'string', 'CartSettings__local_country' => 'string', 'CartSettings.local_country' => 'string', 'local_country' => 'string', 'CartSettings__vat_local_country' => 'boolean', 'CartSettings.vat_local_country' => 'boolean', 'vat_local_country' => 'boolean', 'CartSettings__created' => 'datetime', 'CartSettings.created' => 'datetime', 'created' => 'datetime', 'CartSettings__modified' => 'datetime', 'CartSettings.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Cake\ORM\Table) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 Ecommerce\Controller\AppController::beforeFilter() - ROOT/plugins/Ecommerce/src/Controller/AppController.php, line 25
Warning (2): count() [function.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 = (int) 1 $name = 'limit' $sql = 'SELECT CartSettings.id AS `CartSettings__id`, CartSettings.title AS `CartSettings__title`, CartSettings.currency AS `CartSettings__currency`, CartSettings.credit_card AS `CartSettings__credit_card`, CartSettings.cash_cheque AS `CartSettings__cash_cheque`, CartSettings.wire_transfer AS `CartSettings__wire_transfer`, CartSettings.paypal AS `CartSettings__paypal`, CartSettings.disallow_multiple_units AS `CartSettings__disallow_multiple_units`, CartSettings.disallow_same_product AS `CartSettings__disallow_same_product`, CartSettings.cash_cheque_payment_details AS `CartSettings__cash_cheque_payment_details`, CartSettings.wire_transfer_payment_details AS `CartSettings__wire_transfer_payment_details`, CartSettings.credit_card_payment_details AS `CartSettings__credit_card_payment_details`, CartSettings.paypal_payment_details AS `CartSettings__paypal_payment_details`, CartSettings.cash_cheque_payment_confirmation_message AS `CartSettings__cash_cheque_payment_confirmation_message`, CartSettings.wire_transfer_payment_confirmation_message AS `CartSettings__wire_transfer_payment_confirmation_message`, CartSettings.credit_card_payment_confirmation_message AS `CartSettings__credit_card_payment_confirmation_message`, CartSettings.paypal_payment_confirmation_message AS `CartSettings__paypal_payment_confirmation_message`, CartSettings.local_country AS `CartSettings__local_country`, CartSettings.vat_local_country AS `CartSettings__vat_local_country`, CartSettings.created AS `CartSettings__created`, CartSettings.modified AS `CartSettings__modified` FROM cart_settings CartSettings WHERE CartSettings.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' => [ 'CartSettings__id' => 'integer', 'CartSettings.id' => 'integer', 'id' => 'integer', 'CartSettings__title' => 'string', 'CartSettings.title' => 'string', 'title' => 'string', 'CartSettings__currency' => 'string', 'CartSettings.currency' => 'string', 'currency' => 'string', 'CartSettings__credit_card' => 'boolean', 'CartSettings.credit_card' => 'boolean', 'credit_card' => 'boolean', 'CartSettings__cash_cheque' => 'boolean', 'CartSettings.cash_cheque' => 'boolean', 'cash_cheque' => 'boolean', 'CartSettings__wire_transfer' => 'boolean', 'CartSettings.wire_transfer' => 'boolean', 'wire_transfer' => 'boolean', 'CartSettings__paypal' => 'boolean', 'CartSettings.paypal' => 'boolean', 'paypal' => 'boolean', 'CartSettings__disallow_multiple_units' => 'boolean', 'CartSettings.disallow_multiple_units' => 'boolean', 'disallow_multiple_units' => 'boolean', 'CartSettings__disallow_same_product' => 'boolean', 'CartSettings.disallow_same_product' => 'boolean', 'disallow_same_product' => 'boolean', 'CartSettings__cash_cheque_payment_details' => 'text', 'CartSettings.cash_cheque_payment_details' => 'text', 'cash_cheque_payment_details' => 'text', 'CartSettings__wire_transfer_payment_details' => 'text', 'CartSettings.wire_transfer_payment_details' => 'text', 'wire_transfer_payment_details' => 'text', 'CartSettings__credit_card_payment_details' => 'text', 'CartSettings.credit_card_payment_details' => 'text', 'credit_card_payment_details' => 'text', 'CartSettings__paypal_payment_details' => 'text', 'CartSettings.paypal_payment_details' => 'text', 'paypal_payment_details' => 'text', 'CartSettings__cash_cheque_payment_confirmation_message' => 'string', 'CartSettings.cash_cheque_payment_confirmation_message' => 'string', 'cash_cheque_payment_confirmation_message' => 'string', 'CartSettings__wire_transfer_payment_confirmation_message' => 'string', 'CartSettings.wire_transfer_payment_confirmation_message' => 'string', 'wire_transfer_payment_confirmation_message' => 'string', 'CartSettings__credit_card_payment_confirmation_message' => 'string', 'CartSettings.credit_card_payment_confirmation_message' => 'string', 'credit_card_payment_confirmation_message' => 'string', 'CartSettings__paypal_payment_confirmation_message' => 'string', 'CartSettings.paypal_payment_confirmation_message' => 'string', 'paypal_payment_confirmation_message' => 'string', 'CartSettings__local_country' => 'string', 'CartSettings.local_country' => 'string', 'local_country' => 'string', 'CartSettings__vat_local_country' => 'boolean', 'CartSettings.vat_local_country' => 'boolean', 'vat_local_country' => 'boolean', 'CartSettings__created' => 'datetime', 'CartSettings.created' => 'datetime', 'created' => 'datetime', 'CartSettings__modified' => 'datetime', 'CartSettings.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Cake\ORM\Table) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 Ecommerce\Controller\AppController::beforeFilter() - ROOT/plugins/Ecommerce/src/Controller/AppController.php, line 25
Warning (2): count() [function.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 = 'offset' $sql = 'SELECT CartSettings.id AS `CartSettings__id`, CartSettings.title AS `CartSettings__title`, CartSettings.currency AS `CartSettings__currency`, CartSettings.credit_card AS `CartSettings__credit_card`, CartSettings.cash_cheque AS `CartSettings__cash_cheque`, CartSettings.wire_transfer AS `CartSettings__wire_transfer`, CartSettings.paypal AS `CartSettings__paypal`, CartSettings.disallow_multiple_units AS `CartSettings__disallow_multiple_units`, CartSettings.disallow_same_product AS `CartSettings__disallow_same_product`, CartSettings.cash_cheque_payment_details AS `CartSettings__cash_cheque_payment_details`, CartSettings.wire_transfer_payment_details AS `CartSettings__wire_transfer_payment_details`, CartSettings.credit_card_payment_details AS `CartSettings__credit_card_payment_details`, CartSettings.paypal_payment_details AS `CartSettings__paypal_payment_details`, CartSettings.cash_cheque_payment_confirmation_message AS `CartSettings__cash_cheque_payment_confirmation_message`, CartSettings.wire_transfer_payment_confirmation_message AS `CartSettings__wire_transfer_payment_confirmation_message`, CartSettings.credit_card_payment_confirmation_message AS `CartSettings__credit_card_payment_confirmation_message`, CartSettings.paypal_payment_confirmation_message AS `CartSettings__paypal_payment_confirmation_message`, CartSettings.local_country AS `CartSettings__local_country`, CartSettings.vat_local_country AS `CartSettings__vat_local_country`, CartSettings.created AS `CartSettings__created`, CartSettings.modified AS `CartSettings__modified` FROM cart_settings CartSettings WHERE CartSettings.id = :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' => [ 'CartSettings__id' => 'integer', 'CartSettings.id' => 'integer', 'id' => 'integer', 'CartSettings__title' => 'string', 'CartSettings.title' => 'string', 'title' => 'string', 'CartSettings__currency' => 'string', 'CartSettings.currency' => 'string', 'currency' => 'string', 'CartSettings__credit_card' => 'boolean', 'CartSettings.credit_card' => 'boolean', 'credit_card' => 'boolean', 'CartSettings__cash_cheque' => 'boolean', 'CartSettings.cash_cheque' => 'boolean', 'cash_cheque' => 'boolean', 'CartSettings__wire_transfer' => 'boolean', 'CartSettings.wire_transfer' => 'boolean', 'wire_transfer' => 'boolean', 'CartSettings__paypal' => 'boolean', 'CartSettings.paypal' => 'boolean', 'paypal' => 'boolean', 'CartSettings__disallow_multiple_units' => 'boolean', 'CartSettings.disallow_multiple_units' => 'boolean', 'disallow_multiple_units' => 'boolean', 'CartSettings__disallow_same_product' => 'boolean', 'CartSettings.disallow_same_product' => 'boolean', 'disallow_same_product' => 'boolean', 'CartSettings__cash_cheque_payment_details' => 'text', 'CartSettings.cash_cheque_payment_details' => 'text', 'cash_cheque_payment_details' => 'text', 'CartSettings__wire_transfer_payment_details' => 'text', 'CartSettings.wire_transfer_payment_details' => 'text', 'wire_transfer_payment_details' => 'text', 'CartSettings__credit_card_payment_details' => 'text', 'CartSettings.credit_card_payment_details' => 'text', 'credit_card_payment_details' => 'text', 'CartSettings__paypal_payment_details' => 'text', 'CartSettings.paypal_payment_details' => 'text', 'paypal_payment_details' => 'text', 'CartSettings__cash_cheque_payment_confirmation_message' => 'string', 'CartSettings.cash_cheque_payment_confirmation_message' => 'string', 'cash_cheque_payment_confirmation_message' => 'string', 'CartSettings__wire_transfer_payment_confirmation_message' => 'string', 'CartSettings.wire_transfer_payment_confirmation_message' => 'string', 'wire_transfer_payment_confirmation_message' => 'string', 'CartSettings__credit_card_payment_confirmation_message' => 'string', 'CartSettings.credit_card_payment_confirmation_message' => 'string', 'credit_card_payment_confirmation_message' => 'string', 'CartSettings__paypal_payment_confirmation_message' => 'string', 'CartSettings.paypal_payment_confirmation_message' => 'string', 'paypal_payment_confirmation_message' => 'string', 'CartSettings__local_country' => 'string', 'CartSettings.local_country' => 'string', 'local_country' => 'string', 'CartSettings__vat_local_country' => 'boolean', 'CartSettings.vat_local_country' => 'boolean', 'vat_local_country' => 'boolean', 'CartSettings__created' => 'datetime', 'CartSettings.created' => 'datetime', 'created' => 'datetime', 'CartSettings__modified' => 'datetime', 'CartSettings.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Cake\ORM\Table) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 Ecommerce\Controller\AppController::beforeFilter() - ROOT/plugins/Ecommerce/src/Controller/AppController.php, line 25
Warning (2): count() [function.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 = 'epilog' $sql = 'SELECT CartSettings.id AS `CartSettings__id`, CartSettings.title AS `CartSettings__title`, CartSettings.currency AS `CartSettings__currency`, CartSettings.credit_card AS `CartSettings__credit_card`, CartSettings.cash_cheque AS `CartSettings__cash_cheque`, CartSettings.wire_transfer AS `CartSettings__wire_transfer`, CartSettings.paypal AS `CartSettings__paypal`, CartSettings.disallow_multiple_units AS `CartSettings__disallow_multiple_units`, CartSettings.disallow_same_product AS `CartSettings__disallow_same_product`, CartSettings.cash_cheque_payment_details AS `CartSettings__cash_cheque_payment_details`, CartSettings.wire_transfer_payment_details AS `CartSettings__wire_transfer_payment_details`, CartSettings.credit_card_payment_details AS `CartSettings__credit_card_payment_details`, CartSettings.paypal_payment_details AS `CartSettings__paypal_payment_details`, CartSettings.cash_cheque_payment_confirmation_message AS `CartSettings__cash_cheque_payment_confirmation_message`, CartSettings.wire_transfer_payment_confirmation_message AS `CartSettings__wire_transfer_payment_confirmation_message`, CartSettings.credit_card_payment_confirmation_message AS `CartSettings__credit_card_payment_confirmation_message`, CartSettings.paypal_payment_confirmation_message AS `CartSettings__paypal_payment_confirmation_message`, CartSettings.local_country AS `CartSettings__local_country`, CartSettings.vat_local_country AS `CartSettings__vat_local_country`, CartSettings.created AS `CartSettings__created`, CartSettings.modified AS `CartSettings__modified` FROM cart_settings CartSettings WHERE CartSettings.id = :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' => [ 'CartSettings__id' => 'integer', 'CartSettings.id' => 'integer', 'id' => 'integer', 'CartSettings__title' => 'string', 'CartSettings.title' => 'string', 'title' => 'string', 'CartSettings__currency' => 'string', 'CartSettings.currency' => 'string', 'currency' => 'string', 'CartSettings__credit_card' => 'boolean', 'CartSettings.credit_card' => 'boolean', 'credit_card' => 'boolean', 'CartSettings__cash_cheque' => 'boolean', 'CartSettings.cash_cheque' => 'boolean', 'cash_cheque' => 'boolean', 'CartSettings__wire_transfer' => 'boolean', 'CartSettings.wire_transfer' => 'boolean', 'wire_transfer' => 'boolean', 'CartSettings__paypal' => 'boolean', 'CartSettings.paypal' => 'boolean', 'paypal' => 'boolean', 'CartSettings__disallow_multiple_units' => 'boolean', 'CartSettings.disallow_multiple_units' => 'boolean', 'disallow_multiple_units' => 'boolean', 'CartSettings__disallow_same_product' => 'boolean', 'CartSettings.disallow_same_product' => 'boolean', 'disallow_same_product' => 'boolean', 'CartSettings__cash_cheque_payment_details' => 'text', 'CartSettings.cash_cheque_payment_details' => 'text', 'cash_cheque_payment_details' => 'text', 'CartSettings__wire_transfer_payment_details' => 'text', 'CartSettings.wire_transfer_payment_details' => 'text', 'wire_transfer_payment_details' => 'text', 'CartSettings__credit_card_payment_details' => 'text', 'CartSettings.credit_card_payment_details' => 'text', 'credit_card_payment_details' => 'text', 'CartSettings__paypal_payment_details' => 'text', 'CartSettings.paypal_payment_details' => 'text', 'paypal_payment_details' => 'text', 'CartSettings__cash_cheque_payment_confirmation_message' => 'string', 'CartSettings.cash_cheque_payment_confirmation_message' => 'string', 'cash_cheque_payment_confirmation_message' => 'string', 'CartSettings__wire_transfer_payment_confirmation_message' => 'string', 'CartSettings.wire_transfer_payment_confirmation_message' => 'string', 'wire_transfer_payment_confirmation_message' => 'string', 'CartSettings__credit_card_payment_confirmation_message' => 'string', 'CartSettings.credit_card_payment_confirmation_message' => 'string', 'credit_card_payment_confirmation_message' => 'string', 'CartSettings__paypal_payment_confirmation_message' => 'string', 'CartSettings.paypal_payment_confirmation_message' => 'string', 'paypal_payment_confirmation_message' => 'string', 'CartSettings__local_country' => 'string', 'CartSettings.local_country' => 'string', 'local_country' => 'string', 'CartSettings__vat_local_country' => 'boolean', 'CartSettings.vat_local_country' => 'boolean', 'vat_local_country' => 'boolean', 'CartSettings__created' => 'datetime', 'CartSettings.created' => 'datetime', 'created' => 'datetime', 'CartSettings__modified' => 'datetime', 'CartSettings.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Cake\ORM\Table) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 Ecommerce\Controller\AppController::beforeFilter() - ROOT/plugins/Ecommerce/src/Controller/AppController.php, line 25
Warning (2): count() [function.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 Products.id AS `Products__id`, Products.name AS `Products__name`, Products.price AS `Products__price`, Products.f_path AS `Products__f_path`, Products.enabled AS `Products__enabled`, Products.unit_shipping_price AS `Products__unit_shipping_price`, Products.details AS `Products__details` FROM products Products WHERE Products.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' => [ 'Products__id' => 'integer', 'Products.id' => 'integer', 'id' => 'integer', 'Products__name' => 'string', 'Products.name' => 'string', 'name' => 'string', 'Products__price' => 'float', 'Products.price' => 'float', 'price' => 'float', 'Products__monthly_price' => 'float', 'Products.monthly_price' => 'float', 'monthly_price' => 'float', 'Products__annual_price' => 'float', 'Products.annual_price' => 'float', 'annual_price' => 'float', 'Products__vat_price' => 'float', 'Products.vat_price' => 'float', 'vat_price' => 'float', 'Products__vat_monthly' => 'float', 'Products.vat_monthly' => 'float', 'vat_monthly' => 'float', 'Products__vat_annually' => 'float', 'Products.vat_annually' => 'float', 'vat_annually' => 'float', 'Products__us_monthly' => 'float', 'Products.us_monthly' => 'float', 'us_monthly' => 'float', 'Products__us_annually' => 'float', 'Products.us_annually' => 'float', 'us_annually' => 'float', 'Products__discount' => 'float', 'Products.discount' => 'float', 'discount' => 'float', 'Products__unit_shipping_price' => 'decimal', 'Products.unit_shipping_price' => 'decimal', 'unit_shipping_price' => 'decimal', 'Products__youtube_url' => 'string', 'Products.youtube_url' => 'string', 'youtube_url' => 'string', 'Products__video_path' => 'string', 'Products.video_path' => 'string', 'video_path' => 'string', 'Products__f_path' => 'string', 'Products.f_path' => 'string', 'f_path' => 'string', 'Products__details' => 'text', 'Products.details' => 'text', 'details' => 'text', 'Products__enabled' => 'boolean', 'Products.enabled' => 'boolean', 'enabled' => 'boolean', 'Products__created' => 'datetime', 'Products.created' => 'datetime', 'created' => 'datetime', 'Products__modified' => 'datetime', 'Products.modified' => 'datetime', 'modified' => 'datetime', 'Products__webinar_id' => 'integer', 'Products.webinar_id' => 'integer', 'webinar_id' => 'integer', 'ProductVariationCategories__id' => 'integer', 'ProductVariationCategories.id' => 'integer', 'ProductVariationCategories__product_id' => 'integer', 'ProductVariationCategories.product_id' => 'integer', 'product_id' => 'integer', 'ProductVariationCategories__title' => 'string', 'ProductVariationCategories.title' => 'string', 'title' => 'string', 'ProductVariationCategories__description' => 'text', 'ProductVariationCategories.description' => 'text', 'description' => 'text', 'ProductVariationCategories__created' => 'datetime', 'ProductVariationCategories.created' => 'datetime', 'ProductVariationCategories__modified' => 'datetime', 'ProductVariationCategories.modified' => 'datetime', 'ProductVariations__id' => 'integer', 'ProductVariations.id' => 'integer', 'ProductVariations__product_variation_category_id' => 'integer', 'ProductVariations.product_variation_category_id' => 'integer', 'product_variation_category_id' => 'integer', 'ProductVariations__title' => 'string', 'ProductVariations.title' => 'string', 'ProductVariations__description' => 'text', 'ProductVariations.description' => 'text', 'ProductVariations__price_modifier' => 'decimal', 'ProductVariations.price_modifier' => 'decimal', 'price_modifier' => 'decimal', 'ProductVariations__created' => 'datetime', 'ProductVariations.created' => 'datetime', 'ProductVariations__modified' => 'datetime', 'ProductVariations.modified' => 'datetime', 'ProductAddons__id' => 'integer', 'ProductAddons.id' => 'integer', 'ProductAddons__product_id' => 'integer', 'ProductAddons.product_id' => 'integer', 'ProductAddons__title' => 'string', 'ProductAddons.title' => 'string', 'ProductAddons__description' => 'text', 'ProductAddons.description' => 'text', 'ProductAddons__price_modifier' => 'decimal', 'ProductAddons.price_modifier' => 'decimal', 'ProductAddons__created' => 'datetime', 'ProductAddons.created' => 'datetime', 'ProductAddons__modified' => 'datetime', 'ProductAddons.modified' => 'datetime', 'ProductCategories__id' => 'integer', 'ProductCategories.id' => 'integer', 'ProductCategories__title' => 'string', 'ProductCategories.title' => 'string', 'ProductCategories__description' => 'text', 'ProductCategories.description' => 'text', 'ProductCategories__image_path' => 'string', 'ProductCategories.image_path' => 'string', 'image_path' => 'string', 'ProductCategories__enabled' => 'boolean', 'ProductCategories.enabled' => 'boolean', 'ProductCategories__created' => 'datetime', 'ProductCategories.created' => 'datetime', 'ProductCategories__modified' => 'datetime', 'ProductCategories.modified' => 'datetime', 'ProductPics__id' => 'integer', 'ProductPics.id' => 'integer', 'ProductPics__product_id' => 'integer', 'ProductPics.product_id' => 'integer', 'ProductPics__title' => 'string', 'ProductPics.title' => 'string', 'ProductPics__description' => 'text', 'ProductPics.description' => 'text', 'ProductPics__url' => 'string', 'ProductPics.url' => 'string', 'url' => 'string', 'ProductPics__alt' => 'string', 'ProductPics.alt' => 'string', 'alt' => 'string', 'ProductPics__small' => 'string', 'ProductPics.small' => 'string', 'small' => 'string', 'ProductPics__large' => 'string', 'ProductPics.large' => 'string', 'large' => 'string', 'ProductPics__original' => 'string', 'ProductPics.original' => 'string', 'original' => 'string', 'ProductPics__created' => 'datetime', 'ProductPics.created' => 'datetime', 'ProductPics__modified' => 'datetime', 'ProductPics.modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'ProductVariationCategories' => [ [maximum depth reached] ], 'ProductAddons' => [[maximum depth reached]], 'ProductCategories' => [[maximum depth reached]], 'ProductPics' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(Ecommerce\Model\Table\ProductsTable) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 Cake\ORM\Query::firstOrFail() - CORE/src/Datasource/QueryTrait.php, line 415
Warning (2): count() [function.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 = 'order' $sql = 'SELECT Products.id AS `Products__id`, Products.name AS `Products__name`, Products.price AS `Products__price`, Products.f_path AS `Products__f_path`, Products.enabled AS `Products__enabled`, Products.unit_shipping_price AS `Products__unit_shipping_price`, Products.details AS `Products__details` FROM products Products WHERE Products.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' => [ 'Products__id' => 'integer', 'Products.id' => 'integer', 'id' => 'integer', 'Products__name' => 'string', 'Products.name' => 'string', 'name' => 'string', 'Products__price' => 'float', 'Products.price' => 'float', 'price' => 'float', 'Products__monthly_price' => 'float', 'Products.monthly_price' => 'float', 'monthly_price' => 'float', 'Products__annual_price' => 'float', 'Products.annual_price' => 'float', 'annual_price' => 'float', 'Products__vat_price' => 'float', 'Products.vat_price' => 'float', 'vat_price' => 'float', 'Products__vat_monthly' => 'float', 'Products.vat_monthly' => 'float', 'vat_monthly' => 'float', 'Products__vat_annually' => 'float', 'Products.vat_annually' => 'float', 'vat_annually' => 'float', 'Products__us_monthly' => 'float', 'Products.us_monthly' => 'float', 'us_monthly' => 'float', 'Products__us_annually' => 'float', 'Products.us_annually' => 'float', 'us_annually' => 'float', 'Products__discount' => 'float', 'Products.discount' => 'float', 'discount' => 'float', 'Products__unit_shipping_price' => 'decimal', 'Products.unit_shipping_price' => 'decimal', 'unit_shipping_price' => 'decimal', 'Products__youtube_url' => 'string', 'Products.youtube_url' => 'string', 'youtube_url' => 'string', 'Products__video_path' => 'string', 'Products.video_path' => 'string', 'video_path' => 'string', 'Products__f_path' => 'string', 'Products.f_path' => 'string', 'f_path' => 'string', 'Products__details' => 'text', 'Products.details' => 'text', 'details' => 'text', 'Products__enabled' => 'boolean', 'Products.enabled' => 'boolean', 'enabled' => 'boolean', 'Products__created' => 'datetime', 'Products.created' => 'datetime', 'created' => 'datetime', 'Products__modified' => 'datetime', 'Products.modified' => 'datetime', 'modified' => 'datetime', 'Products__webinar_id' => 'integer', 'Products.webinar_id' => 'integer', 'webinar_id' => 'integer', 'ProductVariationCategories__id' => 'integer', 'ProductVariationCategories.id' => 'integer', 'ProductVariationCategories__product_id' => 'integer', 'ProductVariationCategories.product_id' => 'integer', 'product_id' => 'integer', 'ProductVariationCategories__title' => 'string', 'ProductVariationCategories.title' => 'string', 'title' => 'string', 'ProductVariationCategories__description' => 'text', 'ProductVariationCategories.description' => 'text', 'description' => 'text', 'ProductVariationCategories__created' => 'datetime', 'ProductVariationCategories.created' => 'datetime', 'ProductVariationCategories__modified' => 'datetime', 'ProductVariationCategories.modified' => 'datetime', 'ProductVariations__id' => 'integer', 'ProductVariations.id' => 'integer', 'ProductVariations__product_variation_category_id' => 'integer', 'ProductVariations.product_variation_category_id' => 'integer', 'product_variation_category_id' => 'integer', 'ProductVariations__title' => 'string', 'ProductVariations.title' => 'string', 'ProductVariations__description' => 'text', 'ProductVariations.description' => 'text', 'ProductVariations__price_modifier' => 'decimal', 'ProductVariations.price_modifier' => 'decimal', 'price_modifier' => 'decimal', 'ProductVariations__created' => 'datetime', 'ProductVariations.created' => 'datetime', 'ProductVariations__modified' => 'datetime', 'ProductVariations.modified' => 'datetime', 'ProductAddons__id' => 'integer', 'ProductAddons.id' => 'integer', 'ProductAddons__product_id' => 'integer', 'ProductAddons.product_id' => 'integer', 'ProductAddons__title' => 'string', 'ProductAddons.title' => 'string', 'ProductAddons__description' => 'text', 'ProductAddons.description' => 'text', 'ProductAddons__price_modifier' => 'decimal', 'ProductAddons.price_modifier' => 'decimal', 'ProductAddons__created' => 'datetime', 'ProductAddons.created' => 'datetime', 'ProductAddons__modified' => 'datetime', 'ProductAddons.modified' => 'datetime', 'ProductCategories__id' => 'integer', 'ProductCategories.id' => 'integer', 'ProductCategories__title' => 'string', 'ProductCategories.title' => 'string', 'ProductCategories__description' => 'text', 'ProductCategories.description' => 'text', 'ProductCategories__image_path' => 'string', 'ProductCategories.image_path' => 'string', 'image_path' => 'string', 'ProductCategories__enabled' => 'boolean', 'ProductCategories.enabled' => 'boolean', 'ProductCategories__created' => 'datetime', 'ProductCategories.created' => 'datetime', 'ProductCategories__modified' => 'datetime', 'ProductCategories.modified' => 'datetime', 'ProductPics__id' => 'integer', 'ProductPics.id' => 'integer', 'ProductPics__product_id' => 'integer', 'ProductPics.product_id' => 'integer', 'ProductPics__title' => 'string', 'ProductPics.title' => 'string', 'ProductPics__description' => 'text', 'ProductPics.description' => 'text', 'ProductPics__url' => 'string', 'ProductPics.url' => 'string', 'url' => 'string', 'ProductPics__alt' => 'string', 'ProductPics.alt' => 'string', 'alt' => 'string', 'ProductPics__small' => 'string', 'ProductPics.small' => 'string', 'small' => 'string', 'ProductPics__large' => 'string', 'ProductPics.large' => 'string', 'large' => 'string', 'ProductPics__original' => 'string', 'ProductPics.original' => 'string', 'original' => 'string', 'ProductPics__created' => 'datetime', 'ProductPics.created' => 'datetime', 'ProductPics__modified' => 'datetime', 'ProductPics.modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'ProductVariationCategories' => [ [maximum depth reached] ], 'ProductAddons' => [[maximum depth reached]], 'ProductCategories' => [[maximum depth reached]], 'ProductPics' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(Ecommerce\Model\Table\ProductsTable) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 Cake\ORM\Query::firstOrFail() - CORE/src/Datasource/QueryTrait.php, line 415
Warning (2): count() [function.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 = (int) 1 $name = 'limit' $sql = 'SELECT Products.id AS `Products__id`, Products.name AS `Products__name`, Products.price AS `Products__price`, Products.f_path AS `Products__f_path`, Products.enabled AS `Products__enabled`, Products.unit_shipping_price AS `Products__unit_shipping_price`, Products.details AS `Products__details` FROM products Products WHERE Products.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' => [ 'Products__id' => 'integer', 'Products.id' => 'integer', 'id' => 'integer', 'Products__name' => 'string', 'Products.name' => 'string', 'name' => 'string', 'Products__price' => 'float', 'Products.price' => 'float', 'price' => 'float', 'Products__monthly_price' => 'float', 'Products.monthly_price' => 'float', 'monthly_price' => 'float', 'Products__annual_price' => 'float', 'Products.annual_price' => 'float', 'annual_price' => 'float', 'Products__vat_price' => 'float', 'Products.vat_price' => 'float', 'vat_price' => 'float', 'Products__vat_monthly' => 'float', 'Products.vat_monthly' => 'float', 'vat_monthly' => 'float', 'Products__vat_annually' => 'float', 'Products.vat_annually' => 'float', 'vat_annually' => 'float', 'Products__us_monthly' => 'float', 'Products.us_monthly' => 'float', 'us_monthly' => 'float', 'Products__us_annually' => 'float', 'Products.us_annually' => 'float', 'us_annually' => 'float', 'Products__discount' => 'float', 'Products.discount' => 'float', 'discount' => 'float', 'Products__unit_shipping_price' => 'decimal', 'Products.unit_shipping_price' => 'decimal', 'unit_shipping_price' => 'decimal', 'Products__youtube_url' => 'string', 'Products.youtube_url' => 'string', 'youtube_url' => 'string', 'Products__video_path' => 'string', 'Products.video_path' => 'string', 'video_path' => 'string', 'Products__f_path' => 'string', 'Products.f_path' => 'string', 'f_path' => 'string', 'Products__details' => 'text', 'Products.details' => 'text', 'details' => 'text', 'Products__enabled' => 'boolean', 'Products.enabled' => 'boolean', 'enabled' => 'boolean', 'Products__created' => 'datetime', 'Products.created' => 'datetime', 'created' => 'datetime', 'Products__modified' => 'datetime', 'Products.modified' => 'datetime', 'modified' => 'datetime', 'Products__webinar_id' => 'integer', 'Products.webinar_id' => 'integer', 'webinar_id' => 'integer', 'ProductVariationCategories__id' => 'integer', 'ProductVariationCategories.id' => 'integer', 'ProductVariationCategories__product_id' => 'integer', 'ProductVariationCategories.product_id' => 'integer', 'product_id' => 'integer', 'ProductVariationCategories__title' => 'string', 'ProductVariationCategories.title' => 'string', 'title' => 'string', 'ProductVariationCategories__description' => 'text', 'ProductVariationCategories.description' => 'text', 'description' => 'text', 'ProductVariationCategories__created' => 'datetime', 'ProductVariationCategories.created' => 'datetime', 'ProductVariationCategories__modified' => 'datetime', 'ProductVariationCategories.modified' => 'datetime', 'ProductVariations__id' => 'integer', 'ProductVariations.id' => 'integer', 'ProductVariations__product_variation_category_id' => 'integer', 'ProductVariations.product_variation_category_id' => 'integer', 'product_variation_category_id' => 'integer', 'ProductVariations__title' => 'string', 'ProductVariations.title' => 'string', 'ProductVariations__description' => 'text', 'ProductVariations.description' => 'text', 'ProductVariations__price_modifier' => 'decimal', 'ProductVariations.price_modifier' => 'decimal', 'price_modifier' => 'decimal', 'ProductVariations__created' => 'datetime', 'ProductVariations.created' => 'datetime', 'ProductVariations__modified' => 'datetime', 'ProductVariations.modified' => 'datetime', 'ProductAddons__id' => 'integer', 'ProductAddons.id' => 'integer', 'ProductAddons__product_id' => 'integer', 'ProductAddons.product_id' => 'integer', 'ProductAddons__title' => 'string', 'ProductAddons.title' => 'string', 'ProductAddons__description' => 'text', 'ProductAddons.description' => 'text', 'ProductAddons__price_modifier' => 'decimal', 'ProductAddons.price_modifier' => 'decimal', 'ProductAddons__created' => 'datetime', 'ProductAddons.created' => 'datetime', 'ProductAddons__modified' => 'datetime', 'ProductAddons.modified' => 'datetime', 'ProductCategories__id' => 'integer', 'ProductCategories.id' => 'integer', 'ProductCategories__title' => 'string', 'ProductCategories.title' => 'string', 'ProductCategories__description' => 'text', 'ProductCategories.description' => 'text', 'ProductCategories__image_path' => 'string', 'ProductCategories.image_path' => 'string', 'image_path' => 'string', 'ProductCategories__enabled' => 'boolean', 'ProductCategories.enabled' => 'boolean', 'ProductCategories__created' => 'datetime', 'ProductCategories.created' => 'datetime', 'ProductCategories__modified' => 'datetime', 'ProductCategories.modified' => 'datetime', 'ProductPics__id' => 'integer', 'ProductPics.id' => 'integer', 'ProductPics__product_id' => 'integer', 'ProductPics.product_id' => 'integer', 'ProductPics__title' => 'string', 'ProductPics.title' => 'string', 'ProductPics__description' => 'text', 'ProductPics.description' => 'text', 'ProductPics__url' => 'string', 'ProductPics.url' => 'string', 'url' => 'string', 'ProductPics__alt' => 'string', 'ProductPics.alt' => 'string', 'alt' => 'string', 'ProductPics__small' => 'string', 'ProductPics.small' => 'string', 'small' => 'string', 'ProductPics__large' => 'string', 'ProductPics.large' => 'string', 'large' => 'string', 'ProductPics__original' => 'string', 'ProductPics.original' => 'string', 'original' => 'string', 'ProductPics__created' => 'datetime', 'ProductPics.created' => 'datetime', 'ProductPics__modified' => 'datetime', 'ProductPics.modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'ProductVariationCategories' => [ [maximum depth reached] ], 'ProductAddons' => [[maximum depth reached]], 'ProductCategories' => [[maximum depth reached]], 'ProductPics' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(Ecommerce\Model\Table\ProductsTable) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 Cake\ORM\Query::firstOrFail() - CORE/src/Datasource/QueryTrait.php, line 415
Warning (2): count() [function.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 = 'offset' $sql = 'SELECT Products.id AS `Products__id`, Products.name AS `Products__name`, Products.price AS `Products__price`, Products.f_path AS `Products__f_path`, Products.enabled AS `Products__enabled`, Products.unit_shipping_price AS `Products__unit_shipping_price`, Products.details AS `Products__details` FROM products Products WHERE Products.id = :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' => [ 'Products__id' => 'integer', 'Products.id' => 'integer', 'id' => 'integer', 'Products__name' => 'string', 'Products.name' => 'string', 'name' => 'string', 'Products__price' => 'float', 'Products.price' => 'float', 'price' => 'float', 'Products__monthly_price' => 'float', 'Products.monthly_price' => 'float', 'monthly_price' => 'float', 'Products__annual_price' => 'float', 'Products.annual_price' => 'float', 'annual_price' => 'float', 'Products__vat_price' => 'float', 'Products.vat_price' => 'float', 'vat_price' => 'float', 'Products__vat_monthly' => 'float', 'Products.vat_monthly' => 'float', 'vat_monthly' => 'float', 'Products__vat_annually' => 'float', 'Products.vat_annually' => 'float', 'vat_annually' => 'float', 'Products__us_monthly' => 'float', 'Products.us_monthly' => 'float', 'us_monthly' => 'float', 'Products__us_annually' => 'float', 'Products.us_annually' => 'float', 'us_annually' => 'float', 'Products__discount' => 'float', 'Products.discount' => 'float', 'discount' => 'float', 'Products__unit_shipping_price' => 'decimal', 'Products.unit_shipping_price' => 'decimal', 'unit_shipping_price' => 'decimal', 'Products__youtube_url' => 'string', 'Products.youtube_url' => 'string', 'youtube_url' => 'string', 'Products__video_path' => 'string', 'Products.video_path' => 'string', 'video_path' => 'string', 'Products__f_path' => 'string', 'Products.f_path' => 'string', 'f_path' => 'string', 'Products__details' => 'text', 'Products.details' => 'text', 'details' => 'text', 'Products__enabled' => 'boolean', 'Products.enabled' => 'boolean', 'enabled' => 'boolean', 'Products__created' => 'datetime', 'Products.created' => 'datetime', 'created' => 'datetime', 'Products__modified' => 'datetime', 'Products.modified' => 'datetime', 'modified' => 'datetime', 'Products__webinar_id' => 'integer', 'Products.webinar_id' => 'integer', 'webinar_id' => 'integer', 'ProductVariationCategories__id' => 'integer', 'ProductVariationCategories.id' => 'integer', 'ProductVariationCategories__product_id' => 'integer', 'ProductVariationCategories.product_id' => 'integer', 'product_id' => 'integer', 'ProductVariationCategories__title' => 'string', 'ProductVariationCategories.title' => 'string', 'title' => 'string', 'ProductVariationCategories__description' => 'text', 'ProductVariationCategories.description' => 'text', 'description' => 'text', 'ProductVariationCategories__created' => 'datetime', 'ProductVariationCategories.created' => 'datetime', 'ProductVariationCategories__modified' => 'datetime', 'ProductVariationCategories.modified' => 'datetime', 'ProductVariations__id' => 'integer', 'ProductVariations.id' => 'integer', 'ProductVariations__product_variation_category_id' => 'integer', 'ProductVariations.product_variation_category_id' => 'integer', 'product_variation_category_id' => 'integer', 'ProductVariations__title' => 'string', 'ProductVariations.title' => 'string', 'ProductVariations__description' => 'text', 'ProductVariations.description' => 'text', 'ProductVariations__price_modifier' => 'decimal', 'ProductVariations.price_modifier' => 'decimal', 'price_modifier' => 'decimal', 'ProductVariations__created' => 'datetime', 'ProductVariations.created' => 'datetime', 'ProductVariations__modified' => 'datetime', 'ProductVariations.modified' => 'datetime', 'ProductAddons__id' => 'integer', 'ProductAddons.id' => 'integer', 'ProductAddons__product_id' => 'integer', 'ProductAddons.product_id' => 'integer', 'ProductAddons__title' => 'string', 'ProductAddons.title' => 'string', 'ProductAddons__description' => 'text', 'ProductAddons.description' => 'text', 'ProductAddons__price_modifier' => 'decimal', 'ProductAddons.price_modifier' => 'decimal', 'ProductAddons__created' => 'datetime', 'ProductAddons.created' => 'datetime', 'ProductAddons__modified' => 'datetime', 'ProductAddons.modified' => 'datetime', 'ProductCategories__id' => 'integer', 'ProductCategories.id' => 'integer', 'ProductCategories__title' => 'string', 'ProductCategories.title' => 'string', 'ProductCategories__description' => 'text', 'ProductCategories.description' => 'text', 'ProductCategories__image_path' => 'string', 'ProductCategories.image_path' => 'string', 'image_path' => 'string', 'ProductCategories__enabled' => 'boolean', 'ProductCategories.enabled' => 'boolean', 'ProductCategories__created' => 'datetime', 'ProductCategories.created' => 'datetime', 'ProductCategories__modified' => 'datetime', 'ProductCategories.modified' => 'datetime', 'ProductPics__id' => 'integer', 'ProductPics.id' => 'integer', 'ProductPics__product_id' => 'integer', 'ProductPics.product_id' => 'integer', 'ProductPics__title' => 'string', 'ProductPics.title' => 'string', 'ProductPics__description' => 'text', 'ProductPics.description' => 'text', 'ProductPics__url' => 'string', 'ProductPics.url' => 'string', 'url' => 'string', 'ProductPics__alt' => 'string', 'ProductPics.alt' => 'string', 'alt' => 'string', 'ProductPics__small' => 'string', 'ProductPics.small' => 'string', 'small' => 'string', 'ProductPics__large' => 'string', 'ProductPics.large' => 'string', 'large' => 'string', 'ProductPics__original' => 'string', 'ProductPics.original' => 'string', 'original' => 'string', 'ProductPics__created' => 'datetime', 'ProductPics.created' => 'datetime', 'ProductPics__modified' => 'datetime', 'ProductPics.modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'ProductVariationCategories' => [ [maximum depth reached] ], 'ProductAddons' => [[maximum depth reached]], 'ProductCategories' => [[maximum depth reached]], 'ProductPics' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(Ecommerce\Model\Table\ProductsTable) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 Cake\ORM\Query::firstOrFail() - CORE/src/Datasource/QueryTrait.php, line 415
Warning (2): count() [function.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 = 'epilog' $sql = 'SELECT Products.id AS `Products__id`, Products.name AS `Products__name`, Products.price AS `Products__price`, Products.f_path AS `Products__f_path`, Products.enabled AS `Products__enabled`, Products.unit_shipping_price AS `Products__unit_shipping_price`, Products.details AS `Products__details` FROM products Products WHERE Products.id = :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' => [ 'Products__id' => 'integer', 'Products.id' => 'integer', 'id' => 'integer', 'Products__name' => 'string', 'Products.name' => 'string', 'name' => 'string', 'Products__price' => 'float', 'Products.price' => 'float', 'price' => 'float', 'Products__monthly_price' => 'float', 'Products.monthly_price' => 'float', 'monthly_price' => 'float', 'Products__annual_price' => 'float', 'Products.annual_price' => 'float', 'annual_price' => 'float', 'Products__vat_price' => 'float', 'Products.vat_price' => 'float', 'vat_price' => 'float', 'Products__vat_monthly' => 'float', 'Products.vat_monthly' => 'float', 'vat_monthly' => 'float', 'Products__vat_annually' => 'float', 'Products.vat_annually' => 'float', 'vat_annually' => 'float', 'Products__us_monthly' => 'float', 'Products.us_monthly' => 'float', 'us_monthly' => 'float', 'Products__us_annually' => 'float', 'Products.us_annually' => 'float', 'us_annually' => 'float', 'Products__discount' => 'float', 'Products.discount' => 'float', 'discount' => 'float', 'Products__unit_shipping_price' => 'decimal', 'Products.unit_shipping_price' => 'decimal', 'unit_shipping_price' => 'decimal', 'Products__youtube_url' => 'string', 'Products.youtube_url' => 'string', 'youtube_url' => 'string', 'Products__video_path' => 'string', 'Products.video_path' => 'string', 'video_path' => 'string', 'Products__f_path' => 'string', 'Products.f_path' => 'string', 'f_path' => 'string', 'Products__details' => 'text', 'Products.details' => 'text', 'details' => 'text', 'Products__enabled' => 'boolean', 'Products.enabled' => 'boolean', 'enabled' => 'boolean', 'Products__created' => 'datetime', 'Products.created' => 'datetime', 'created' => 'datetime', 'Products__modified' => 'datetime', 'Products.modified' => 'datetime', 'modified' => 'datetime', 'Products__webinar_id' => 'integer', 'Products.webinar_id' => 'integer', 'webinar_id' => 'integer', 'ProductVariationCategories__id' => 'integer', 'ProductVariationCategories.id' => 'integer', 'ProductVariationCategories__product_id' => 'integer', 'ProductVariationCategories.product_id' => 'integer', 'product_id' => 'integer', 'ProductVariationCategories__title' => 'string', 'ProductVariationCategories.title' => 'string', 'title' => 'string', 'ProductVariationCategories__description' => 'text', 'ProductVariationCategories.description' => 'text', 'description' => 'text', 'ProductVariationCategories__created' => 'datetime', 'ProductVariationCategories.created' => 'datetime', 'ProductVariationCategories__modified' => 'datetime', 'ProductVariationCategories.modified' => 'datetime', 'ProductVariations__id' => 'integer', 'ProductVariations.id' => 'integer', 'ProductVariations__product_variation_category_id' => 'integer', 'ProductVariations.product_variation_category_id' => 'integer', 'product_variation_category_id' => 'integer', 'ProductVariations__title' => 'string', 'ProductVariations.title' => 'string', 'ProductVariations__description' => 'text', 'ProductVariations.description' => 'text', 'ProductVariations__price_modifier' => 'decimal', 'ProductVariations.price_modifier' => 'decimal', 'price_modifier' => 'decimal', 'ProductVariations__created' => 'datetime', 'ProductVariations.created' => 'datetime', 'ProductVariations__modified' => 'datetime', 'ProductVariations.modified' => 'datetime', 'ProductAddons__id' => 'integer', 'ProductAddons.id' => 'integer', 'ProductAddons__product_id' => 'integer', 'ProductAddons.product_id' => 'integer', 'ProductAddons__title' => 'string', 'ProductAddons.title' => 'string', 'ProductAddons__description' => 'text', 'ProductAddons.description' => 'text', 'ProductAddons__price_modifier' => 'decimal', 'ProductAddons.price_modifier' => 'decimal', 'ProductAddons__created' => 'datetime', 'ProductAddons.created' => 'datetime', 'ProductAddons__modified' => 'datetime', 'ProductAddons.modified' => 'datetime', 'ProductCategories__id' => 'integer', 'ProductCategories.id' => 'integer', 'ProductCategories__title' => 'string', 'ProductCategories.title' => 'string', 'ProductCategories__description' => 'text', 'ProductCategories.description' => 'text', 'ProductCategories__image_path' => 'string', 'ProductCategories.image_path' => 'string', 'image_path' => 'string', 'ProductCategories__enabled' => 'boolean', 'ProductCategories.enabled' => 'boolean', 'ProductCategories__created' => 'datetime', 'ProductCategories.created' => 'datetime', 'ProductCategories__modified' => 'datetime', 'ProductCategories.modified' => 'datetime', 'ProductPics__id' => 'integer', 'ProductPics.id' => 'integer', 'ProductPics__product_id' => 'integer', 'ProductPics.product_id' => 'integer', 'ProductPics__title' => 'string', 'ProductPics.title' => 'string', 'ProductPics__description' => 'text', 'ProductPics.description' => 'text', 'ProductPics__url' => 'string', 'ProductPics.url' => 'string', 'url' => 'string', 'ProductPics__alt' => 'string', 'ProductPics.alt' => 'string', 'alt' => 'string', 'ProductPics__small' => 'string', 'ProductPics.small' => 'string', 'small' => 'string', 'ProductPics__large' => 'string', 'ProductPics.large' => 'string', 'large' => 'string', 'ProductPics__original' => 'string', 'ProductPics.original' => 'string', 'original' => 'string', 'ProductPics__created' => 'datetime', 'ProductPics.created' => 'datetime', 'ProductPics__modified' => 'datetime', 'ProductPics.modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'ProductVariationCategories' => [ [maximum depth reached] ], 'ProductAddons' => [[maximum depth reached]], 'ProductCategories' => [[maximum depth reached]], 'ProductPics' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(Ecommerce\Model\Table\ProductsTable) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 Cake\ORM\Query::firstOrFail() - CORE/src/Datasource/QueryTrait.php, line 415
Warning (2): count() [function.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 ProductVariationCategories.id AS `ProductVariationCategories__id`, ProductVariationCategories.product_id AS `ProductVariationCategories__product_id`, ProductVariationCategories.title AS `ProductVariationCategories__title`, ProductVariationCategories.description AS `ProductVariationCategories__description`, ProductVariationCategories.created AS `ProductVariationCategories__created`, ProductVariationCategories.modified AS `ProductVariationCategories__modified` FROM product_variation_categories ProductVariationCategories WHERE ProductVariationCategories.product_id in (: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' => [ 'ProductVariationCategories__id' => 'integer', 'ProductVariationCategories.id' => 'integer', 'id' => 'integer', 'ProductVariationCategories__product_id' => 'integer', 'ProductVariationCategories.product_id' => 'integer', 'product_id' => 'integer', 'ProductVariationCategories__title' => 'string', 'ProductVariationCategories.title' => 'string', 'title' => 'string', 'ProductVariationCategories__description' => 'text', 'ProductVariationCategories.description' => 'text', 'description' => 'text', 'ProductVariationCategories__created' => 'datetime', 'ProductVariationCategories.created' => 'datetime', 'created' => 'datetime', 'ProductVariationCategories__modified' => 'datetime', 'ProductVariationCategories.modified' => 'datetime', 'modified' => 'datetime', 'ProductVariations__id' => 'integer', 'ProductVariations.id' => 'integer', 'ProductVariations__product_variation_category_id' => 'integer', 'ProductVariations.product_variation_category_id' => 'integer', 'product_variation_category_id' => 'integer', 'ProductVariations__title' => 'string', 'ProductVariations.title' => 'string', 'ProductVariations__description' => 'text', 'ProductVariations.description' => 'text', 'ProductVariations__price_modifier' => 'decimal', 'ProductVariations.price_modifier' => 'decimal', 'price_modifier' => 'decimal', 'ProductVariations__created' => 'datetime', 'ProductVariations.created' => 'datetime', 'ProductVariations__modified' => 'datetime', 'ProductVariations.modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'ProductVariations' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(Ecommerce\Model\Table\ProductVariationCategoriesTable) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 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() [function.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 = 'order' $sql = 'SELECT ProductVariationCategories.id AS `ProductVariationCategories__id`, ProductVariationCategories.product_id AS `ProductVariationCategories__product_id`, ProductVariationCategories.title AS `ProductVariationCategories__title`, ProductVariationCategories.description AS `ProductVariationCategories__description`, ProductVariationCategories.created AS `ProductVariationCategories__created`, ProductVariationCategories.modified AS `ProductVariationCategories__modified` FROM product_variation_categories ProductVariationCategories WHERE ProductVariationCategories.product_id in (: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' => [ 'ProductVariationCategories__id' => 'integer', 'ProductVariationCategories.id' => 'integer', 'id' => 'integer', 'ProductVariationCategories__product_id' => 'integer', 'ProductVariationCategories.product_id' => 'integer', 'product_id' => 'integer', 'ProductVariationCategories__title' => 'string', 'ProductVariationCategories.title' => 'string', 'title' => 'string', 'ProductVariationCategories__description' => 'text', 'ProductVariationCategories.description' => 'text', 'description' => 'text', 'ProductVariationCategories__created' => 'datetime', 'ProductVariationCategories.created' => 'datetime', 'created' => 'datetime', 'ProductVariationCategories__modified' => 'datetime', 'ProductVariationCategories.modified' => 'datetime', 'modified' => 'datetime', 'ProductVariations__id' => 'integer', 'ProductVariations.id' => 'integer', 'ProductVariations__product_variation_category_id' => 'integer', 'ProductVariations.product_variation_category_id' => 'integer', 'product_variation_category_id' => 'integer', 'ProductVariations__title' => 'string', 'ProductVariations.title' => 'string', 'ProductVariations__description' => 'text', 'ProductVariations.description' => 'text', 'ProductVariations__price_modifier' => 'decimal', 'ProductVariations.price_modifier' => 'decimal', 'price_modifier' => 'decimal', 'ProductVariations__created' => 'datetime', 'ProductVariations.created' => 'datetime', 'ProductVariations__modified' => 'datetime', 'ProductVariations.modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'ProductVariations' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(Ecommerce\Model\Table\ProductVariationCategoriesTable) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 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() [function.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 = 'limit' $sql = 'SELECT ProductVariationCategories.id AS `ProductVariationCategories__id`, ProductVariationCategories.product_id AS `ProductVariationCategories__product_id`, ProductVariationCategories.title AS `ProductVariationCategories__title`, ProductVariationCategories.description AS `ProductVariationCategories__description`, ProductVariationCategories.created AS `ProductVariationCategories__created`, ProductVariationCategories.modified AS `ProductVariationCategories__modified` FROM product_variation_categories ProductVariationCategories WHERE ProductVariationCategories.product_id in (: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' => [ 'ProductVariationCategories__id' => 'integer', 'ProductVariationCategories.id' => 'integer', 'id' => 'integer', 'ProductVariationCategories__product_id' => 'integer', 'ProductVariationCategories.product_id' => 'integer', 'product_id' => 'integer', 'ProductVariationCategories__title' => 'string', 'ProductVariationCategories.title' => 'string', 'title' => 'string', 'ProductVariationCategories__description' => 'text', 'ProductVariationCategories.description' => 'text', 'description' => 'text', 'ProductVariationCategories__created' => 'datetime', 'ProductVariationCategories.created' => 'datetime', 'created' => 'datetime', 'ProductVariationCategories__modified' => 'datetime', 'ProductVariationCategories.modified' => 'datetime', 'modified' => 'datetime', 'ProductVariations__id' => 'integer', 'ProductVariations.id' => 'integer', 'ProductVariations__product_variation_category_id' => 'integer', 'ProductVariations.product_variation_category_id' => 'integer', 'product_variation_category_id' => 'integer', 'ProductVariations__title' => 'string', 'ProductVariations.title' => 'string', 'ProductVariations__description' => 'text', 'ProductVariations.description' => 'text', 'ProductVariations__price_modifier' => 'decimal', 'ProductVariations.price_modifier' => 'decimal', 'price_modifier' => 'decimal', 'ProductVariations__created' => 'datetime', 'ProductVariations.created' => 'datetime', 'ProductVariations__modified' => 'datetime', 'ProductVariations.modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'ProductVariations' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(Ecommerce\Model\Table\ProductVariationCategoriesTable) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 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() [function.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 = 'offset' $sql = 'SELECT ProductVariationCategories.id AS `ProductVariationCategories__id`, ProductVariationCategories.product_id AS `ProductVariationCategories__product_id`, ProductVariationCategories.title AS `ProductVariationCategories__title`, ProductVariationCategories.description AS `ProductVariationCategories__description`, ProductVariationCategories.created AS `ProductVariationCategories__created`, ProductVariationCategories.modified AS `ProductVariationCategories__modified` FROM product_variation_categories ProductVariationCategories WHERE ProductVariationCategories.product_id in (: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' => [ 'ProductVariationCategories__id' => 'integer', 'ProductVariationCategories.id' => 'integer', 'id' => 'integer', 'ProductVariationCategories__product_id' => 'integer', 'ProductVariationCategories.product_id' => 'integer', 'product_id' => 'integer', 'ProductVariationCategories__title' => 'string', 'ProductVariationCategories.title' => 'string', 'title' => 'string', 'ProductVariationCategories__description' => 'text', 'ProductVariationCategories.description' => 'text', 'description' => 'text', 'ProductVariationCategories__created' => 'datetime', 'ProductVariationCategories.created' => 'datetime', 'created' => 'datetime', 'ProductVariationCategories__modified' => 'datetime', 'ProductVariationCategories.modified' => 'datetime', 'modified' => 'datetime', 'ProductVariations__id' => 'integer', 'ProductVariations.id' => 'integer', 'ProductVariations__product_variation_category_id' => 'integer', 'ProductVariations.product_variation_category_id' => 'integer', 'product_variation_category_id' => 'integer', 'ProductVariations__title' => 'string', 'ProductVariations.title' => 'string', 'ProductVariations__description' => 'text', 'ProductVariations.description' => 'text', 'ProductVariations__price_modifier' => 'decimal', 'ProductVariations.price_modifier' => 'decimal', 'price_modifier' => 'decimal', 'ProductVariations__created' => 'datetime', 'ProductVariations.created' => 'datetime', 'ProductVariations__modified' => 'datetime', 'ProductVariations.modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'ProductVariations' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(Ecommerce\Model\Table\ProductVariationCategoriesTable) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 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() [function.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 = 'epilog' $sql = 'SELECT ProductVariationCategories.id AS `ProductVariationCategories__id`, ProductVariationCategories.product_id AS `ProductVariationCategories__product_id`, ProductVariationCategories.title AS `ProductVariationCategories__title`, ProductVariationCategories.description AS `ProductVariationCategories__description`, ProductVariationCategories.created AS `ProductVariationCategories__created`, ProductVariationCategories.modified AS `ProductVariationCategories__modified` FROM product_variation_categories ProductVariationCategories WHERE ProductVariationCategories.product_id in (: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' => [ 'ProductVariationCategories__id' => 'integer', 'ProductVariationCategories.id' => 'integer', 'id' => 'integer', 'ProductVariationCategories__product_id' => 'integer', 'ProductVariationCategories.product_id' => 'integer', 'product_id' => 'integer', 'ProductVariationCategories__title' => 'string', 'ProductVariationCategories.title' => 'string', 'title' => 'string', 'ProductVariationCategories__description' => 'text', 'ProductVariationCategories.description' => 'text', 'description' => 'text', 'ProductVariationCategories__created' => 'datetime', 'ProductVariationCategories.created' => 'datetime', 'created' => 'datetime', 'ProductVariationCategories__modified' => 'datetime', 'ProductVariationCategories.modified' => 'datetime', 'modified' => 'datetime', 'ProductVariations__id' => 'integer', 'ProductVariations.id' => 'integer', 'ProductVariations__product_variation_category_id' => 'integer', 'ProductVariations.product_variation_category_id' => 'integer', 'product_variation_category_id' => 'integer', 'ProductVariations__title' => 'string', 'ProductVariations.title' => 'string', 'ProductVariations__description' => 'text', 'ProductVariations.description' => 'text', 'ProductVariations__price_modifier' => 'decimal', 'ProductVariations.price_modifier' => 'decimal', 'price_modifier' => 'decimal', 'ProductVariations__created' => 'datetime', 'ProductVariations.created' => 'datetime', 'ProductVariations__modified' => 'datetime', 'ProductVariations.modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [ 'ProductVariations' => [[maximum depth reached]] ], 'matching' => [], 'extraOptions' => [], 'repository' => object(Ecommerce\Model\Table\ProductVariationCategoriesTable) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 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() [function.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 ProductAddons.id AS `ProductAddons__id`, ProductAddons.product_id AS `ProductAddons__product_id`, ProductAddons.title AS `ProductAddons__title`, ProductAddons.description AS `ProductAddons__description`, ProductAddons.price_modifier AS `ProductAddons__price_modifier`, ProductAddons.created AS `ProductAddons__created`, ProductAddons.modified AS `ProductAddons__modified` FROM product_addons ProductAddons WHERE ProductAddons.product_id in (: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' => [ 'ProductAddons__id' => 'integer', 'ProductAddons.id' => 'integer', 'id' => 'integer', 'ProductAddons__product_id' => 'integer', 'ProductAddons.product_id' => 'integer', 'product_id' => 'integer', 'ProductAddons__title' => 'string', 'ProductAddons.title' => 'string', 'title' => 'string', 'ProductAddons__description' => 'text', 'ProductAddons.description' => 'text', 'description' => 'text', 'ProductAddons__price_modifier' => 'decimal', 'ProductAddons.price_modifier' => 'decimal', 'price_modifier' => 'decimal', 'ProductAddons__created' => 'datetime', 'ProductAddons.created' => 'datetime', 'created' => 'datetime', 'ProductAddons__modified' => 'datetime', 'ProductAddons.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Ecommerce\Model\Table\ProductAddonsTable) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 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() [function.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 = 'order' $sql = 'SELECT ProductAddons.id AS `ProductAddons__id`, ProductAddons.product_id AS `ProductAddons__product_id`, ProductAddons.title AS `ProductAddons__title`, ProductAddons.description AS `ProductAddons__description`, ProductAddons.price_modifier AS `ProductAddons__price_modifier`, ProductAddons.created AS `ProductAddons__created`, ProductAddons.modified AS `ProductAddons__modified` FROM product_addons ProductAddons WHERE ProductAddons.product_id in (: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' => [ 'ProductAddons__id' => 'integer', 'ProductAddons.id' => 'integer', 'id' => 'integer', 'ProductAddons__product_id' => 'integer', 'ProductAddons.product_id' => 'integer', 'product_id' => 'integer', 'ProductAddons__title' => 'string', 'ProductAddons.title' => 'string', 'title' => 'string', 'ProductAddons__description' => 'text', 'ProductAddons.description' => 'text', 'description' => 'text', 'ProductAddons__price_modifier' => 'decimal', 'ProductAddons.price_modifier' => 'decimal', 'price_modifier' => 'decimal', 'ProductAddons__created' => 'datetime', 'ProductAddons.created' => 'datetime', 'created' => 'datetime', 'ProductAddons__modified' => 'datetime', 'ProductAddons.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Ecommerce\Model\Table\ProductAddonsTable) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 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() [function.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 = 'limit' $sql = 'SELECT ProductAddons.id AS `ProductAddons__id`, ProductAddons.product_id AS `ProductAddons__product_id`, ProductAddons.title AS `ProductAddons__title`, ProductAddons.description AS `ProductAddons__description`, ProductAddons.price_modifier AS `ProductAddons__price_modifier`, ProductAddons.created AS `ProductAddons__created`, ProductAddons.modified AS `ProductAddons__modified` FROM product_addons ProductAddons WHERE ProductAddons.product_id in (: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' => [ 'ProductAddons__id' => 'integer', 'ProductAddons.id' => 'integer', 'id' => 'integer', 'ProductAddons__product_id' => 'integer', 'ProductAddons.product_id' => 'integer', 'product_id' => 'integer', 'ProductAddons__title' => 'string', 'ProductAddons.title' => 'string', 'title' => 'string', 'ProductAddons__description' => 'text', 'ProductAddons.description' => 'text', 'description' => 'text', 'ProductAddons__price_modifier' => 'decimal', 'ProductAddons.price_modifier' => 'decimal', 'price_modifier' => 'decimal', 'ProductAddons__created' => 'datetime', 'ProductAddons.created' => 'datetime', 'created' => 'datetime', 'ProductAddons__modified' => 'datetime', 'ProductAddons.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Ecommerce\Model\Table\ProductAddonsTable) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 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() [function.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 = 'offset' $sql = 'SELECT ProductAddons.id AS `ProductAddons__id`, ProductAddons.product_id AS `ProductAddons__product_id`, ProductAddons.title AS `ProductAddons__title`, ProductAddons.description AS `ProductAddons__description`, ProductAddons.price_modifier AS `ProductAddons__price_modifier`, ProductAddons.created AS `ProductAddons__created`, ProductAddons.modified AS `ProductAddons__modified` FROM product_addons ProductAddons WHERE ProductAddons.product_id in (: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' => [ 'ProductAddons__id' => 'integer', 'ProductAddons.id' => 'integer', 'id' => 'integer', 'ProductAddons__product_id' => 'integer', 'ProductAddons.product_id' => 'integer', 'product_id' => 'integer', 'ProductAddons__title' => 'string', 'ProductAddons.title' => 'string', 'title' => 'string', 'ProductAddons__description' => 'text', 'ProductAddons.description' => 'text', 'description' => 'text', 'ProductAddons__price_modifier' => 'decimal', 'ProductAddons.price_modifier' => 'decimal', 'price_modifier' => 'decimal', 'ProductAddons__created' => 'datetime', 'ProductAddons.created' => 'datetime', 'created' => 'datetime', 'ProductAddons__modified' => 'datetime', 'ProductAddons.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Ecommerce\Model\Table\ProductAddonsTable) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 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() [function.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 = 'epilog' $sql = 'SELECT ProductAddons.id AS `ProductAddons__id`, ProductAddons.product_id AS `ProductAddons__product_id`, ProductAddons.title AS `ProductAddons__title`, ProductAddons.description AS `ProductAddons__description`, ProductAddons.price_modifier AS `ProductAddons__price_modifier`, ProductAddons.created AS `ProductAddons__created`, ProductAddons.modified AS `ProductAddons__modified` FROM product_addons ProductAddons WHERE ProductAddons.product_id in (: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' => [ 'ProductAddons__id' => 'integer', 'ProductAddons.id' => 'integer', 'id' => 'integer', 'ProductAddons__product_id' => 'integer', 'ProductAddons.product_id' => 'integer', 'product_id' => 'integer', 'ProductAddons__title' => 'string', 'ProductAddons.title' => 'string', 'title' => 'string', 'ProductAddons__description' => 'text', 'ProductAddons.description' => 'text', 'description' => 'text', 'ProductAddons__price_modifier' => 'decimal', 'ProductAddons.price_modifier' => 'decimal', 'price_modifier' => 'decimal', 'ProductAddons__created' => 'datetime', 'ProductAddons.created' => 'datetime', 'created' => 'datetime', 'ProductAddons__modified' => 'datetime', 'ProductAddons.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Ecommerce\Model\Table\ProductAddonsTable) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 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() [function.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 ProductsProductCategories.id AS `ProductCategories_CJoin__id`, ProductsProductCategories.product_id AS `ProductCategories_CJoin__product_id`, ProductsProductCategories.product_category_id AS `ProductCategories_CJoin__product_category_id`, ProductCategories.id AS `ProductCategories__id`, ProductCategories.title AS `ProductCategories__title`, ProductCategories.description AS `ProductCategories__description`, ProductCategories.image_path AS `ProductCategories__image_path`, ProductCategories.enabled AS `ProductCategories__enabled`, ProductCategories.created AS `ProductCategories__created`, ProductCategories.modified AS `ProductCategories__modified` FROM product_categories ProductCategories INNER JOIN products_product_categories ProductsProductCategories ON ProductCategories.id = (ProductsProductCategories.product_category_id) WHERE ProductsProductCategories.product_id in (: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' => [ 'ProductCategories_CJoin__id' => 'integer', 'ProductCategories_CJoin__product_id' => 'integer', 'ProductCategories_CJoin__product_category_id' => 'integer', 'ProductCategories__id' => 'integer', 'ProductCategories.id' => 'integer', 'id' => 'integer', 'ProductCategories__title' => 'string', 'ProductCategories.title' => 'string', 'title' => 'string', 'ProductCategories__description' => 'text', 'ProductCategories.description' => 'text', 'description' => 'text', 'ProductCategories__image_path' => 'string', 'ProductCategories.image_path' => 'string', 'image_path' => 'string', 'ProductCategories__enabled' => 'boolean', 'ProductCategories.enabled' => 'boolean', 'enabled' => 'boolean', 'ProductCategories__created' => 'datetime', 'ProductCategories.created' => 'datetime', 'created' => 'datetime', 'ProductCategories__modified' => 'datetime', 'ProductCategories.modified' => 'datetime', 'modified' => 'datetime', 'ProductsProductCategories__id' => 'integer', 'ProductsProductCategories.id' => 'integer', 'ProductsProductCategories__product_id' => 'integer', 'ProductsProductCategories.product_id' => 'integer', 'product_id' => 'integer', 'ProductsProductCategories__product_category_id' => 'integer', 'ProductsProductCategories.product_category_id' => 'integer', 'product_category_id' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Ecommerce\Model\Table\ProductCategoriesTable) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\ORM\Association\BelongsToMany::_buildResultMap() - CORE/src/ORM/Association/BelongsToMany.php, line 456 Cake\ORM\Association\BelongsToMany::eagerLoader() - CORE/src/ORM/Association/SelectableAssociationTrait.php, line 49
Warning (2): count() [function.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 = 'order' $sql = 'SELECT ProductsProductCategories.id AS `ProductCategories_CJoin__id`, ProductsProductCategories.product_id AS `ProductCategories_CJoin__product_id`, ProductsProductCategories.product_category_id AS `ProductCategories_CJoin__product_category_id`, ProductCategories.id AS `ProductCategories__id`, ProductCategories.title AS `ProductCategories__title`, ProductCategories.description AS `ProductCategories__description`, ProductCategories.image_path AS `ProductCategories__image_path`, ProductCategories.enabled AS `ProductCategories__enabled`, ProductCategories.created AS `ProductCategories__created`, ProductCategories.modified AS `ProductCategories__modified` FROM product_categories ProductCategories INNER JOIN products_product_categories ProductsProductCategories ON ProductCategories.id = (ProductsProductCategories.product_category_id) WHERE ProductsProductCategories.product_id in (: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' => [ 'ProductCategories_CJoin__id' => 'integer', 'ProductCategories_CJoin__product_id' => 'integer', 'ProductCategories_CJoin__product_category_id' => 'integer', 'ProductCategories__id' => 'integer', 'ProductCategories.id' => 'integer', 'id' => 'integer', 'ProductCategories__title' => 'string', 'ProductCategories.title' => 'string', 'title' => 'string', 'ProductCategories__description' => 'text', 'ProductCategories.description' => 'text', 'description' => 'text', 'ProductCategories__image_path' => 'string', 'ProductCategories.image_path' => 'string', 'image_path' => 'string', 'ProductCategories__enabled' => 'boolean', 'ProductCategories.enabled' => 'boolean', 'enabled' => 'boolean', 'ProductCategories__created' => 'datetime', 'ProductCategories.created' => 'datetime', 'created' => 'datetime', 'ProductCategories__modified' => 'datetime', 'ProductCategories.modified' => 'datetime', 'modified' => 'datetime', 'ProductsProductCategories__id' => 'integer', 'ProductsProductCategories.id' => 'integer', 'ProductsProductCategories__product_id' => 'integer', 'ProductsProductCategories.product_id' => 'integer', 'product_id' => 'integer', 'ProductsProductCategories__product_category_id' => 'integer', 'ProductsProductCategories.product_category_id' => 'integer', 'product_category_id' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Ecommerce\Model\Table\ProductCategoriesTable) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\ORM\Association\BelongsToMany::_buildResultMap() - CORE/src/ORM/Association/BelongsToMany.php, line 456 Cake\ORM\Association\BelongsToMany::eagerLoader() - CORE/src/ORM/Association/SelectableAssociationTrait.php, line 49
Warning (2): count() [function.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 = 'limit' $sql = 'SELECT ProductsProductCategories.id AS `ProductCategories_CJoin__id`, ProductsProductCategories.product_id AS `ProductCategories_CJoin__product_id`, ProductsProductCategories.product_category_id AS `ProductCategories_CJoin__product_category_id`, ProductCategories.id AS `ProductCategories__id`, ProductCategories.title AS `ProductCategories__title`, ProductCategories.description AS `ProductCategories__description`, ProductCategories.image_path AS `ProductCategories__image_path`, ProductCategories.enabled AS `ProductCategories__enabled`, ProductCategories.created AS `ProductCategories__created`, ProductCategories.modified AS `ProductCategories__modified` FROM product_categories ProductCategories INNER JOIN products_product_categories ProductsProductCategories ON ProductCategories.id = (ProductsProductCategories.product_category_id) WHERE ProductsProductCategories.product_id in (: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' => [ 'ProductCategories_CJoin__id' => 'integer', 'ProductCategories_CJoin__product_id' => 'integer', 'ProductCategories_CJoin__product_category_id' => 'integer', 'ProductCategories__id' => 'integer', 'ProductCategories.id' => 'integer', 'id' => 'integer', 'ProductCategories__title' => 'string', 'ProductCategories.title' => 'string', 'title' => 'string', 'ProductCategories__description' => 'text', 'ProductCategories.description' => 'text', 'description' => 'text', 'ProductCategories__image_path' => 'string', 'ProductCategories.image_path' => 'string', 'image_path' => 'string', 'ProductCategories__enabled' => 'boolean', 'ProductCategories.enabled' => 'boolean', 'enabled' => 'boolean', 'ProductCategories__created' => 'datetime', 'ProductCategories.created' => 'datetime', 'created' => 'datetime', 'ProductCategories__modified' => 'datetime', 'ProductCategories.modified' => 'datetime', 'modified' => 'datetime', 'ProductsProductCategories__id' => 'integer', 'ProductsProductCategories.id' => 'integer', 'ProductsProductCategories__product_id' => 'integer', 'ProductsProductCategories.product_id' => 'integer', 'product_id' => 'integer', 'ProductsProductCategories__product_category_id' => 'integer', 'ProductsProductCategories.product_category_id' => 'integer', 'product_category_id' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Ecommerce\Model\Table\ProductCategoriesTable) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\ORM\Association\BelongsToMany::_buildResultMap() - CORE/src/ORM/Association/BelongsToMany.php, line 456 Cake\ORM\Association\BelongsToMany::eagerLoader() - CORE/src/ORM/Association/SelectableAssociationTrait.php, line 49
Warning (2): count() [function.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 = 'offset' $sql = 'SELECT ProductsProductCategories.id AS `ProductCategories_CJoin__id`, ProductsProductCategories.product_id AS `ProductCategories_CJoin__product_id`, ProductsProductCategories.product_category_id AS `ProductCategories_CJoin__product_category_id`, ProductCategories.id AS `ProductCategories__id`, ProductCategories.title AS `ProductCategories__title`, ProductCategories.description AS `ProductCategories__description`, ProductCategories.image_path AS `ProductCategories__image_path`, ProductCategories.enabled AS `ProductCategories__enabled`, ProductCategories.created AS `ProductCategories__created`, ProductCategories.modified AS `ProductCategories__modified` FROM product_categories ProductCategories INNER JOIN products_product_categories ProductsProductCategories ON ProductCategories.id = (ProductsProductCategories.product_category_id) WHERE ProductsProductCategories.product_id in (: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' => [ 'ProductCategories_CJoin__id' => 'integer', 'ProductCategories_CJoin__product_id' => 'integer', 'ProductCategories_CJoin__product_category_id' => 'integer', 'ProductCategories__id' => 'integer', 'ProductCategories.id' => 'integer', 'id' => 'integer', 'ProductCategories__title' => 'string', 'ProductCategories.title' => 'string', 'title' => 'string', 'ProductCategories__description' => 'text', 'ProductCategories.description' => 'text', 'description' => 'text', 'ProductCategories__image_path' => 'string', 'ProductCategories.image_path' => 'string', 'image_path' => 'string', 'ProductCategories__enabled' => 'boolean', 'ProductCategories.enabled' => 'boolean', 'enabled' => 'boolean', 'ProductCategories__created' => 'datetime', 'ProductCategories.created' => 'datetime', 'created' => 'datetime', 'ProductCategories__modified' => 'datetime', 'ProductCategories.modified' => 'datetime', 'modified' => 'datetime', 'ProductsProductCategories__id' => 'integer', 'ProductsProductCategories.id' => 'integer', 'ProductsProductCategories__product_id' => 'integer', 'ProductsProductCategories.product_id' => 'integer', 'product_id' => 'integer', 'ProductsProductCategories__product_category_id' => 'integer', 'ProductsProductCategories.product_category_id' => 'integer', 'product_category_id' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Ecommerce\Model\Table\ProductCategoriesTable) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\ORM\Association\BelongsToMany::_buildResultMap() - CORE/src/ORM/Association/BelongsToMany.php, line 456 Cake\ORM\Association\BelongsToMany::eagerLoader() - CORE/src/ORM/Association/SelectableAssociationTrait.php, line 49
Warning (2): count() [function.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 = 'epilog' $sql = 'SELECT ProductsProductCategories.id AS `ProductCategories_CJoin__id`, ProductsProductCategories.product_id AS `ProductCategories_CJoin__product_id`, ProductsProductCategories.product_category_id AS `ProductCategories_CJoin__product_category_id`, ProductCategories.id AS `ProductCategories__id`, ProductCategories.title AS `ProductCategories__title`, ProductCategories.description AS `ProductCategories__description`, ProductCategories.image_path AS `ProductCategories__image_path`, ProductCategories.enabled AS `ProductCategories__enabled`, ProductCategories.created AS `ProductCategories__created`, ProductCategories.modified AS `ProductCategories__modified` FROM product_categories ProductCategories INNER JOIN products_product_categories ProductsProductCategories ON ProductCategories.id = (ProductsProductCategories.product_category_id) WHERE ProductsProductCategories.product_id in (: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' => [ 'ProductCategories_CJoin__id' => 'integer', 'ProductCategories_CJoin__product_id' => 'integer', 'ProductCategories_CJoin__product_category_id' => 'integer', 'ProductCategories__id' => 'integer', 'ProductCategories.id' => 'integer', 'id' => 'integer', 'ProductCategories__title' => 'string', 'ProductCategories.title' => 'string', 'title' => 'string', 'ProductCategories__description' => 'text', 'ProductCategories.description' => 'text', 'description' => 'text', 'ProductCategories__image_path' => 'string', 'ProductCategories.image_path' => 'string', 'image_path' => 'string', 'ProductCategories__enabled' => 'boolean', 'ProductCategories.enabled' => 'boolean', 'enabled' => 'boolean', 'ProductCategories__created' => 'datetime', 'ProductCategories.created' => 'datetime', 'created' => 'datetime', 'ProductCategories__modified' => 'datetime', 'ProductCategories.modified' => 'datetime', 'modified' => 'datetime', 'ProductsProductCategories__id' => 'integer', 'ProductsProductCategories.id' => 'integer', 'ProductsProductCategories__product_id' => 'integer', 'ProductsProductCategories.product_id' => 'integer', 'product_id' => 'integer', 'ProductsProductCategories__product_category_id' => 'integer', 'ProductsProductCategories.product_category_id' => 'integer', 'product_category_id' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Ecommerce\Model\Table\ProductCategoriesTable) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\ORM\Association\BelongsToMany::_buildResultMap() - CORE/src/ORM/Association/BelongsToMany.php, line 456 Cake\ORM\Association\BelongsToMany::eagerLoader() - CORE/src/ORM/Association/SelectableAssociationTrait.php, line 49
Warning (2): count() [function.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 ProductPics.id AS `ProductPics__id`, ProductPics.product_id AS `ProductPics__product_id`, ProductPics.title AS `ProductPics__title`, ProductPics.description AS `ProductPics__description`, ProductPics.url AS `ProductPics__url`, ProductPics.alt AS `ProductPics__alt`, ProductPics.small AS `ProductPics__small`, ProductPics.large AS `ProductPics__large`, ProductPics.original AS `ProductPics__original`, ProductPics.created AS `ProductPics__created`, ProductPics.modified AS `ProductPics__modified` FROM product_pics ProductPics WHERE ProductPics.product_id in (: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' => [ 'ProductPics__id' => 'integer', 'ProductPics.id' => 'integer', 'id' => 'integer', 'ProductPics__product_id' => 'integer', 'ProductPics.product_id' => 'integer', 'product_id' => 'integer', 'ProductPics__title' => 'string', 'ProductPics.title' => 'string', 'title' => 'string', 'ProductPics__description' => 'text', 'ProductPics.description' => 'text', 'description' => 'text', 'ProductPics__url' => 'string', 'ProductPics.url' => 'string', 'url' => 'string', 'ProductPics__alt' => 'string', 'ProductPics.alt' => 'string', 'alt' => 'string', 'ProductPics__small' => 'string', 'ProductPics.small' => 'string', 'small' => 'string', 'ProductPics__large' => 'string', 'ProductPics.large' => 'string', 'large' => 'string', 'ProductPics__original' => 'string', 'ProductPics.original' => 'string', 'original' => 'string', 'ProductPics__created' => 'datetime', 'ProductPics.created' => 'datetime', 'created' => 'datetime', 'ProductPics__modified' => 'datetime', 'ProductPics.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Ecommerce\Model\Table\ProductPicsTable) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 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() [function.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 = 'order' $sql = 'SELECT ProductPics.id AS `ProductPics__id`, ProductPics.product_id AS `ProductPics__product_id`, ProductPics.title AS `ProductPics__title`, ProductPics.description AS `ProductPics__description`, ProductPics.url AS `ProductPics__url`, ProductPics.alt AS `ProductPics__alt`, ProductPics.small AS `ProductPics__small`, ProductPics.large AS `ProductPics__large`, ProductPics.original AS `ProductPics__original`, ProductPics.created AS `ProductPics__created`, ProductPics.modified AS `ProductPics__modified` FROM product_pics ProductPics WHERE ProductPics.product_id in (: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' => [ 'ProductPics__id' => 'integer', 'ProductPics.id' => 'integer', 'id' => 'integer', 'ProductPics__product_id' => 'integer', 'ProductPics.product_id' => 'integer', 'product_id' => 'integer', 'ProductPics__title' => 'string', 'ProductPics.title' => 'string', 'title' => 'string', 'ProductPics__description' => 'text', 'ProductPics.description' => 'text', 'description' => 'text', 'ProductPics__url' => 'string', 'ProductPics.url' => 'string', 'url' => 'string', 'ProductPics__alt' => 'string', 'ProductPics.alt' => 'string', 'alt' => 'string', 'ProductPics__small' => 'string', 'ProductPics.small' => 'string', 'small' => 'string', 'ProductPics__large' => 'string', 'ProductPics.large' => 'string', 'large' => 'string', 'ProductPics__original' => 'string', 'ProductPics.original' => 'string', 'original' => 'string', 'ProductPics__created' => 'datetime', 'ProductPics.created' => 'datetime', 'created' => 'datetime', 'ProductPics__modified' => 'datetime', 'ProductPics.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Ecommerce\Model\Table\ProductPicsTable) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 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() [function.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 = 'limit' $sql = 'SELECT ProductPics.id AS `ProductPics__id`, ProductPics.product_id AS `ProductPics__product_id`, ProductPics.title AS `ProductPics__title`, ProductPics.description AS `ProductPics__description`, ProductPics.url AS `ProductPics__url`, ProductPics.alt AS `ProductPics__alt`, ProductPics.small AS `ProductPics__small`, ProductPics.large AS `ProductPics__large`, ProductPics.original AS `ProductPics__original`, ProductPics.created AS `ProductPics__created`, ProductPics.modified AS `ProductPics__modified` FROM product_pics ProductPics WHERE ProductPics.product_id in (: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' => [ 'ProductPics__id' => 'integer', 'ProductPics.id' => 'integer', 'id' => 'integer', 'ProductPics__product_id' => 'integer', 'ProductPics.product_id' => 'integer', 'product_id' => 'integer', 'ProductPics__title' => 'string', 'ProductPics.title' => 'string', 'title' => 'string', 'ProductPics__description' => 'text', 'ProductPics.description' => 'text', 'description' => 'text', 'ProductPics__url' => 'string', 'ProductPics.url' => 'string', 'url' => 'string', 'ProductPics__alt' => 'string', 'ProductPics.alt' => 'string', 'alt' => 'string', 'ProductPics__small' => 'string', 'ProductPics.small' => 'string', 'small' => 'string', 'ProductPics__large' => 'string', 'ProductPics.large' => 'string', 'large' => 'string', 'ProductPics__original' => 'string', 'ProductPics.original' => 'string', 'original' => 'string', 'ProductPics__created' => 'datetime', 'ProductPics.created' => 'datetime', 'created' => 'datetime', 'ProductPics__modified' => 'datetime', 'ProductPics.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Ecommerce\Model\Table\ProductPicsTable) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 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() [function.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 = 'offset' $sql = 'SELECT ProductPics.id AS `ProductPics__id`, ProductPics.product_id AS `ProductPics__product_id`, ProductPics.title AS `ProductPics__title`, ProductPics.description AS `ProductPics__description`, ProductPics.url AS `ProductPics__url`, ProductPics.alt AS `ProductPics__alt`, ProductPics.small AS `ProductPics__small`, ProductPics.large AS `ProductPics__large`, ProductPics.original AS `ProductPics__original`, ProductPics.created AS `ProductPics__created`, ProductPics.modified AS `ProductPics__modified` FROM product_pics ProductPics WHERE ProductPics.product_id in (: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' => [ 'ProductPics__id' => 'integer', 'ProductPics.id' => 'integer', 'id' => 'integer', 'ProductPics__product_id' => 'integer', 'ProductPics.product_id' => 'integer', 'product_id' => 'integer', 'ProductPics__title' => 'string', 'ProductPics.title' => 'string', 'title' => 'string', 'ProductPics__description' => 'text', 'ProductPics.description' => 'text', 'description' => 'text', 'ProductPics__url' => 'string', 'ProductPics.url' => 'string', 'url' => 'string', 'ProductPics__alt' => 'string', 'ProductPics.alt' => 'string', 'alt' => 'string', 'ProductPics__small' => 'string', 'ProductPics.small' => 'string', 'small' => 'string', 'ProductPics__large' => 'string', 'ProductPics.large' => 'string', 'large' => 'string', 'ProductPics__original' => 'string', 'ProductPics.original' => 'string', 'original' => 'string', 'ProductPics__created' => 'datetime', 'ProductPics.created' => 'datetime', 'created' => 'datetime', 'ProductPics__modified' => 'datetime', 'ProductPics.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Ecommerce\Model\Table\ProductPicsTable) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 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() [function.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 = 'epilog' $sql = 'SELECT ProductPics.id AS `ProductPics__id`, ProductPics.product_id AS `ProductPics__product_id`, ProductPics.title AS `ProductPics__title`, ProductPics.description AS `ProductPics__description`, ProductPics.url AS `ProductPics__url`, ProductPics.alt AS `ProductPics__alt`, ProductPics.small AS `ProductPics__small`, ProductPics.large AS `ProductPics__large`, ProductPics.original AS `ProductPics__original`, ProductPics.created AS `ProductPics__created`, ProductPics.modified AS `ProductPics__modified` FROM product_pics ProductPics WHERE ProductPics.product_id in (: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' => [ 'ProductPics__id' => 'integer', 'ProductPics.id' => 'integer', 'id' => 'integer', 'ProductPics__product_id' => 'integer', 'ProductPics.product_id' => 'integer', 'product_id' => 'integer', 'ProductPics__title' => 'string', 'ProductPics.title' => 'string', 'title' => 'string', 'ProductPics__description' => 'text', 'ProductPics.description' => 'text', 'description' => 'text', 'ProductPics__url' => 'string', 'ProductPics.url' => 'string', 'url' => 'string', 'ProductPics__alt' => 'string', 'ProductPics.alt' => 'string', 'alt' => 'string', 'ProductPics__small' => 'string', 'ProductPics.small' => 'string', 'small' => 'string', 'ProductPics__large' => 'string', 'ProductPics.large' => 'string', 'large' => 'string', 'ProductPics__original' => 'string', 'ProductPics.original' => 'string', 'original' => 'string', 'ProductPics__created' => 'datetime', 'ProductPics.created' => 'datetime', 'created' => 'datetime', 'ProductPics__modified' => 'datetime', 'ProductPics.modified' => 'datetime', 'modified' => 'datetime' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Ecommerce\Model\Table\ProductPicsTable) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 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() [function.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 Products.id AS `Products__id` FROM products Products WHERE (id < :c0 AND enabled = :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' => [ 'Products__id' => 'integer', 'Products.id' => 'integer', 'id' => 'integer', 'Products__name' => 'string', 'Products.name' => 'string', 'name' => 'string', 'Products__price' => 'float', 'Products.price' => 'float', 'price' => 'float', 'Products__monthly_price' => 'float', 'Products.monthly_price' => 'float', 'monthly_price' => 'float', 'Products__annual_price' => 'float', 'Products.annual_price' => 'float', 'annual_price' => 'float', 'Products__vat_price' => 'float', 'Products.vat_price' => 'float', 'vat_price' => 'float', 'Products__vat_monthly' => 'float', 'Products.vat_monthly' => 'float', 'vat_monthly' => 'float', 'Products__vat_annually' => 'float', 'Products.vat_annually' => 'float', 'vat_annually' => 'float', 'Products__us_monthly' => 'float', 'Products.us_monthly' => 'float', 'us_monthly' => 'float', 'Products__us_annually' => 'float', 'Products.us_annually' => 'float', 'us_annually' => 'float', 'Products__discount' => 'float', 'Products.discount' => 'float', 'discount' => 'float', 'Products__unit_shipping_price' => 'decimal', 'Products.unit_shipping_price' => 'decimal', 'unit_shipping_price' => 'decimal', 'Products__youtube_url' => 'string', 'Products.youtube_url' => 'string', 'youtube_url' => 'string', 'Products__video_path' => 'string', 'Products.video_path' => 'string', 'video_path' => 'string', 'Products__f_path' => 'string', 'Products.f_path' => 'string', 'f_path' => 'string', 'Products__details' => 'text', 'Products.details' => 'text', 'details' => 'text', 'Products__enabled' => 'boolean', 'Products.enabled' => 'boolean', 'enabled' => 'boolean', 'Products__created' => 'datetime', 'Products.created' => 'datetime', 'created' => 'datetime', 'Products__modified' => 'datetime', 'Products.modified' => 'datetime', 'modified' => 'datetime', 'Products__webinar_id' => 'integer', 'Products.webinar_id' => 'integer', 'webinar_id' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Ecommerce\Model\Table\ProductsTable) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 Ecommerce\Model\Table\ProductsTable::findNeighbors() - ROOT/plugins/Ecommerce/src/Model/Table/ProductsTable.php, line 145
Warning (2): count() [function.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 = (int) 1 $name = 'limit' $sql = 'SELECT Products.id AS `Products__id` FROM products Products WHERE (id < :c0 AND enabled = :c1) ORDER BY id 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' => [ 'Products__id' => 'integer', 'Products.id' => 'integer', 'id' => 'integer', 'Products__name' => 'string', 'Products.name' => 'string', 'name' => 'string', 'Products__price' => 'float', 'Products.price' => 'float', 'price' => 'float', 'Products__monthly_price' => 'float', 'Products.monthly_price' => 'float', 'monthly_price' => 'float', 'Products__annual_price' => 'float', 'Products.annual_price' => 'float', 'annual_price' => 'float', 'Products__vat_price' => 'float', 'Products.vat_price' => 'float', 'vat_price' => 'float', 'Products__vat_monthly' => 'float', 'Products.vat_monthly' => 'float', 'vat_monthly' => 'float', 'Products__vat_annually' => 'float', 'Products.vat_annually' => 'float', 'vat_annually' => 'float', 'Products__us_monthly' => 'float', 'Products.us_monthly' => 'float', 'us_monthly' => 'float', 'Products__us_annually' => 'float', 'Products.us_annually' => 'float', 'us_annually' => 'float', 'Products__discount' => 'float', 'Products.discount' => 'float', 'discount' => 'float', 'Products__unit_shipping_price' => 'decimal', 'Products.unit_shipping_price' => 'decimal', 'unit_shipping_price' => 'decimal', 'Products__youtube_url' => 'string', 'Products.youtube_url' => 'string', 'youtube_url' => 'string', 'Products__video_path' => 'string', 'Products.video_path' => 'string', 'video_path' => 'string', 'Products__f_path' => 'string', 'Products.f_path' => 'string', 'f_path' => 'string', 'Products__details' => 'text', 'Products.details' => 'text', 'details' => 'text', 'Products__enabled' => 'boolean', 'Products.enabled' => 'boolean', 'enabled' => 'boolean', 'Products__created' => 'datetime', 'Products.created' => 'datetime', 'created' => 'datetime', 'Products__modified' => 'datetime', 'Products.modified' => 'datetime', 'modified' => 'datetime', 'Products__webinar_id' => 'integer', 'Products.webinar_id' => 'integer', 'webinar_id' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Ecommerce\Model\Table\ProductsTable) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 Ecommerce\Model\Table\ProductsTable::findNeighbors() - ROOT/plugins/Ecommerce/src/Model/Table/ProductsTable.php, line 145
Warning (2): count() [function.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 = 'offset' $sql = 'SELECT Products.id AS `Products__id` FROM products Products WHERE (id < :c0 AND enabled = :c1) ORDER BY id DESC 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' => [ 'Products__id' => 'integer', 'Products.id' => 'integer', 'id' => 'integer', 'Products__name' => 'string', 'Products.name' => 'string', 'name' => 'string', 'Products__price' => 'float', 'Products.price' => 'float', 'price' => 'float', 'Products__monthly_price' => 'float', 'Products.monthly_price' => 'float', 'monthly_price' => 'float', 'Products__annual_price' => 'float', 'Products.annual_price' => 'float', 'annual_price' => 'float', 'Products__vat_price' => 'float', 'Products.vat_price' => 'float', 'vat_price' => 'float', 'Products__vat_monthly' => 'float', 'Products.vat_monthly' => 'float', 'vat_monthly' => 'float', 'Products__vat_annually' => 'float', 'Products.vat_annually' => 'float', 'vat_annually' => 'float', 'Products__us_monthly' => 'float', 'Products.us_monthly' => 'float', 'us_monthly' => 'float', 'Products__us_annually' => 'float', 'Products.us_annually' => 'float', 'us_annually' => 'float', 'Products__discount' => 'float', 'Products.discount' => 'float', 'discount' => 'float', 'Products__unit_shipping_price' => 'decimal', 'Products.unit_shipping_price' => 'decimal', 'unit_shipping_price' => 'decimal', 'Products__youtube_url' => 'string', 'Products.youtube_url' => 'string', 'youtube_url' => 'string', 'Products__video_path' => 'string', 'Products.video_path' => 'string', 'video_path' => 'string', 'Products__f_path' => 'string', 'Products.f_path' => 'string', 'f_path' => 'string', 'Products__details' => 'text', 'Products.details' => 'text', 'details' => 'text', 'Products__enabled' => 'boolean', 'Products.enabled' => 'boolean', 'enabled' => 'boolean', 'Products__created' => 'datetime', 'Products.created' => 'datetime', 'created' => 'datetime', 'Products__modified' => 'datetime', 'Products.modified' => 'datetime', 'modified' => 'datetime', 'Products__webinar_id' => 'integer', 'Products.webinar_id' => 'integer', 'webinar_id' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Ecommerce\Model\Table\ProductsTable) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 Ecommerce\Model\Table\ProductsTable::findNeighbors() - ROOT/plugins/Ecommerce/src/Model/Table/ProductsTable.php, line 145
Warning (2): count() [function.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 = 'epilog' $sql = 'SELECT Products.id AS `Products__id` FROM products Products WHERE (id < :c0 AND enabled = :c1) ORDER BY id DESC 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' => [ 'Products__id' => 'integer', 'Products.id' => 'integer', 'id' => 'integer', 'Products__name' => 'string', 'Products.name' => 'string', 'name' => 'string', 'Products__price' => 'float', 'Products.price' => 'float', 'price' => 'float', 'Products__monthly_price' => 'float', 'Products.monthly_price' => 'float', 'monthly_price' => 'float', 'Products__annual_price' => 'float', 'Products.annual_price' => 'float', 'annual_price' => 'float', 'Products__vat_price' => 'float', 'Products.vat_price' => 'float', 'vat_price' => 'float', 'Products__vat_monthly' => 'float', 'Products.vat_monthly' => 'float', 'vat_monthly' => 'float', 'Products__vat_annually' => 'float', 'Products.vat_annually' => 'float', 'vat_annually' => 'float', 'Products__us_monthly' => 'float', 'Products.us_monthly' => 'float', 'us_monthly' => 'float', 'Products__us_annually' => 'float', 'Products.us_annually' => 'float', 'us_annually' => 'float', 'Products__discount' => 'float', 'Products.discount' => 'float', 'discount' => 'float', 'Products__unit_shipping_price' => 'decimal', 'Products.unit_shipping_price' => 'decimal', 'unit_shipping_price' => 'decimal', 'Products__youtube_url' => 'string', 'Products.youtube_url' => 'string', 'youtube_url' => 'string', 'Products__video_path' => 'string', 'Products.video_path' => 'string', 'video_path' => 'string', 'Products__f_path' => 'string', 'Products.f_path' => 'string', 'f_path' => 'string', 'Products__details' => 'text', 'Products.details' => 'text', 'details' => 'text', 'Products__enabled' => 'boolean', 'Products.enabled' => 'boolean', 'enabled' => 'boolean', 'Products__created' => 'datetime', 'Products.created' => 'datetime', 'created' => 'datetime', 'Products__modified' => 'datetime', 'Products.modified' => 'datetime', 'modified' => 'datetime', 'Products__webinar_id' => 'integer', 'Products.webinar_id' => 'integer', 'webinar_id' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Ecommerce\Model\Table\ProductsTable) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 Ecommerce\Model\Table\ProductsTable::findNeighbors() - ROOT/plugins/Ecommerce/src/Model/Table/ProductsTable.php, line 145
Warning (2): count() [function.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 Products.id AS `Products__id` FROM products Products WHERE (id > :c0 AND enabled = :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' => [ 'Products__id' => 'integer', 'Products.id' => 'integer', 'id' => 'integer', 'Products__name' => 'string', 'Products.name' => 'string', 'name' => 'string', 'Products__price' => 'float', 'Products.price' => 'float', 'price' => 'float', 'Products__monthly_price' => 'float', 'Products.monthly_price' => 'float', 'monthly_price' => 'float', 'Products__annual_price' => 'float', 'Products.annual_price' => 'float', 'annual_price' => 'float', 'Products__vat_price' => 'float', 'Products.vat_price' => 'float', 'vat_price' => 'float', 'Products__vat_monthly' => 'float', 'Products.vat_monthly' => 'float', 'vat_monthly' => 'float', 'Products__vat_annually' => 'float', 'Products.vat_annually' => 'float', 'vat_annually' => 'float', 'Products__us_monthly' => 'float', 'Products.us_monthly' => 'float', 'us_monthly' => 'float', 'Products__us_annually' => 'float', 'Products.us_annually' => 'float', 'us_annually' => 'float', 'Products__discount' => 'float', 'Products.discount' => 'float', 'discount' => 'float', 'Products__unit_shipping_price' => 'decimal', 'Products.unit_shipping_price' => 'decimal', 'unit_shipping_price' => 'decimal', 'Products__youtube_url' => 'string', 'Products.youtube_url' => 'string', 'youtube_url' => 'string', 'Products__video_path' => 'string', 'Products.video_path' => 'string', 'video_path' => 'string', 'Products__f_path' => 'string', 'Products.f_path' => 'string', 'f_path' => 'string', 'Products__details' => 'text', 'Products.details' => 'text', 'details' => 'text', 'Products__enabled' => 'boolean', 'Products.enabled' => 'boolean', 'enabled' => 'boolean', 'Products__created' => 'datetime', 'Products.created' => 'datetime', 'created' => 'datetime', 'Products__modified' => 'datetime', 'Products.modified' => 'datetime', 'modified' => 'datetime', 'Products__webinar_id' => 'integer', 'Products.webinar_id' => 'integer', 'webinar_id' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Ecommerce\Model\Table\ProductsTable) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 Ecommerce\Model\Table\ProductsTable::findNeighbors() - ROOT/plugins/Ecommerce/src/Model/Table/ProductsTable.php, line 150
Warning (2): count() [function.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 = (int) 1 $name = 'limit' $sql = 'SELECT Products.id AS `Products__id` FROM products Products WHERE (id > :c0 AND enabled = :c1) ORDER BY id ASC' $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' => [ 'Products__id' => 'integer', 'Products.id' => 'integer', 'id' => 'integer', 'Products__name' => 'string', 'Products.name' => 'string', 'name' => 'string', 'Products__price' => 'float', 'Products.price' => 'float', 'price' => 'float', 'Products__monthly_price' => 'float', 'Products.monthly_price' => 'float', 'monthly_price' => 'float', 'Products__annual_price' => 'float', 'Products.annual_price' => 'float', 'annual_price' => 'float', 'Products__vat_price' => 'float', 'Products.vat_price' => 'float', 'vat_price' => 'float', 'Products__vat_monthly' => 'float', 'Products.vat_monthly' => 'float', 'vat_monthly' => 'float', 'Products__vat_annually' => 'float', 'Products.vat_annually' => 'float', 'vat_annually' => 'float', 'Products__us_monthly' => 'float', 'Products.us_monthly' => 'float', 'us_monthly' => 'float', 'Products__us_annually' => 'float', 'Products.us_annually' => 'float', 'us_annually' => 'float', 'Products__discount' => 'float', 'Products.discount' => 'float', 'discount' => 'float', 'Products__unit_shipping_price' => 'decimal', 'Products.unit_shipping_price' => 'decimal', 'unit_shipping_price' => 'decimal', 'Products__youtube_url' => 'string', 'Products.youtube_url' => 'string', 'youtube_url' => 'string', 'Products__video_path' => 'string', 'Products.video_path' => 'string', 'video_path' => 'string', 'Products__f_path' => 'string', 'Products.f_path' => 'string', 'f_path' => 'string', 'Products__details' => 'text', 'Products.details' => 'text', 'details' => 'text', 'Products__enabled' => 'boolean', 'Products.enabled' => 'boolean', 'enabled' => 'boolean', 'Products__created' => 'datetime', 'Products.created' => 'datetime', 'created' => 'datetime', 'Products__modified' => 'datetime', 'Products.modified' => 'datetime', 'modified' => 'datetime', 'Products__webinar_id' => 'integer', 'Products.webinar_id' => 'integer', 'webinar_id' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Ecommerce\Model\Table\ProductsTable) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 Ecommerce\Model\Table\ProductsTable::findNeighbors() - ROOT/plugins/Ecommerce/src/Model/Table/ProductsTable.php, line 150
Warning (2): count() [function.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 = 'offset' $sql = 'SELECT Products.id AS `Products__id` FROM products Products WHERE (id > :c0 AND enabled = :c1) ORDER BY id ASC 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' => [ 'Products__id' => 'integer', 'Products.id' => 'integer', 'id' => 'integer', 'Products__name' => 'string', 'Products.name' => 'string', 'name' => 'string', 'Products__price' => 'float', 'Products.price' => 'float', 'price' => 'float', 'Products__monthly_price' => 'float', 'Products.monthly_price' => 'float', 'monthly_price' => 'float', 'Products__annual_price' => 'float', 'Products.annual_price' => 'float', 'annual_price' => 'float', 'Products__vat_price' => 'float', 'Products.vat_price' => 'float', 'vat_price' => 'float', 'Products__vat_monthly' => 'float', 'Products.vat_monthly' => 'float', 'vat_monthly' => 'float', 'Products__vat_annually' => 'float', 'Products.vat_annually' => 'float', 'vat_annually' => 'float', 'Products__us_monthly' => 'float', 'Products.us_monthly' => 'float', 'us_monthly' => 'float', 'Products__us_annually' => 'float', 'Products.us_annually' => 'float', 'us_annually' => 'float', 'Products__discount' => 'float', 'Products.discount' => 'float', 'discount' => 'float', 'Products__unit_shipping_price' => 'decimal', 'Products.unit_shipping_price' => 'decimal', 'unit_shipping_price' => 'decimal', 'Products__youtube_url' => 'string', 'Products.youtube_url' => 'string', 'youtube_url' => 'string', 'Products__video_path' => 'string', 'Products.video_path' => 'string', 'video_path' => 'string', 'Products__f_path' => 'string', 'Products.f_path' => 'string', 'f_path' => 'string', 'Products__details' => 'text', 'Products.details' => 'text', 'details' => 'text', 'Products__enabled' => 'boolean', 'Products.enabled' => 'boolean', 'enabled' => 'boolean', 'Products__created' => 'datetime', 'Products.created' => 'datetime', 'created' => 'datetime', 'Products__modified' => 'datetime', 'Products.modified' => 'datetime', 'modified' => 'datetime', 'Products__webinar_id' => 'integer', 'Products.webinar_id' => 'integer', 'webinar_id' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Ecommerce\Model\Table\ProductsTable) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 Ecommerce\Model\Table\ProductsTable::findNeighbors() - ROOT/plugins/Ecommerce/src/Model/Table/ProductsTable.php, line 150
Warning (2): count() [function.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 = 'epilog' $sql = 'SELECT Products.id AS `Products__id` FROM products Products WHERE (id > :c0 AND enabled = :c1) ORDER BY id ASC 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' => [ 'Products__id' => 'integer', 'Products.id' => 'integer', 'id' => 'integer', 'Products__name' => 'string', 'Products.name' => 'string', 'name' => 'string', 'Products__price' => 'float', 'Products.price' => 'float', 'price' => 'float', 'Products__monthly_price' => 'float', 'Products.monthly_price' => 'float', 'monthly_price' => 'float', 'Products__annual_price' => 'float', 'Products.annual_price' => 'float', 'annual_price' => 'float', 'Products__vat_price' => 'float', 'Products.vat_price' => 'float', 'vat_price' => 'float', 'Products__vat_monthly' => 'float', 'Products.vat_monthly' => 'float', 'vat_monthly' => 'float', 'Products__vat_annually' => 'float', 'Products.vat_annually' => 'float', 'vat_annually' => 'float', 'Products__us_monthly' => 'float', 'Products.us_monthly' => 'float', 'us_monthly' => 'float', 'Products__us_annually' => 'float', 'Products.us_annually' => 'float', 'us_annually' => 'float', 'Products__discount' => 'float', 'Products.discount' => 'float', 'discount' => 'float', 'Products__unit_shipping_price' => 'decimal', 'Products.unit_shipping_price' => 'decimal', 'unit_shipping_price' => 'decimal', 'Products__youtube_url' => 'string', 'Products.youtube_url' => 'string', 'youtube_url' => 'string', 'Products__video_path' => 'string', 'Products.video_path' => 'string', 'video_path' => 'string', 'Products__f_path' => 'string', 'Products.f_path' => 'string', 'f_path' => 'string', 'Products__details' => 'text', 'Products.details' => 'text', 'details' => 'text', 'Products__enabled' => 'boolean', 'Products.enabled' => 'boolean', 'enabled' => 'boolean', 'Products__created' => 'datetime', 'Products.created' => 'datetime', 'created' => 'datetime', 'Products__modified' => 'datetime', 'Products.modified' => 'datetime', 'modified' => 'datetime', 'Products__webinar_id' => 'integer', 'Products.webinar_id' => 'integer', 'webinar_id' => 'integer' ], 'decorators' => (int) 0, 'executed' => false, 'hydrate' => true, 'buffered' => true, 'formatters' => (int) 0, 'mapReducers' => (int) 0, 'contain' => [], 'matching' => [], 'extraOptions' => [], 'repository' => object(Ecommerce\Model\Table\ProductsTable) {} } $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 256 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 227 Cake\ORM\Query::sql() - CORE/src/ORM/Query.php, line 937 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 189 Cake\ORM\Query::_execute() - CORE/src/ORM/Query.php, line 958 Cake\ORM\Query::_all() - CORE/src/Datasource/QueryTrait.php, line 276 Cake\ORM\Query::all() - CORE/src/ORM/Query.php, line 906 Cake\ORM\Query::first() - CORE/src/Datasource/QueryTrait.php, line 404 Ecommerce\Model\Table\ProductsTable::findNeighbors() - ROOT/plugins/Ecommerce/src/Model/Table/ProductsTable.php, line 150
Warning (512): Unable to emit headers. Headers sent in file=/home/hippoagency/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php line=753 [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) 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 Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested 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 Time-out', (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 = '/home/hippoagency/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php' $line = (int) 753 $message = 'Unable to emit headers. Headers sent in file=/home/hippoagency/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php line=753'Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 48 Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 118 [main] - ROOT/webroot/index.php, line 37
Warning (2): Cannot modify header information - headers already sent by (output started at /home/hippoagency/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php:753) [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) 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 Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested 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 Time-out', (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 118 [main] - ROOT/webroot/index.php, line 37
Warning (2): Cannot modify header information - headers already sent by (output started at /home/hippoagency/public_html/vendor/cakephp/cakephp/src/Error/Debugger.php:753) [CORE/src/Http/ResponseEmitter.php, line 173]Code Context$name,
$value
), $first);
$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) 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 Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested 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 Time-out', (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 173 Cake\Http\ResponseEmitter::emit() - CORE/src/Http/ResponseEmitter.php, line 55 Cake\Http\Server::emit() - CORE/src/Http/Server.php, line 118 [main] - ROOT/webroot/index.php, line 37