Hello,
I have a problem on my site with de PS version 1.7.5.1
When I increase or decrease the quantity of my product in product page, I recive this errror in logs:
Cita*ERROR* v1.7.5.1 2019/03/13 - 16:47:31: Invalid parameter $idAttributes with value: "" at line 6246 in file classes/Product.php
The specific code where it fails is the following:
Cita
public static function getIdProductAttributeByIdAttributes($idProduct, $idAttributes, $findBest = false)
{
$idProduct = (int) $idProduct;if (!is_array($idAttributes) && is_numeric($idAttributes)) {
$idAttributes = array((int) $idAttributes);
}if (!is_array($idAttributes) || empty($idAttributes)) {
throw new PrestaShopException(
sprintf(
'Invalid parameter $idAttributes with value: "%s"',
print_r($idAttributes, true)
)
);
}
These error only occurs in product without attributes. When add attributes works. And I debug mode also works. 😓
Does anyone know any clue as to why this error can be caused?
You can test it in https://www.turronartesano.com/es/turrones-de-jijona/turron-jijona-blando-300g
Thanks in advance, regards.