Notice (8): Undefined index: nome [APP/Controller/ProdutosController.php, line 74]Code Context$produto = [];
$produto = $retorno['data'];
$metaTitulo = $retorno['data']['nome'].' - '.(!empty(Configure::read('LojaVirtual.meta_titulo')) ? Configure::read('LojaVirtual.meta_titulo') : Configure::read('LojaVirtual.nome'));
$dados = array( 'url' => 'pelicula-3d-note-10-4g-10s-poco-m5s', 'permitir_venda_estoque_insuficiente' => '0' ) $retorno = array( 'code' => (int) 200, 'status' => 'success', 'data' => array( 'variacoes_quantidade_total' => (int) 0, 'variacoes_quantidade' => array(), 'variacoes_indice' => array() ) ) $ApiClientesEnderecos = object(ApiClientesEnderecos) { [protected] modulo => null [protected] metodo => 'clientes_enderecos?' } $enderecos = 'É necessário informar o campo cliente_id!' $produto = array( 'variacoes_quantidade_total' => (int) 0, 'variacoes_quantidade' => array(), 'variacoes_indice' => array() )ProdutosController::visualizar() - APP/Controller/ProdutosController.php, line 74 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 213 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 178 [main] - APP/webroot/index.php, line 110
Notice (8): Undefined index: nome [APP/Controller/ProdutosController.php, line 81]Code Context$metaDescricao = $retorno['data']['meta_descricao'];
}
AcessoComponent::valida_acesso_pagina($produto['nome']);
$dados = array( 'url' => 'pelicula-3d-note-10-4g-10s-poco-m5s', 'permitir_venda_estoque_insuficiente' => '0' ) $retorno = array( 'code' => (int) 200, 'status' => 'success', 'data' => array( 'variacoes_quantidade_total' => (int) 0, 'variacoes_quantidade' => array(), 'variacoes_indice' => array() ) ) $ApiClientesEnderecos = object(ApiClientesEnderecos) { [protected] modulo => null [protected] metodo => 'clientes_enderecos?' } $enderecos = 'É necessário informar o campo cliente_id!' $produto = array( 'variacoes_quantidade_total' => (int) 0, 'variacoes_quantidade' => array(), 'variacoes_indice' => array() ) $metaTitulo = ' - PEÇAS ATACADO'ProdutosController::visualizar() - APP/Controller/ProdutosController.php, line 81 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 213 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 178 [main] - APP/webroot/index.php, line 110
Warning (2): file_put_contents(/home/lojaclick/public_html/app/tmp/logs/error.log) [function.file-put-contents]: failed to open stream: Permission denied [CORE/Cake/Log/Engine/FileLog.php, line 142]Code Context$pathname = $this->_path . $filename;
if (empty($this->_config['mask'])) {
return file_put_contents($pathname, $output, FILE_APPEND);
$type = 'error' $message = '[PDOException] SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'pagina' cannot be null Request URL: /produto/pelicula-3d-note-10-4g-10s-poco-m5s Stack Trace: #0 /home/lojaclick/public_html/lib/Cake/Model/Datasource/DboSource.php(458): PDOStatement->execute(Array) #1 /home/lojaclick/public_html/lib/Cake/Model/Datasource/DboSource.php(424): DboSource->_execute('INSERT INTO `lo...', Array) #2 /home/lojaclick/public_html/lib/Cake/Model/Datasource/DboSource.php(1004): DboSource->execute('INSERT INTO `lo...') #3 /home/lojaclick/public_html/lib/Cake/Model/Model.php(1832): DboSource->create(Object(AppModel), Array, Array) #4 /home/lojaclick/public_html/app/Controller/Component/AcessoComponent.php(74): Model->save(Array) #5 /home/lojaclick/public_html/app/Controller/ProdutosController.php(81): AcessoComponent::valida_acesso_pagina(NULL) #6 [internal function]: ProdutosController->visualizar() #7 /home/lojaclick/public_html/lib/Cake/Controller/Controller.php(490): ReflectionMethod->invokeArgs(Object(ProdutosController), Array) #8 /home/lojaclick/public_html/lib/Cake/Routing/Dispatcher.php(213): Controller->invokeAction(Object(CakeRequest)) #9 /home/lojaclick/public_html/lib/Cake/Routing/Dispatcher.php(178): Dispatcher->_invoke(Object(ProdutosController), Object(CakeRequest), Object(CakeResponse)) #10 /home/lojaclick/public_html/app/webroot/index.php(110): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse)) #11 {main}' $output = '2024-08-31 04:45:12 Error: [PDOException] SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'pagina' cannot be null Request URL: /produto/pelicula-3d-note-10-4g-10s-poco-m5s Stack Trace: #0 /home/lojaclick/public_html/lib/Cake/Model/Datasource/DboSource.php(458): PDOStatement->execute(Array) #1 /home/lojaclick/public_html/lib/Cake/Model/Datasource/DboSource.php(424): DboSource->_execute('INSERT INTO `lo...', Array) #2 /home/lojaclick/public_html/lib/Cake/Model/Datasource/DboSource.php(1004): DboSource->execute('INSERT INTO `lo...') #3 /home/lojaclick/public_html/lib/Cake/Model/Model.php(1832): DboSource->create(Object(AppModel), Array, Array) #4 /home/lojaclick/public_html/app/Controller/Component/AcessoComponent.php(74): Model->save(Array) #5 /home/lojaclick/public_html/app/Controller/ProdutosController.php(81): AcessoComponent::valida_acesso_pagina(NULL) #6 [internal function]: ProdutosController->visualizar() #7 /home/lojaclick/public_html/lib/Cake/Controller/Controller.php(490): ReflectionMethod->invokeArgs(Object(ProdutosController), Array) #8 /home/lojaclick/public_html/lib/Cake/Routing/Dispatcher.php(213): Controller->invokeAction(Object(CakeRequest)) #9 /home/lojaclick/public_html/lib/Cake/Routing/Dispatcher.php(178): Dispatcher->_invoke(Object(ProdutosController), Object(CakeRequest), Object(CakeResponse)) #10 /home/lojaclick/public_html/app/webroot/index.php(110): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse)) #11 {main} ' $filename = 'error.log' $pathname = '/home/lojaclick/public_html/app/tmp/logs/error.log'file_put_contents - [internal], line ?? FileLog::write() - CORE/Cake/Log/Engine/FileLog.php, line 142 CakeLog::write() - CORE/Cake/Log/CakeLog.php, line 452 ErrorHandler::_log() - CORE/Cake/Error/ErrorHandler.php, line 178 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 111 [main] - [internal], line ??
Erro: Ocorreu um Erro Interno