カスタムフィールドセットの作成キー ‘PRIMARY’の重複エントリ ‘0’

カスタムフィールドセットを作成しようとすると、私はそれを保存すると次のエラーが発生します。この問題を解決するにはどうすればよいですか?

DB Error: already exists
Error Details
Database Error Code: Duplicate entry '0' for key 'PRIMARY', 1062
Additional Details:

    Array
    (
    [callback] => Array
        (
            [0] => CRM_Core_Error
            [1] => handle
        )

    [code] => -5
    [message] => DB Error: already exists
    [mode] => 16
    [debug_info] => INSERT INTO civicrm_custom_group (table_name ) VALUES ('civicrm_value_personal_info_xyz_0' )  [nativecode=1062 ** Duplicate entry '0' for key 'PRIMARY']
    [type] => DB_Error
    [user_info] => INSERT INTO civicrm_custom_group (table_name ) VALUES ('civicrm_value_personal_info_xyz_0' )  [nativecode=1062 ** Duplicate entry '0' for key 'PRIMARY']
    [to_string] => [db_error: message="DB Error: already exists" code=-5 mode=callback callback=CRM_Core_Error::handle prefix="" info="INSERT INTO civicrm_custom_group (table_name ) VALUES ('civicrm_value_personal_info_xyz_0' )  [nativecode=1062 ** Duplicate entry '0' for key 'PRIMARY']"]
)

バックトレースは以下の通りです:

backTrace
#0 /var/www/administrator/components/com_civicrm/civicrm/CRM/Core/Error.php(187): CRM_Core_Error::backtrace()
#1 [internal function](): CRM_Core_Error::handle(Object(DB_Error))
#2 /var/www/administrator/components/com_civicrm/civicrm/packages/PEAR.php(921): call_user_func((Array:2), Object(DB_Error))
#3 /var/www/administrator/components/com_civicrm/civicrm/packages/DB.php(985): PEAR_Error->__construct("DB Error: already exists", -5, 16, (Array:2), "INSERT INTO civicrm_custom_group (table_name ) VALUES ('civicrm_value_persona...")
#4 /var/www/administrator/components/com_civicrm/civicrm/packages/PEAR.php(575): DB_Error->__construct(-5, 16, (Array:2), "INSERT INTO civicrm_custom_group (table_name ) VALUES ('civicrm_value_persona...")
#5 [internal function](): PEAR->_raiseError(Object(DB_mysqli), NULL, -5, NULL, NULL, "INSERT INTO civicrm_custom_group (table_name ) VALUES ('civicrm_value_persona...", "DB_Error", TRUE)
#6 /var/www/administrator/components/com_civicrm/civicrm/packages/PEAR.php(224): call_user_func_array((Array:2), (Array:8))
#7 /var/www/administrator/components/com_civicrm/civicrm/packages/DB/common.php(1905): PEAR->__call("raiseError", (Array:7))
#8 /var/www/administrator/components/com_civicrm/civicrm/packages/DB/common.php(1905): PEAR->raiseError(NULL, -5, NULL, NULL, "INSERT INTO civicrm_custom_group (table_name ) VALUES ('civicrm_value_persona...", "DB_Error", TRUE)
#9 /var/www/administrator/components/com_civicrm/civicrm/packages/DB/mysqli.php(933): DB_common->raiseError(-5, NULL, NULL, NULL, "1062 ** Duplicate entry '0' for key 'PRIMARY'")
#10 /var/www/administrator/components/com_civicrm/civicrm/packages/DB/mysqli.php(403): DB_mysqli->mysqliRaiseError()
#11 /var/www/administrator/components/com_civicrm/civicrm/packages/DB/common.php(1216): DB_mysqli->simpleQuery("INSERT INTO civicrm_custom_group (table_name ) VALUES ('civicrm_value_persona...")
#12 /var/www/administrator/components/com_civicrm/civicrm/packages/DB/DataObject.php(2446): DB_common->query("INSERT INTO civicrm_custom_group (table_name ) VALUES ('civicrm_value_persona...")
#13 /var/www/administrator/components/com_civicrm/civicrm/packages/DB/DataObject.php(1068): DB_DataObject->_query("INSERT INTO civicrm_custom_group (table_name ) VALUES ('civicrm_value_persona...")
#14 /var/www/administrator/components/com_civicrm/civicrm/CRM/Core/DAO.php(502): DB_DataObject->insert()
#15 /var/www/administrator/components/com_civicrm/civicrm/CRM/Core/DAO.php(1151): CRM_Core_DAO->save()
#16 /var/www/administrator/components/com_civicrm/civicrm/CRM/Core/BAO/CustomGroup.php(200): CRM_Core_DAO::setFieldValue("CRM_Core_DAO_CustomGroup", 0, "table_name", "civicrm_value_personal_info_xyz_0")
#17 /var/www/administrator/components/com_civicrm/civicrm/CRM/Custom/Form/Group.php(458): CRM_Core_BAO_CustomGroup::create((Array:17))
#18 /var/www/administrator/components/com_civicrm/civicrm/CRM/Core/Form.php(447): CRM_Custom_Form_Group->postProcess()
#19 /var/www/administrator/components/com_civicrm/civicrm/CRM/Core/StateMachine.php(160): CRM_Core_Form->mainProcess()
#20 /var/www/administrator/components/com_civicrm/civicrm/CRM/Core/QuickForm/Action/Next.php(61): CRM_Core_StateMachine->perform(Object(CRM_Custom_Form_Group), "next", "Next")
#21 /var/www/administrator/components/com_civicrm/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Next->perform(Object(CRM_Custom_Form_Group), "next")
#22 /var/www/administrator/components/com_civicrm/civicrm/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Custom_Form_Group), "next")
#23 /var/www/administrator/components/com_civicrm/civicrm/CRM/Core/Controller.php(351): HTML_QuickForm_Page->handle("next")
#24 /var/www/administrator/components/com_civicrm/civicrm/CRM/Custom/Page/Group.php(172): CRM_Core_Controller->run()
#25 /var/www/administrator/components/com_civicrm/civicrm/CRM/Custom/Page/Group.php(139): CRM_Custom_Page_Group->edit(NULL, 1)
#26 /var/www/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(309): CRM_Custom_Page_Group->run((Array:4), NULL)
#27 /var/www/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(84): CRM_Core_Invoke::runItem((Array:16))
#28 /var/www/administrator/components/com_civicrm/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:4))
#29 /var/www/administrator/components/com_civicrm/civicrm.php(121): CRM_Core_Invoke::invoke((Array:4))
#30 /var/www/administrator/components/com_civicrm/civicrm.php(40): civicrm_invoke()
#31 /var/www/libraries/cms/component/helper.php(405): require_once("/var/www/administrator/components/com_civicrm/civicrm.php")
#32 /var/www/libraries/cms/component/helper.php(380): JComponentHelper::executeComponent("/var/www/administrator/components/com_civicrm/civicrm.php")
#33 /var/www/libraries/cms/application/administrator.php(98): JComponentHelper::renderComponent("com_civicrm")
#34 /var/www/libraries/cms/application/administrator.php(152): JApplicationAdministrator->dispatch()
#35 /var/www/libraries/cms/application/cms.php(257): JApplicationAdministrator->doExecute()
#36 /var/www/administrator/index.php(51): JApplicationCms->execute()
#37 {main}
ベストアンサー
申し訳ありませんが、適切な答えはありません

返信を残す

メールアドレスが公開されることはありません。 * が付いている欄は必須項目です