You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FUNCTION bootstrap_builder.JSON_ARRAYAGG does not exist
SELECT pd.*,product.*, product.product_id as array_key
,(SELECT JSON_ARRAYAGG( JSON_OBJECT('id', pi.product_image_id, 'image', pi.image) )
FROM product_image as pi WHERE pi.product_id = product.product_id GROUP BY pi.product_id) as images
FROM product
LEFT JOIN product_to_site p2s ON (product.product_id = p2s.product_id)
LEFT JOIN product_content pd ON (
product.product_id = pd.product_id
AND pd.language_id = 1
)
WHERE p2s.site_id = 1
ORDER BY product.product_id DESC
LIMIT 0, 4
- SELECT pd.*,product.*, product.product_id as array_key
,(SELECT JSON_ARRAYAGG( JSON_OBJECT('id', pi.product_image_id, 'image', pi.image) )
FROM product_image as pi WHERE pi.product_id = product.product_id GROUP BY pi.product_id) as images
FROM product
LEFT JOIN product_to_site p2s ON (product.product_id = p2s.product_id)
LEFT JOIN product_content pd ON (
product.product_id = pd.product_id
AND pd.language_id = :language_id
)
WHERE p2s.site_id = :site_id
ORDER BY product.product_id DESC
LIMIT :start, :limit
/home/bs.infinyteam.com/public_html/system/db/mysqli.php on line 307
Code
throw new \Exception($message, $e->getCode()); // <==
list($parameters, $types) = $this->paramsToQmark($sql, $params, $paramTypes);
try {
$stmt = self::$link->prepare($sql);
} catch (\mysqli_sql_exception $e) {
$message = $e->getMessage() . "\n" . $this->debugSql($origSql, $params, $paramTypes) . "\n - " . $origSql;
throw new \Exception($message, $e->getCode()); // <==
}
if ($stmt && ! empty($types)) {
array_unshift($parameters, $types);
//hack for php 7.x bind_param "expected to be a reference, value given" stupid warning
i get this first login
Trace
The text was updated successfully, but these errors were encountered: