Notice (8): Undefined index: produtos_sem_estoque [APP/Controller/CarrinhoController.php, line 71]Code Context$verifica = $retornoValidaEstoque['data'];
if(empty($verifica['ok'])){
$itensValidados = $verifica['produtos_sem_estoque'];
$CarrinhoHelper = object(CarrinhoHelper) { settings => array() helpers => array() theme => null request => object(CakeRequest) {} plugin => null fieldset => array() tags => array() [protected] _helperMap => array() [protected] _tainted => null [protected] _cleaned => null [protected] _View => object(View) {} [protected] _fieldSuffixes => array( (int) 0 => 'year', (int) 1 => 'month', (int) 2 => 'day', (int) 3 => 'hour', (int) 4 => 'min', (int) 5 => 'second', (int) 6 => 'meridian' ) [protected] _modelScope => null [protected] _association => null [protected] _entityPath => null [protected] _minimizedAttributes => array( (int) 0 => 'compact', (int) 1 => 'checked', (int) 2 => 'declare', (int) 3 => 'readonly', (int) 4 => 'disabled', (int) 5 => 'selected', (int) 6 => 'defer', (int) 7 => 'ismap', (int) 8 => 'nohref', (int) 9 => 'noshade', (int) 10 => 'nowrap', (int) 11 => 'multiple', (int) 12 => 'noresize', (int) 13 => 'autoplay', (int) 14 => 'controls', (int) 15 => 'loop', (int) 16 => 'muted', (int) 17 => 'required', (int) 18 => 'novalidate', (int) 19 => 'formnovalidate' ) [protected] _attributeFormat => '%s="%s"' [protected] _minimizedAttributeFormat => '%s="%s"' } $UtilHelper = object(UtilHelper) { settings => array() helpers => array() theme => null request => object(CakeRequest) {} plugin => null fieldset => array() tags => array() [protected] _helperMap => array() [protected] _tainted => null [protected] _cleaned => null [protected] _View => object(View) {} [protected] _fieldSuffixes => array( (int) 0 => 'year', (int) 1 => 'month', (int) 2 => 'day', (int) 3 => 'hour', (int) 4 => 'min', (int) 5 => 'second', (int) 6 => 'meridian' ) [protected] _modelScope => null [protected] _association => null [protected] _entityPath => null [protected] _minimizedAttributes => array( (int) 0 => 'compact', (int) 1 => 'checked', (int) 2 => 'declare', (int) 3 => 'readonly', (int) 4 => 'disabled', (int) 5 => 'selected', (int) 6 => 'defer', (int) 7 => 'ismap', (int) 8 => 'nohref', (int) 9 => 'noshade', (int) 10 => 'nowrap', (int) 11 => 'multiple', (int) 12 => 'noresize', (int) 13 => 'autoplay', (int) 14 => 'controls', (int) 15 => 'loop', (int) 16 => 'muted', (int) 17 => 'required', (int) 18 => 'novalidate', (int) 19 => 'formnovalidate' ) [protected] _attributeFormat => '%s="%s"' [protected] _minimizedAttributeFormat => '%s="%s"' } $carrinho = null $pedido = array( 'valor_produtos' => (int) 0, 'valor_servicos' => (int) 0, 'valor_total' => (int) 0, 'peso' => (int) 0, 'altura' => (int) 0, 'largura' => (int) 0, 'comprimento' => (int) 0, 'envio' => array( 'cep' => null, 'endereco_id' => null, 'forma_envio_id' => null, 'referencia' => null, 'prazo' => null, 'valor' => null ), 'valor_desconto' => (int) 0, 'valor_frete' => (int) 0, 'itens' => array() ) $ApiProdutos = object(ApiProdutos) { [protected] modulo => null [protected] metodo => 'produtos/ecommerce_valida_estoque' } $retornoValidaEstoque = array( 'code' => (int) 401, 'status' => 'error', 'data' => array( 'erro' => 'Unauthorized', 'mensagem' => 'Seu plano expirou. Por favor, renove a sua assinatura!' ) ) $itensValidados = array() $verifica = array( 'erro' => 'Unauthorized', 'mensagem' => 'Seu plano expirou. Por favor, renove a sua assinatura!' )CarrinhoController::index() - APP/Controller/CarrinhoController.php, line 71 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
O carrinho de compras está vazio!
Ir às compras