Prisma Moinhos

Preparando o café para te servir. Aguarde...

Meu carrinho
Você adicionou a sua lista de compras. O que deseja fazer agora?
Continuar comprando Ir para carrinho
    Procurando...
    • 0


    Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #9 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'prismamoinhos_ loje.ws_product_stocks.inventory' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by in /home/prismamoinhos/public_html/procriativa/vendor/illuminate/database/Connection.php:414 Stack trace: #0 /home/prismamoinhos/public_html/procriativa/vendor/illuminate/database/Connection.php(414): PDO->prepare('select \n ...') #1 /home/prismamoinhos/public_html/procriativa/vendor/illuminate/database/Connection.php(753): Illuminate\Database\Connection->Illuminate\Database\{closure}('select \n ...', Array) #2 /home/prismamoinhos/public_html/procriativa/vendor/illuminate/database/Connection.php(720): Illuminate\Database\Connection->runQueryCallback('select \n ...', Array, Object(Closure)) #3 /home/prismamoinhos/public_html/procriativa/vendor/illuminate/database/Connection.php(422): Illuminate\Database\Connection->run('select \n ...', Array, Object(Closure)) #4 /home/prismamoinhos/public_html/procriativa/vendor/illuminate/database/Query/Builder.php(2719): Illuminate\Database\Connection->select('select \n ...', Array, true) #5 /home/prismamoinhos/public_html/procriativa/vendor/illuminate/database/Query/Builder.php(2707): Illuminate\Database\Query\Builder->runSelect() #6 /home/prismamoinhos/public_html/procriativa/vendor/illuminate/database/Query/Builder.php(3247): Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}() #7 /home/prismamoinhos/public_html/procriativa/vendor/illuminate/database/Query/Builder.php(2708): Illuminate\Database\Query\Builder->onceWithColumns(Array, Object(Closure)) #8 /home/prismamoinhos/public_html/procriativa/vendor/illuminate/database/Eloquent/Builder.php(717): Illuminate\Database\Query\Builder->get(Array) #9 /home/prismamoinhos/public_html/procriativa/vendor/illuminate/database/Eloquent/Builder.php(701): Illuminate\Database\Eloquent\Builder->getModels(Array) #10 /home/prismamoinhos/public_html/themes/wc_ecommerce/produtos.php(46): Illuminate\Database\Eloquent\Builder->get() #11 /home/prismamoinhos/public_html/index.php(272): require('/home/prismamoi...') #12 {main} Next Illuminate\Database\QueryException: SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #9 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'prismamoinhos_ loje.ws_product_stocks.inventory' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by (Connection: default, SQL: select pdt_id, pdt_cover, pdt_price, pdt_offer_price, pdt_offer_start, pdt_offer_end, pdt_stock_type, pdt_subtitle, inventory, pdt_title, pdt_name from `ws_products` inner join `ws_product_stocks` on `ws_products`.`pdt_id` = `ws_product_stocks`.`product_id` where (`pdt_status` = 1 and `inventory` > 0) and (`pdt_category` = 4 or `pdt_subcategory` = 4) group by `pdt_id`) in /home/prismamoinhos/public_html/procriativa/vendor/illuminate/database/Connection.php:760 Stack trace: #0 /home/prismamoinhos/public_html/procriativa/vendor/illuminate/database/Connection.php(720): Illuminate\Database\Connection->runQueryCallback('select \n ...', Array, Object(Closure)) #1 /home/prismamoinhos/public_html/procriativa/vendor/illuminate/database/Connection.php(422): Illuminate\Database\Connection->run('select \n ...', Array, Object(Closure)) #2 /home/prismamoinhos/public_html/procriativa/vendor/illuminate/database/Query/Builder.php(2719): Illuminate\Database\Connection->select('select \n ...', Array, true) #3 /home/prismamoinhos/public_html/procriativa/vendor/illuminate/database/Query/Builder.php(2707): Illuminate\Database\Query\Builder->runSelect() #4 /home/prismamoinhos/public_html/procriativa/vendor/illuminate/database/Query/Builder.php(3247): Illuminate\Database\Query\Builder->Illuminate\Database\Query\{closure}() #5 /home/prismamoinhos/public_html/procriativa/vendor/illuminate/database/Query/Builder.php(2708): Illuminate\Database\Query\Builder->onceWithColumns(Array, Object(Closure)) #6 /home/prismamoinhos/public_html/procriativa/vendor/illuminate/database/Eloquent/Builder.php(717): Illuminate\Database\Query\Builder->get(Array) #7 /home/prismamoinhos/public_html/procriativa/vendor/illuminate/database/Eloquent/Builder.php(701): Illuminate\Database\Eloquent\Builder->getModels(Array) #8 /home/prismamoinhos/public_html/themes/wc_ecommerce/produtos.php(46): Illuminate\Database\Eloquent\Builder->get() #9 /home/prismamoinhos/public_html/index.php(272): require('/home/prismamoi...') #10 {main} thrown in /home/prismamoinhos/public_html/procriativa/vendor/illuminate/database/Connection.php on line 760