Error with 3.51: Error adding new category to the database. Returned id was 0.
I had this error with 3.5 and ugraded to 3.51 but error persists. I have checked my paths and all look okay (was a similar post on this error in the classified product).
I get the same error when trying to add a top level category or a sub category.