An error has occurred:
Table definition has changed, please retry transactionError at 2026-04-20 13:15:35: Query: SELECT p.codice,pl.prezzo,categorie.id_categoria,categorie.foto_cat,categorie_descrizione.nome,
COALESCE(dpReq.titolo, dpBase.titolo) AS titoloEffettivo,
COALESCE(dpReq.descrizione, dpBase.descrizione) AS descrizioneEffettiva,
COALESCE(dpReq.descr_breve, dpBase.descr_breve) AS descrizioneBreve
FROM prodotti p
INNER JOIN descr_prodotti dpBase
ON p.codice = dpBase.codice AND dpBase.lingua = 1
LEFT JOIN descr_prodotti dpReq
ON p.codice = dpReq.codice AND dpReq.lingua = 2
inner join cat_prodotti
on p.codice = cat_prodotti.codice
INNER JOIN cat_rel cr
on cat_prodotti.id_Categoria=cr.id_Categoria
inner join categorie
on (categorie.id_categoria=cr.id_Categoria and categorie.visibile=1)
left join categorie_descrizione
on (categorie.id_categoria=categorie_descrizione.id_Categoria and categorie_descrizione.lingua=1)
inner join prod_listini pl
on p.codice=pl.codice
inner join listini l
on pl.id_listino=l.id_listino and pl.id_listino=2
WHERE
p.visibile<>0
and (p.giacenza>0 or ((p.finoadesaurimento=0 or (p.datadisponibilita is not null and p.datadisponibilita>CURDATE()))
and p.fuoriproduzione=0)
)
and 1=1 and 1=1 and LOWER(p.marca) IN ('calyx') group by codice
Fatal error: Uncaught Exception: manageProdotti::retrieveFullCount. Errore= Errore in sql=SELECT p.codice,pl.prezzo,categorie.id_categoria,categorie.foto_cat,categorie_descrizione.nome,
COALESCE(dpReq.titolo, dpBase.titolo) AS titoloEffettivo,
COALESCE(dpReq.descrizione, dpBase.descrizione) AS descrizioneEffettiva,
COALESCE(dpReq.descr_breve, dpBase.descr_breve) AS descrizioneBreve
FROM prodotti p
INNER JOIN descr_prodotti dpBase
ON p.codice = dpBase.codice AND dpBase.lingua = 1
LEFT JOIN descr_prodotti dpReq
ON p.codice = dpReq.codice AND dpReq.lingua = 2
inner join cat_prodotti
on p.codice = cat_prodotti.codice
INNER JOIN cat_rel cr
on cat_prodotti.id_Categoria=cr.id_Categoria
inner join categorie
on (categorie.id_categoria=cr.id_Categoria and categorie.visibile=1)
left join categorie_descrizione
on (categorie.id_categoria=categorie_descrizione.id_Categoria and categorie_descrizione.lingua=1)
inner join prod_listini pl
on p.codice=pl.codice
inner join listini l
on pl.id_listino=l.id_listino and pl.id_listino=2
WHERE
p.visibile<>0
and (p.giacenza>0 or ((p.finoadesaurimento=0 or (p.datadisponibilita is not null and p.datadisponibilita>CURDATE()))
and p.fuoriproduzione=0)
)
and 1=1 and 1=1 and LOWER(p.marca) IN ('calyx') group by codice in /home/ncampany/public_html/moduli/classi/anagrafiche/classTableProdotti.php:1442
Stack trace:
#0 /home/ncampany/public_html/moduli/classi/anagrafiche/classTableProdotti.php(1212): manageProdotti->retrieveFullCount('1=1 and 1=1 a...', '2', ',0 as idVariant...', '', '')
#1 /home/ncampany/public_html/moduli/classi/gestioneFunzionalita/classCatalogo.php(473): manageProdotti->retrieveFullAndContaNumeroVarianti('1=1 and 1=1 a...', 'prodGiacenzaBoo...', 1, '2', '0, 24', '', '', '')
#2 /home/ncampany/public_html/moduli/classi/gestioneFunzionalita/classCatalogo.php(491): manageCatalogo->retrieveProdottiCatalogo_RETOBJ(1, '', 'LOWER(p.marca) ...', '', NULL, NULL)
#3 /home/ncampany/public_html/moduli/catalogo/topCatalogo.php(513): manageCatalogo->retrieveProdottiCatalogo(1, '', 'LOWER(p.marca) ...', '', NULL, NULL)
#4 /home/ncampany/public_html/catalogo.php(13): include('/home/ncampany/...')
#5 {main}
thrown in /home/ncampany/public_html/moduli/classi/anagrafiche/classTableProdotti.php on line 1442