-- HikaShop version -- : 5.1.5
-- Joomla version -- : 5.3.0
-- 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
On order create, we have a depercated warning:
( ! ) 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
stack:
checkoutController->confirm( )
hikashopOrderClass->createFromCart( $cart_id = 19081, $options = ??? )
hikashopOrderClass->save( $order = class stdClass { public $order_user_id = 1......
hikashopOrder_productClass->save( $products =..... - ...\order.php:350
Joomla\Database\DatabaseDriver->quote( $text = NULL, $escape = ??? ) - ...\order_product.php:122
Joomla\Database\Mysql\MysqlDriver->escape( $text = NULL, $extra = ??? )
quote( $string = NULL )
Edit and change
$this->database->Quote(@$product->order_product_tax),
to
$this->database->Quote(@$product->order_product_tax ?? 0),
Also change
$this->database->Quote(@$product->order_product_params),
to
$this->database->Quote(@$product->order_product_params ?? ''),