FILE: /home/perezdel/public_html/a/admin/resources/library/database_fns.inc.php
LINE: 633
SELECT * FROM ( SELECT * FROM (SELECT IFNULL(p.grupos_id, p.uuid) as group_identifyier, IFNULL(p.grupos_id, 'Unico') as Grupo, p.ARTICULO_ID, GROUP_CONCAT(p.CODIGO SEPARATOR ', ') as CODIGO, GROUP_CONCAT(p.NOMBRE SEPARATOR '|:|') as NAMES_STRING, GROUP_CONCAT(p.ARTICULO_ID SEPARATOR '|:|') as IDS_STRING, GROUP_CONCAT(p.CODIGO SEPARATOR '|:|') as CODIGO_STRING, IFNULL(g.IMAGEN_ARTICULO_ID, p.IMAGEN_ARTICULO_ID) as IMAGEN_ARTICULO_ID, p.LINEA, IFNULL(g.titulo, p.NOMBRE) as NOMBRE, COUNT(*) as _count FROM productosimportados p LEFT JOIN grupos g ON (g.id = p.grupos_id) join categoria_producto el on el.elemento_id=p.articulo_id WHERE p.elim = 0 and VALOR_CLASIF_ID=categorias GROUP BY group_identifyier) A ) A limit 0, 24 
Consulta no vĂ¡lida: Unknown column 'categorias' in 'where clause'