Invalid query: 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 cus_b.languages_id = 1' at line 1
Whole query: SELECT * FROM customers as cus INNER JOIN customers_object as cus_b ON cus.customers_id = cus_b.customers_id WHERE cus_b.customers_object_id = AND cus_b.languages_id = 1