Jump to content

Error Unknown column 'id_shop' in 'where clause' al hacer click en las categorias


Recommended Posts

Unknown column 'id_shop' in 'where clause'
 

SELECT * FROM ps_layered_category			WHERE id_category = 16				AND id_shop = 1			GROUP BY `type`, id_value ORDER BY position ASC

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

601. 			WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);602. 		}603. 		else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))604. 		{605. 			if ($sql)606. 				throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');607. 			throw new PrestaShopDatabaseException($this->getMsgError());608. 		}609. 	}610. 611. 	/**
Link to comment
Share on other sites

  • 6 months later...
  • 4 months later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...