MySQL query error: (# 1054) 'Unknown column 'campos.nIdConfiguracion' in 'where clause''
Query:
SELECT
campos.sCampo as campo,
valores.sValor as valor
FROM configuracioncampos as campos
LEFT JOIN configuracionvalores as valores
ON campos.nIdCodigo = valores.nIdConfiguracioncampos
WHERE campos.nIdConfiguracion = 1
AND campos.sCampo IN (
'defaultModule',
'mainView',
'mainViewAdmin',
'maxGalleryFiles',
'maxAttachmentFiles',
'maxImagesFiles',
'maxUploadFileSize',
'mainColorBackOffice',
'mainColorMiddleOffice',
'mainColorFrontOffice',
'secondColorBackOffice',
'secondColorMiddleOffice',
'secondColorFrontOffice')
;
#0 zfx\DB->queryError(SELECT
campos.sCampo as campo,
valores.sValor as valor
FROM configuracioncampos as campos
LEFT JOIN configuracionvalores as valores
ON campos.nIdCodigo = valores.nIdConfiguracioncampos
WHERE campos.nIdConfiguracion = 1
AND campos.sCampo IN (
'defaultModule',
'mainView',
'mainViewAdmin',
'maxGalleryFiles',
'maxAttachmentFiles',
'maxImagesFiles',
'maxUploadFileSize',
'mainColorBackOffice',
'mainColorMiddleOffice',
'mainColorFrontOffice',
'secondColorBackOffice',
'secondColorMiddleOffice',
'secondColorFrontOffice')
;) called at [/var/www/vhosts/activexsoft.org/httpdocs/base/zfx/data-access/my/DB.php:291]
#1 zfx\DB->qa(SELECT
campos.sCampo as campo,
valores.sValor as valor
FROM configuracioncampos as campos
LEFT JOIN configuracionvalores as valores
ON campos.nIdCodigo = valores.nIdConfiguracioncampos
WHERE campos.nIdConfiguracion = 1
AND campos.sCampo IN (
'defaultModule',
'mainView',
'mainViewAdmin',
'maxGalleryFiles',
'maxAttachmentFiles',
'maxImagesFiles',
'maxUploadFileSize',
'mainColorBackOffice',
'mainColorMiddleOffice',
'mainColorFrontOffice',
'secondColorBackOffice',
'secondColorMiddleOffice',
'secondColorFrontOffice')
;) called at [/var/www/vhosts/activexsoft.org/httpdocs/base/zfx/core/Config.php:218]
#2 zfx\Config::loadConfigPlataforma() called at [/var/www/vhosts/activexsoft.org/httpdocs/index.php:47]