-- HikaShop version -- : 6.3.0
-- Joomla version -- : 5
-- Error-message(debug-mod must be tuned on) -- : You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1
Hello Nicolas,
I am experiencing a SQL syntax error when a registered user logs into the frontend while having items in their cart.
The error message: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')' at line 1
Steps to reproduce:
Log in as a user and add products to the cart.
Log out (the cart is saved in the database).
Attempt to log back in.
The error appears immediately after the login action, and the user is blocked by the error page.
Observations:
If I manually delete the cart entries for that user via the Joomla administrator, the user can log in again without issues.
The error seems to be caused by an empty IN() clause in a SQL query, likely where HikaShop tries to retrieve or merge cart data, resulting in syntax like WHERE something IN ().
Could you please investigate this?
Best regards,
Jeroen