Jump to content

PrestaShopException codice 42


Recommended Posts

Salve a tutti, ho un problema con PS 8.2.0

in VENDI > CLIENTI > AGGIUNGI NUOVO CLIENTE

Quando salvo la nuova anagrafica mi restituisce l'errore 

Quote

Si è verificato un errore inaspettato. [PrestaShopException codice 42]

lo stesso problema in VENDI > ORDINI > AGGIUNGI NUOVO ORDINE > AGGIUNGI NUOVO CLIENTE

L'errore si genera con qualsiasi versione di PHP a partire dalla 8

Se provo a fissare il PHP in 7.4 (anche se la cosa è improponibile) l'errore diventa

 

Quote

Si è verificato un errore inaspettato. [PrestaShop\PrestaShop\Core\Domain\Customer\Exception\CustomerConstraintException codice 8]

Ho cercato in rete ma non ho trovato nessuna indicazione utile quanto meno ad identificare il problema.

Spero in un vostro riscontro

 

Grazie

Link to comment
Share on other sites

Posted (edited)

Aggiungo una informazione.

Attivando il debug l'errore diventa

 

Quote

Si è verificato un errore inaspettato. [PrestaShopException codice 42]: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'PEC' in 'field list'

Ho rimosso il modulo SDI di PrestaBiz (che francamente non mi sembra molto aggiornato, abbandonato dallo sviluppatore) e comunque i campi SDI e PEC restano in INTERNAZIONALE > LOCALITA' > NAZIONE...

ma l'errore "Unknown column 'PEC' in 'field list'" quando provo ad inserire un nuovo cliente resta

Edited by origrafica (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...