Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- backTrace
- #0 /var/www/sites/all/modules/civicrm/CRM/Core/Error.php(149): CRM_Core_Error::backtrace()
- #1 [internal function](): CRM_Core_Error::handle(Object(DB_Error))
- #2 /var/www/sites/all/modules/civicrm/packages/PEAR.php(931): call_user_func((Array:2), Object(DB_Error))
- #3 /var/www/sites/all/modules/civicrm/packages/DB.php(969): PEAR_Error->PEAR_Error("DB Error: syntax error", -2, 16, (Array:2), "\nSELECT count(*)\nFROM civicrm_custom_field\nWHERE option_group_id = [na...")
- #4 /var/www/sites/all/modules/civicrm/packages/PEAR.php(564): DB_Error->DB_Error(-2, 16, (Array:2), "\nSELECT count(*)\nFROM civicrm_custom_field\nWHERE option_group_id = [na...")
- #5 /var/www/sites/all/modules/civicrm/packages/DB/common.php(1905): PEAR->raiseError(NULL, -2, NULL, NULL, "\nSELECT count(*)\nFROM civicrm_custom_field\nWHERE option_group_id = [na...", "DB_Error", TRUE)
- #6 /var/www/sites/all/modules/civicrm/packages/DB/mysql.php(898): DB_common->raiseError(-2, NULL, NULL, NULL, "1064 ** You have an error in your SQL syntax; check the manual that correspon...")
- #7 /var/www/sites/all/modules/civicrm/packages/DB/mysql.php(327): DB_mysql->mysqlRaiseError()
- #8 /var/www/sites/all/modules/civicrm/packages/DB/common.php(1216): DB_mysql->simpleQuery("\nSELECT count(*)\nFROM civicrm_custom_field\nWHERE option_group_id = ")
- #9 /var/www/sites/all/modules/civicrm/packages/DB/DataObject.php(2421): DB_common->query("\nSELECT count(*)\nFROM civicrm_custom_field\nWHERE option_group_id = ")
- #10 /var/www/sites/all/modules/civicrm/packages/DB/DataObject.php(1613): DB_DataObject->_query("\nSELECT count(*)\nFROM civicrm_custom_field\nWHERE option_group_id = ")
- #11 /var/www/sites/all/modules/civicrm/CRM/Core/DAO.php(160): DB_DataObject->query("\nSELECT count(*)\nFROM civicrm_custom_field\nWHERE option_group_id = ")
- #12 /var/www/sites/all/modules/civicrm/CRM/Core/DAO.php(949): CRM_Core_DAO->query("\nSELECT count(*)\nFROM civicrm_custom_field\nWHERE option_group_id = ", TRUE)
- #13 /var/www/sites/all/modules/civicrm/CRM/Core/BAO/CustomField.php(2126): CRM_Core_DAO::singleValueQuery("\nSELECT count(*)\nFROM civicrm_custom_field\nWHERE option_group_id = ")
- #14 /var/www/sites/all/modules/civicrm/CRM/Core/BAO/CustomField.php(2108): CRM_Core_BAO_CustomField::checkOptionGroup(NULL)
- #15 /var/www/sites/all/modules/civicrm/CRM/Core/BAO/CustomField.php(249): CRM_Core_BAO_CustomField::fixOptionGroups("16", 96)
- #16 /var/www/sites/all/modules/civicrm/CRM/Custom/Form/Field.php(985): CRM_Core_BAO_CustomField::create((Array:34))
- #17 /var/www/sites/all/modules/civicrm/CRM/Core/Form.php(261): CRM_Custom_Form_Field->postProcess()
- #18 /var/www/sites/all/modules/civicrm/CRM/Core/StateMachine.php(160): CRM_Core_Form->mainProcess()
- #19 /var/www/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Next.php(60): CRM_Core_StateMachine->perform(Object(CRM_Custom_Form_Field), "next", "Next")
- #20 /var/www/sites/all/modules/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Next->perform(Object(CRM_Custom_Form_Field), "next")
- #21 /var/www/sites/all/modules/civicrm/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Custom_Form_Field), "next")
- #22 /var/www/sites/all/modules/civicrm/CRM/Core/Controller.php(345): HTML_QuickForm_Page->handle("next")
- #23 /var/www/sites/all/modules/civicrm/CRM/Utils/Wrapper.php(117): CRM_Core_Controller->run()
- #24 /var/www/sites/all/modules/civicrm/CRM/Core/Invoke.php(297): CRM_Utils_Wrapper->run("CRM_Custom_Form_Field", "Custom Field - Edit", NULL)
- #25 /var/www/sites/all/modules/civicrm/CRM/Core/Invoke.php(72): CRM_Core_Invoke::runItem((Array:13))
- #26 /var/www/sites/all/modules/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:6))
- #27 /var/www/sites/all/modules/civicrm/drupal/civicrm.module(456): CRM_Core_Invoke::invoke((Array:6))
- #28 [internal function](): civicrm_invoke("admin", "custom", "group", "field", "update")
- #29 /var/www/includes/menu.inc(517): call_user_func_array("civicrm_invoke", (Array:5))
- #30 /var/www/index.php(21): menu_execute_active_handler()
- #31 {main}
- Sorry but we are not able to provide this at the moment.
- DB Error: syntax error
- Error Details
- Database Error Code: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3, 1064
- Additional Details:
- Array
- (
- [callback] => Array
- (
- [0] => CRM_Core_Error
- [1] => handle
- )
- [code] => -2
- [message] => DB Error: syntax error
- [mode] => 16
- [debug_info] =>
- SELECT count(*)
- FROM civicrm_custom_field
- WHERE option_group_id = [nativecode=1064 ** You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3]
- [type] => DB_Error
- [user_info] =>
- SELECT count(*)
- FROM civicrm_custom_field
- WHERE option_group_id = [nativecode=1064 ** You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3]
- [to_string] => [db_error: message="DB Error: syntax error" code=-2 mode=callback callback=CRM_Core_Error::handle prefix="" info="
- SELECT count(*)
- FROM civicrm_custom_field
- WHERE option_group_id = [nativecode=1064 ** You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3]"]
- )
- Return to home page.
Advertisement
Add Comment
Please, Sign In to add comment