Solution:
if someone have the same error, check that your table “wp_term_taxonomy” has “term_taxonomy_id” as auto-incremental, primary and unic options 🙂