CodcompostoController::index() - APP/controllers/codcomposto_controller.php, line 205
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Notice (8): Undefined variable: codproduto [APP/controllers/codcomposto_controller.php, line 210]
// echo '<pre>'; $this->layout='popup'; if ($codproduto == null)
$sel = null
CodcompostoController::index() - APP/controllers/codcomposto_controller.php, line 210
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Notice (8): Undefined index: id [APP/controllers/codcomposto_controller.php, line 211]
$this->layout='popup'; if ($codproduto == null) $codproduto = $this->params['url']['id'];
$sel = null
CodcompostoController::index() - APP/controllers/codcomposto_controller.php, line 211
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Strict Standards: Non-static method Configure::read() should not be called statically in /home/sense/ecommerce/cake/basics.php on line 213
Strict Standards: Non-static method Configure::getInstance() should not be called statically in /home/sense/ecommerce/cake/libs/configure.php on line 155
Warning (512): SQL Error: 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'where cod_familia=0 and (trim(valor)=trim(opcao) or trim(valor)=trim(label_op...' at line 1 [CORE/cake/libs/model/datasources/dbo_source.php, line 684]
$sql = "select Etapa.cod_etapa, Etapa.etapa from etapa_pt Etapa join produtos_campos_pt on cod_campo=campo and cod_produto= where cod_familia=0 and (trim(valor)=trim(opcao) or trim(valor)=trim(label_opcao))"
$error = "1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'where cod_familia=0 and (trim(valor)=trim(opcao) or trim(valor)=trim(label_op...' at line 1"
$out = null
DboSource::showQuery() - CORE/cake/libs/model/datasources/dbo_source.php, line 684
DboSource::execute() - CORE/cake/libs/model/datasources/dbo_source.php, line 266
DboSource::fetchAll() - CORE/cake/libs/model/datasources/dbo_source.php, line 410
DboSource::query() - CORE/cake/libs/model/datasources/dbo_source.php, line 287
Model::query() - CORE/cake/libs/model/model.php, line 2463
CodcompostoController::index() - APP/controllers/codcomposto_controller.php, line 258
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Query: select Etapa.cod_etapa, Etapa.etapa from etapa_pt Etapa join produtos_campos_pt on cod_campo=campo and cod_produto= where cod_familia=0 and (trim(valor)=trim(opcao) or trim(valor)=trim(label_opcao))
Warning (2): Invalid argument supplied for foreach() [APP/controllers/codcomposto_controller.php, line 265]
CodcompostoController::index() - APP/controllers/codcomposto_controller.php, line 265
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83