[PrestaShopDatabaseException]

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

				SELECT *, ( IF ('2025-12-15 05:36:33' >= `from` AND '2025-12-15 05:36:33' <= `to`, 1, 0) +  IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 8, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 0, 32, 0)) AS `score`
				FROM `ps_specific_price`
				WHERE `id_product` IN (0, 974)
				AND `id_product_attribute` IN (0, 0)
				AND `id_shop` IN (0, 1)
				AND `id_currency` IN (0, 1)
				AND `id_country` IN (0, 8)
				AND `id_group` IN (0, 1)
				AND `id_customer` IN (0, 0)
				AND `from_quantity` <= 1
				AND
				(
					(`from` = '0000-00-00 00:00:00' OR '2025-12-15 05:36:33' >= `from`)
					AND
					(`to` = '0000-00-00 00:00:00' OR '2025-12-15 05:36:33' <= `to`)
				)
				AND id_cart IN (0, 0)
				ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `score` DESC LIMIT 1

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. 	/**