Błąd: 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 'AND in_term_relationships.term_taxonomy_id=in_term_taxonomy.term_taxonomy_id ...' at line 4
Zapytanie: SELECT in_term_taxonomy.term_id FROM in_term_relationships,in_term_taxonomy WHERE in_term_relationships.object_id= AND in_term_relationships.term_taxonomy_id=in_term_taxonomy.term_taxonomy_id AND taxonomy='category'