Notice: Undefined index: locale in /home/ferapa/public_html/tienda/classes/Language.php on line 656

Warning: Cannot modify header information - headers already sent by (output started at /home/ferapa/public_html/tienda/classes/Language.php:656) in /home/ferapa/public_html/tienda/classes/exception/PrestaShopException.php on line 41

[PrestaShopDatabaseException]

Unknown column 'locale' in 'where clause'<br /><br /><pre>SELECT `id_lang` FROM `ft_lang` WHERE `locale` = 'es-es' OR `language_code` = 'es-es' LIMIT 1</pre>
at line 769 in file classes/db/Db.php

764.         if ($webservice_call && $errno) {
765.             $dbg = debug_backtrace();
766.             WebserviceRequest::getInstance()->setError(500, '[SQL Error] ' . $this->getMsgError() . '. From ' . (isset($dbg[3]['class']) ? $dbg[3]['class'] : '') . '->' . $dbg[3]['function'] . '() Query was : ' . $sql, 97);
767.         } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) {
768.             if ($sql) {
769.                 throw new PrestaShopDatabaseException($this->getMsgError() . '<br /><br /><pre>' . $sql . '</pre>');
770.             }
771. 
772.             throw new PrestaShopDatabaseException($this->getMsgError());
773.         }
774.     }