Jump to content

Edit History

bmcarvalho

bmcarvalho

 

Apos atualizacao 1.7.6 encontrei 2 problemas.

1 -  erro 500 ao verificar as encomendas devido a problema na base de dados psu_currency. criou outra moeda em USD que provocou o erro, resolvido ao altterrar o PSU_Currency com phpmyadmin

 

2 -  no back office ao aceder aos clientes da-me o seguinte erro ( em baixo), mas nao existe cliente nenhum Carvalhais , se alterar e efectuar o log in com outro utilizador este erro nao ocorre

Alguma ideia ??

 

Symfony\Component\Debug\Exception\ContextErrorException

in src/Core/Grid/Query/CustomerQueryBuilder.php (line 214)

            }

            if ('date_add' === $filterName) {

                $qb->andWhere('c.date_add >= :date_from AND c.date_add <= :date_to');

                $qb->setParameter('date_from', sprintf('%s 0:0:0', $filterValue['from']));

                $qb->setParameter('date_to', sprintf('%s 23:59:59', $filterValue['to']));

                if (isset($filterValue['from'])) {

                    $qb->andWhere('c.date_add >= :date_from');

                    $qb->setParameter('date_from', sprintf('%s 0:0:0', $filterValue['from']));

                }

CustomerQueryBuilder->applyFilters(array('lastname' => 'Carvalhais', 'date_add' => array('from' => '2019-08-07')), object(QueryBuilder))in src/Core/Grid/Query/CustomerQueryBuilder.php (line 132)

CustomerQueryBuilder->getCustomerQueryBuilder(object(CustomerFilters))in src/Core/Grid/Query/CustomerQueryBuilder.php (line 79)

CustomerQueryBuilder->getSearchQueryBuilder(object(CustomerFilters))in src/Core/Grid/Data/Factory/DoctrineGridDataFactory.php (line 87)

DoctrineGridDataFactory->getData(object(CustomerFilters))in src/Core/Grid/Data/Factory/CustomerGridDataFactoryDecorator.php (line 75)

CustomerGridDataFactoryDecorator->getData(object(CustomerFilters))in src/Core/Grid/GridFactory.php (line 90)

GridFactory->getGrid(object(CustomerFilters))in src/PrestaShopBundle/Controller/Admin/Sell/Customer/CustomerController.php (line 93)

CustomerController->indexAction(object(Request), object(CustomerFilters))in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 151)

HttpKernel->handleRaw(object(Request), 1)in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 68)

HttpKernel->handle(object(Request), 1, false)in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php (line 200)

Kernel->handle(object(Request), 1, false)in adminfolder/index.php (line 86)

 

 

erro.jpg

bmcarvalho

bmcarvalho

 

Apos atualizacao 1.7.6 encontrei 2 problemas.

1 -  erro 500 ao verificar as encomendas devido a problema na base de dados psu_currency. criou outra moeda em USD que provocou o erro, resolvido ao altterrar o PSU_Currency com phpmyadmin

 

2 -  no back office ao aceder aos clientes da-me erro 500 ( em baixo), mas nao existe cliente nenhum Carvalhais , se alterar e efectuar o log in com outro utilizador este erro nao ocorre

Alguma ideia ??

 

Symfony\Component\Debug\Exception\ContextErrorException

in src/Core/Grid/Query/CustomerQueryBuilder.php (line 214)

            }

            if ('date_add' === $filterName) {

                $qb->andWhere('c.date_add >= :date_from AND c.date_add <= :date_to');

                $qb->setParameter('date_from', sprintf('%s 0:0:0', $filterValue['from']));

                $qb->setParameter('date_to', sprintf('%s 23:59:59', $filterValue['to']));

                if (isset($filterValue['from'])) {

                    $qb->andWhere('c.date_add >= :date_from');

                    $qb->setParameter('date_from', sprintf('%s 0:0:0', $filterValue['from']));

                }

CustomerQueryBuilder->applyFilters(array('lastname' => 'Carvalhais', 'date_add' => array('from' => '2019-08-07')), object(QueryBuilder))in src/Core/Grid/Query/CustomerQueryBuilder.php (line 132)

CustomerQueryBuilder->getCustomerQueryBuilder(object(CustomerFilters))in src/Core/Grid/Query/CustomerQueryBuilder.php (line 79)

CustomerQueryBuilder->getSearchQueryBuilder(object(CustomerFilters))in src/Core/Grid/Data/Factory/DoctrineGridDataFactory.php (line 87)

DoctrineGridDataFactory->getData(object(CustomerFilters))in src/Core/Grid/Data/Factory/CustomerGridDataFactoryDecorator.php (line 75)

CustomerGridDataFactoryDecorator->getData(object(CustomerFilters))in src/Core/Grid/GridFactory.php (line 90)

GridFactory->getGrid(object(CustomerFilters))in src/PrestaShopBundle/Controller/Admin/Sell/Customer/CustomerController.php (line 93)

CustomerController->indexAction(object(Request), object(CustomerFilters))in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 151)

HttpKernel->handleRaw(object(Request), 1)in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 68)

HttpKernel->handle(object(Request), 1, false)in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php (line 200)

Kernel->handle(object(Request), 1, false)in adminfolder/index.php (line 86)

 

 

×
×
  • Create New...