[PrestaShopDatabaseException]

User 'motobelfqtmtbpre' has exceeded the 'max_questions' resource (current value: 40000)

		SELECT p.`id_product` id_product
		FROM `ps_product` p
		
		 INNER JOIN ps_category_product cp
				ON p.id_product = cp.id_product
				INNER JOIN ps_category c ON (c.id_category = cp.id_category AND
				c.nleft >= 820
				AND c.nright <= 821
				AND c.active = 1) INNER JOIN ps_product_shop  asso_shop_product
					ON  asso_shop_product.id_product = p.id_product
					AND  asso_shop_product.id_shop IN(1) 
		WHERE 1  AND p.active = 1 GROUP BY id_product

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

598. 		if ($webservice_call && $errno)
599. 			WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. Query was : '.$sql, 97);
600. 		else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))
601. 		{
602. 			if ($sql)
603. 				throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');
604. 			throw new PrestaShopDatabaseException($this->getMsgError());
605. 		}
606. 	}
607. 
608. 	/**