Jump to content

Change link list gives error


Matt_

Recommended Posts

Hi

When I attempted to modify the link list, an error appeared.  The error seems to try to put custom cms content into the sql statement as a column - obviously this doesn't really exist.

 

In the error section, I expanded the list of arguments.

 

 

[PrestaShopDatabaseException]

Unknown column 'custom_content' in 'field list'
 

UPDATE `ps2_link_block_lang`
SET `name` = 'Our company',
`custom_content` = '[]'
WHERE `id_link_block` = 2 AND `id_lang` = 1

at line 744 in file classes/db/Db.php

 

739. if ($webservice_call && $errno) {
740. $dbg = debug_backtrace();
741. WebserviceRequest::getInstance()->setError(500, '
 '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);
742. } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) {
743. if ($sql) {
744. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');
745. }
746.
747. throw new PrestaShopDatabaseException($this->getMsgError());
748. }
749. }
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...