If you try to create a new type, after saving its id is equal to 0 instead of an incremental number.
Code:
Duplicate entry '0' for key 'id' SQL=INSERT INTO `j3vm3mmc_flexicontent_types` (`id`,`name`,`alias`,`published`,`itemscreatable`,`checked_out`,`checked_out_time`,`access`,`attribs`) VALUES ('0','test','test','1','0','0','','1','{\"title_display_label\":\"\",\"title_label\":\"\",\"title_desc\":\"\",\"title_viewdesc\":\"\",\"auto_title\":\"0\",\"maintext_display_label\":\"\",\"maintext_label\":\"\",\"maintext_desc\":\"\",\"maintext_viewdesc\":\"\",\"hide_maintext\":\"0\",\"maintext_hide_html\":\"\",\"maintext_height\":\"400\",\"categories_display_label\":\"\",\"categories_label\":\"\",\"categories_desc\":\"\",\"categories_viewdesc\":\"\",\"created_display_label\":\"\",\"created_label\":\"\",\"created_desc\":\"\",\"created_viewdesc\":\"\",\"created_by_display_label\":\"\",\"created_by_label\":\"\",\"created_by_desc\":\"\",\"created_by_viewdesc\":\"\",\"modified_display_label\":\"\",\"modified_label\":\"\",\"modified_desc\":\"\",\"modified_viewdesc\":\"\",\"modified_by_display_label\":\"\",\"modified_by_label\":\"\",\"modified_by_desc\":\"\",\"modified_by_viewdesc\":\"\",\"document_display_label\":\"\",\"document_type_label\":\"\",\"document_type_desc\":\"\",\"document_type_viewdesc\":\"\",\"hits_display_label\":\"\",\"hits_label\":\"\",\"hits_desc\":\"\",\"hits_viewdesc\":\"\",\"version_display_label\":\"\",\"version_label\":\"\",\"version_desc\":\"\",\"version_viewdesc\":\"\",\"state_display_label\":\"\",\"state_label\":\"\",\"state_desc\":\"\",\"state_viewdesc\":\"\",\"voting_display_label\":\"\",\"voting_label\":\"\",\"voting_desc\":\"\",\"voting_viewdesc\":\"\",\"voting_main_counter\":\"\",\"voting_main_counter_show_label\":\"\",\"voting_main_counter_show_percentage\":\"\",\"voting_main_label\":\"\",\"voting_enable_extra_votes\":\"\",\"voting_extra_votes\":\"\",\"voting_extra_counter\":\"\",\"voting_extra_counter_show_label\":\"\",\"voting_extra_counter_show_percentage\":\"\",\"favourites_display_label\":\"\",\"favourites_label\":\"\",\"favourites_desc\":\"\",\"favourites_viewdesc\":\"\",\"tags_display_label\":\"\",\"tags_label\":\"\",\"tags_desc\":\"\",\"tags_viewdesc\":\"\",\"catid_allowed_parent\":\"\",\"catid_allowed_parent_disable\":\"1\",\"catid_default\":\"\",\"cid_allowed_parent\":\"\",\"cid_allowed_parent_disable\":\"1\",\"microdata_itemtype\":\"\",\"override_title\":\"0\",\"addcat_title\":\"1\",\"add_canonical\":\"\",\"robots\":\"\",\"allow_jview\":\"0\",\"search_jlinks\":\"1\",\"type_menu_itemid\":\"379\",\"type_menu_itemid_usage\":\"0\",\"show_title\":\"\",\"show_intro\":\"\",\"comments\":\"\",\"automatic_pathways\":\"\",\"show_print_icon\":\"\",\"show_email_icon\":\"\",\"show_editbutton\":\"\",\"show_state_icon\":\"\",\"searchable\":\"\",\"filters\":\"\",\"buttons_placement_fe\":\"\",\"approval_warning_inform_fe\":\"\",\"approval_warning_aftersubmit_fe\":\"\",\"submit_message\":\"\",\"submit_redirect_url_fe\":\"\",\"notauthurl\":\"379\",\"use_captcha\":\"\",\"captcha\":\"\",\"captcha_formop\":\"\",\"usetitle_fe\":\"\",\"usealias_fe\":\"\",\"usetags_fe\":\"\",\"allowdisablingcomments_fe\":\"\",\"uselang_fe\":\"\",\"default_language_fe\":\"\",\"langdisplay_fe\":\"\",\"langdisplay_flags_fe\":\"\",\"langdisplay_texts_fe\":\"\",\"allow_subscribers_notify_fe\":\"\",\"usepublicationdetails_fe\":\"\",\"usemetadata_fe\":\"\",\"useseoconf_fe\":\"\",\"usedisplaydetails_fe\":\"\",\"selecttheme_fe\":\"\",\"form_tab_titles\":\"\",\"form_tab_icons\":\"\",\"form_tabs_above\":\"\",\"form_tabs_below\":\"\",\"form_tab01_fields\":\"\",\"form_tab02_fields\":\"\",\"form_tab03_fields\":\"\",\"form_tab04_fields\":\"\",\"form_tab05_fields\":\"\",\"form_tab06_fields\":\"\",\"form_tab07_fields\":\"\",\"form_tabs_fieldsman\":\"\",\"form_container_css_fe\":\"\",\"form_extra_css_fe\":\"\",\"form_extra_js_fe\":\"\",\"form_extra_css_be\":\"\",\"form_extra_js_be\":\"\",\"form_extra_css\":\"\",\"form_extra_js\":\"\",\"enable_notifications\":\"\",\"nf_send_as_bcc\":\"\",\"nf_add_introtext\":\"\",\"nf_add_fulltext\":\"\",\"nf_enable_debug\":\"\",\"userlist_notify_new\":\"\",\"text_notify_new\":\"\",\"userlist_notify_new_pending\":\"\",\"text_notify_new_pending\":\"\",\"userlist_notify_existing\":\"\",\"text_notify_existing\":\"\",\"userlist_notify_existing_reviewal\":\"\",\"text_notify_existing_reviewal\":\"\",\"items_manager_extra_fields\":\"\",\"items_manager_custom_filters\":\"\",\"ilayout\":\"blog\",\"title_cut_text\":\"\",\"show_author\":\"\",\"show_create_date\":\"\",\"show_modifier\":\"\",\"show_modify_date\":\"\",\"show_category\":\"\",\"show_vote\":\"\",\"show_favs\":\"\",\"show_tags\":\"\",\"columnmode\":\"\",\"htmlmode\":\"\"}')