Jump to content

Big Issue .... Unknown column 'id_shop' in 'where clause'


Repsej

Recommended Posts

Hi All,

I have a major problem.

Last hand on a shop to - but the shop suddenly doesnt show the products. I think its because some Categories has been deleted.

Can you help - i can´t solve this. Any ideas??

I have asked my ISP for at back up from the 18.11 as a last resort - as i dont want to loose the work that has been done since the 18.11 til now.

Thanks in advance

 

[PrestaShopDatabaseException]

Unknown column 'id_shop' in 'where clause'
 

Select id_category_default From ps_product Where id_shop = '1' AND id_product = 134 LIMIT 1
at line 791 in file classes/db/Db.php

 

786. if ($webservice_call && $errno) {
787. $dbg = debug_backtrace();
788. WebserviceRequest::getInstance()->setError(500, '
 '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);
789. } elseif (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS')) {
790. if ($sql) {
791. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');
792. }
793.
794. throw new PrestaShopDatabaseException($this->getMsgError());
795. }
796. }
Edited by Repsej (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...