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 's-Reports' or old_link2 = 'https://agroportal.bg/%D0%BD%D0%BE%D0%B2%D0%B8%D0%...' at line 1