-- HikaShop version -- : 6.1.1
-- Joomla version -- : 5.4.1
-- PHP version -- : 8.3
-- Error-message(debug-mod must be tuned on) -- : ( ! ) Deprecated: PDO::quote(): Passing null to parameter #1 ($string) of type string is deprecated in \libraries\vendor\joomla\database\src\Mysql\MysqlDriver.php on line 711
Once I create an order in frontend, I see this error:
( ! ) Deprecated: PDO::quote(): Passing null to parameter #1 ($string) of type string is deprecated in \libraries\vendor\joomla\database\src\Mysql\MysqlDriver.php on line 711
The problem is that hikashopOrder_productClass->save() is called,
Next, it quotes all data and around line 122 the data can be NULL. NULL can't be passed to $db->quote()
$this->database->Quote(@$product->order_product_shipping_params),
This code is better, if you don't save NULLs but empty strings:
$this->database->Quote($product->order_product_shipping_params ?? ''),