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 '.url+'' ORDER BY id' at line 2

SELECT a.*, b.script FROM mhs_sekce_jazyk AS a, mhs_sekce AS b WHERE a.id_sekce = b.id AND a.id_jazyk = 1 AND a.url = ''+this.settings.image.url+'' ORDER BY id