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 'LIMIT 1' at line 3

SELECT p.*, pl.* FROM `ps_pw_form_lang` pl
			  LEFT JOIN `ps_pw_form` p ON (pl.id_pw_form = p.id_pw_form)
			  WHERE p.id_pw_form =  LIMIT 1