Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1055 Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'serpelca_bd.cat_produtos.id_categoria' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by in /home/serpelcaixascom/public_html/adm/classe/produto.class.php:1021
Stack trace:
#0 /home/serpelcaixascom/public_html/adm/classe/produto.class.php(1021): PDO->query('SELECT id_cate...')
#1 /home/serpelcaixascom/public_html/themes/serpel/products/index.php(163): Produto->produtosPage(0, '')
#2 /home/serpelcaixascom/public_html/defines.php(182): include('/home/serpelcai...')
#3 /home/serpelcaixascom/public_html/index.php(45): _content()
#4 {main}
thrown in /home/serpelcaixascom/public_html/adm/classe/produto.class.php on line 1021