Jump to content

Recommended Posts

Hello please help,

when i try to generate sitemap on my site www.hollistertrends.sk through google sitemap module i get error:

 

 

Warning: array_key_exists() expects parameter 2 to be array, boolean given in /home/webspace/hollistertrends.sk/www/html/modules/gsitemap/gsitemap.php on line 658 Warning: Cannot modify header information - headers already sent by (output started at /home/webspace/hollistertrends.sk/www/html/modules/gsitemap/gsitemap.php:658) in /home/webspace/hollistertrends.sk/www/html/classes/exception/PrestaShopException.php on line 37

[PrestaShopDatabaseException]

Unknown column 'ms.id_shop' in 'where clause'
 

SELECT m.`id_manufacturer` FROM `ps_manufacturer` m INNER JOIN `ps_manufacturer_lang` ml on m.`id_manufacturer` = ml.`id_manufacturer` WHERE m.`active` = 1 AND m.`id_manufacturer` > 0 AND ms.`id_shop` = 1 AND ml.`id_lang` = 2 ORDER BY m.`id_manufacturer` ASC
at line 613 in file classes/db/Db.php

 

607.             WebserviceRequest::getInstance()->setError(500, '
 '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);
608.         }
609.         else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))
610.         {
611.             if ($sql)
612.                 throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');
613.             throw new PrestaShopDatabaseException($this->getMsgError());
614.         }
615.     }
616.
617.     /**

 

Link to comment
Share on other sites

×
×
  • Create New...