404 Error on form submission within custom post type

it was the “topic” name field. It seems you can’t use reserved terms in $_POST, and “topic” is a post type name, so its probably one of them…