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 '?Itemid=565' at line 1 SQL=SELECT category_id FROM #__mijoshop_product_to_category WHERE product_id=825?Itemid=565