error en consulta PHP
Publicado por Alejandro (6 intervenciones) el 21/09/2019 14:34:49
buenas, espero que esten bien, alguien podria ayudarme con este error? resulta que hace una semana el codigo empezo a fallar, durante un año estube utilizando tranquilamente, es un sistema de facturación y no entiendo porque php quiere que incluya el ID en la clausula GRUOP BY:
Array ( [0] => 42000 [1] => 1055 [2] => Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'agbebesc_facturacion.pagos.id_pag' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by )
Array ( [0] => 42000 [1] => 1055 [2] => Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'agbebesc_facturacion.pagos.id_pag' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by )
Valora esta pregunta


0