Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Use of undefined constant _PS_MAGIC_QUOTES_GPC_ - assumed '_PS_MAGIC_QUOTES_GPC_' (this will throw an Error in a future version of PHP) in /home/samento/public_html/classes/db/Db.php on line 807

Warning: Cannot modify header information - headers already sent by (output started at /home/samento/public_html/classes/db/Db.php:807) in /home/samento/public_html/override/classes/exception/PrestaShopException.php on line 21

[PrestaShopDatabaseException]

Incorrect DATETIME value: '0000-00-00 00:00:00'

			SELECT *, ( IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 17, 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_shop` IN (0, 1) AND
                `id_currency` IN (0, 1) AND
                `id_country` IN (0, 17) AND
                `id_group` IN (0, 1) AND `id_product` IN (0, 23) AND `id_customer` = 0 AND `id_product_attribute` = 0 AND `id_cart` = 0  AND (`from` = '0000-00-00 00:00:00' OR '2025-05-09 00:00:00' >= `from`) AND (`to` = '0000-00-00 00:00:00' OR '2025-05-09 00:00:00' <= `to`)
				AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC 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, '[SQL Error] '.$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.     }