You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND tbll.id_lang=3' at line 4

		SELECT tb.color, tb.width, tb.height, tb.opacity, tbll.description, tb.display, tb.mode     
		FROM (ps4_category_page tb INNER JOIN ps4_category_page_category tbl ON
		(tb.id_page=tbl.id_page)) INNER JOIN ps4_category_page_lang tbll ON 
		(tb.id_page=tbll.id_page) WHERE tb.active=1 AND tbl.id_category= AND tbll.id_lang=3