A Database Error Occurred

Error Number: 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 'יחידות&variation_id=8618&add-to-cart=4168' LIMIT 1' at line 1

select new_url from tbl_url_redirect WHERE old_url = 'https://www.macro-stores.co.il/product/ליידי-מקרו-52-מגני-תחתון-לארג?attribute_גדלים=לארג'-52 יחידות&variation_id=8618&add-to-cart=4168' LIMIT 1

Filename: core/MY_Controller.php

Line Number: 33