Created
November 6, 2017 19:45
-
-
Save TBSliver/45e8474a9c6004dd23dfebd918c54cfa to your computer and use it in GitHub Desktop.
CiviCRM error log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Nov 06 19:44:25 [info] Creating canary table | |
Nov 06 19:44:41 [info] $Fatal Error Details = Array | |
( | |
[callback] => Array | |
( | |
[0] => CRM_Core_Error | |
[1] => exceptionHandler | |
) | |
[code] => -1 | |
[message] => DB Error: unknown error | |
[mode] => 16 | |
[debug_info] => INSERT INTO civicrm_dashboard_contact (dashboard_id , column_no , is_active ) VALUES ( 1 , 1 , 1 ) [nativecode=1364 ** Field 'contact_id' doesn't have a default value] | |
[type] => DB_Error | |
[user_info] => INSERT INTO civicrm_dashboard_contact (dashboard_id , column_no , is_active ) VALUES ( 1 , 1 , 1 ) [nativecode=1364 ** Field 'contact_id' doesn't have a default value] | |
[to_string] => [db_error: message="DB Error: unknown error" code=-1 mode=callback callback=CRM_Core_Error::exceptionHandler prefix="" info="INSERT INTO civicrm_dashboard_contact (dashboard_id , column_no , is_active ) VALUES ( 1 , 1 , 1 ) [nativecode=1364 ** Field 'contact_id' doesn't have a default value]"] | |
) | |
Nov 06 19:44:41 [info] $backTrace = #0 /home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php(945): CRM_Core_Error::backtrace("backTrace", TRUE) | |
#1 /home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm/packages/PEAR.php(921): CRM_Core_Error::exceptionHandler(Object(DB_Error)) | |
#2 /home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm/packages/DB.php(985): PEAR_Error->__construct("DB Error: unknown error", -1, 16, (Array:2), "INSERT INTO civicrm_dashboard_contact (dashboard_id , column_no , is_active )...") | |
#3 /home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm/packages/PEAR.php(575): DB_Error->__construct(-1, 16, (Array:2), "INSERT INTO civicrm_dashboard_contact (dashboard_id , column_no , is_active )...") | |
#4 /home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm/packages/PEAR.php(223): PEAR->_raiseError(Object(DB_mysqli), NULL, -1, 16, (Array:2), "INSERT INTO civicrm_dashboard_contact (dashboard_id , column_no , is_active )...", "DB_Error", TRUE) | |
#5 /home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm/packages/DB/common.php(1905): PEAR->__call("raiseError", (Array:7)) | |
#6 /home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm/packages/DB/mysqli.php(933): DB_common->raiseError(-1, NULL, NULL, "INSERT INTO civicrm_dashboard_contact (dashboard_id , column_no , is_active )...", "1364 ** Field 'contact_id' doesn't have a default value") | |
#7 /home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm/packages/DB/mysqli.php(403): DB_mysqli->mysqliRaiseError() | |
#8 /home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm/packages/DB/common.php(1216): DB_mysqli->simpleQuery("INSERT INTO civicrm_dashboard_contact (dashboard_id , column_no , is_active )...") | |
#9 /home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm/packages/DB/DataObject.php(2446): DB_common->query("INSERT INTO civicrm_dashboard_contact (dashboard_id , column_no , is_active )...") | |
#10 /home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm/packages/DB/DataObject.php(1068): DB_DataObject->_query("INSERT INTO civicrm_dashboard_contact (dashboard_id , column_no , is_active )...") | |
#11 /home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/DAO.php(495): DB_DataObject->insert() | |
#12 /home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm/api/v3/utils.php(1350): CRM_Core_DAO->save() | |
#13 /home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm/api/v3/utils.php(1297): _civicrm_api3_basic_create_fallback("CRM_Contact_BAO_DashboardContact", (Array:5)) | |
#14 /home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm/api/v3/DashboardContact.php(54): _civicrm_api3_basic_create("CRM_Contact_BAO_DashboardContact", (Array:5)) | |
#15 /home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm/Civi/API/Provider/MagicFunctionProvider.php(89): civicrm_api3_dashboard_contact_create((Array:5)) | |
#16 /home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm/Civi/API/Kernel.php(169): Civi\API\Provider\MagicFunctionProvider->invoke((Array:9)) | |
#17 /home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm/Civi/API/Kernel.php(100): Civi\API\Kernel->runRequest((Array:9)) | |
#18 /home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm/api/api.php(43): Civi\API\Kernel->runSafe("dashboard_contact", "create", (Array:5)) | |
#19 /home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/BAO/Dashboard.php(210): civicrm_api3("dashboard_contact", "create", (Array:5)) | |
#20 /home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/BAO/Dashboard.php(146): CRM_Core_BAO_Dashboard::initializeDashlets() | |
#21 /home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/BAO/Dashboard.php(158): CRM_Core_BAO_Dashboard::getContactDashlets() | |
#22 /home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Contact/Page/DashBoard.php(47): CRM_Core_BAO_Dashboard::getContactDashletsForJS() | |
#23 /home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(309): CRM_Contact_Page_DashBoard->run((Array:2), NULL) | |
#24 /home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(84): CRM_Core_Invoke::runItem((Array:13)) | |
#25 /home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:2)) | |
#26 /home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm.php(1216): CRM_Core_Invoke::invoke((Array:2)) | |
#27 /home/ubuntu/wordpress/wp-includes/class-wp-hook.php(298): CiviCRM_For_WordPress->invoke("") | |
#28 /home/ubuntu/wordpress/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters("", (Array:1)) | |
#29 /home/ubuntu/wordpress/wp-includes/plugin.php(453): WP_Hook->do_action((Array:1)) | |
#30 /home/ubuntu/wordpress/wp-admin/admin.php(222): do_action("toplevel_page_CiviCRM") | |
#31 {main} | |
Nov 06 19:44:41 [info] | |
$Fatal Error Details = array(3) { | |
["message"]=> | |
string(142) "DB Constraint Violation - contact_id should possibly be marked as mandatory for DashboardContact,create API. If so, please raise a bug report." | |
["code"]=> | |
NULL | |
["exception"]=> | |
object(CiviCRM_API3_Exception)#5766 (8) { | |
["extraParams":"CiviCRM_API3_Exception":private]=> | |
array(6) { | |
["error_code"]=> | |
string(13) "unknown error" | |
["sql"]=> | |
string(170) "INSERT INTO civicrm_dashboard_contact (dashboard_id , column_no , is_active ) VALUES ( 1 , 1 , 1 ) [nativecode=1364 ** Field 'contact_id' doesn't have a default value]" | |
["tip"]=> | |
string(62) "add debug=1 to your API call to have more info about the error" | |
["is_error"]=> | |
int(1) | |
["error_message"]=> | |
string(142) "DB Constraint Violation - contact_id should possibly be marked as mandatory for DashboardContact,create API. If so, please raise a bug report." | |
["debug_information"]=> | |
string(170) "INSERT INTO civicrm_dashboard_contact (dashboard_id , column_no , is_active ) VALUES ( 1 , 1 , 1 ) [nativecode=1364 ** Field 'contact_id' doesn't have a default value]" | |
} | |
["message":protected]=> | |
string(142) "DB Constraint Violation - contact_id should possibly be marked as mandatory for DashboardContact,create API. If so, please raise a bug report." | |
["string":"Exception":private]=> | |
string(0) "" | |
["code":protected]=> | |
int(0) | |
["file":protected]=> | |
string(69) "/home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm/api/api.php" | |
["line":protected]=> | |
int(45) | |
["trace":"Exception":private]=> | |
array(12) { | |
[0]=> | |
array(4) { | |
["file"]=> | |
string(84) "/home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/BAO/Dashboard.php" | |
["line"]=> | |
int(210) | |
["function"]=> | |
string(12) "civicrm_api3" | |
["args"]=> | |
array(3) { | |
[0]=> | |
string(17) "dashboard_contact" | |
[1]=> | |
string(6) "create" | |
[2]=> | |
array(5) { | |
["dashboard_id"]=> | |
string(1) "1" | |
["is_active"]=> | |
int(1) | |
["column_no"]=> | |
int(1) | |
["contact_id"]=> | |
NULL | |
["version"]=> | |
int(3) | |
} | |
} | |
} | |
[1]=> | |
array(6) { | |
["file"]=> | |
string(84) "/home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/BAO/Dashboard.php" | |
["line"]=> | |
int(146) | |
["function"]=> | |
string(18) "initializeDashlets" | |
["class"]=> | |
string(22) "CRM_Core_BAO_Dashboard" | |
["type"]=> | |
string(2) "::" | |
["args"]=> | |
array(0) { | |
} | |
} | |
[2]=> | |
array(6) { | |
["file"]=> | |
string(84) "/home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/BAO/Dashboard.php" | |
["line"]=> | |
int(158) | |
["function"]=> | |
string(18) "getContactDashlets" | |
["class"]=> | |
string(22) "CRM_Core_BAO_Dashboard" | |
["type"]=> | |
string(2) "::" | |
["args"]=> | |
array(0) { | |
} | |
} | |
[3]=> | |
array(6) { | |
["file"]=> | |
string(88) "/home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Contact/Page/DashBoard.php" | |
["line"]=> | |
int(47) | |
["function"]=> | |
string(23) "getContactDashletsForJS" | |
["class"]=> | |
string(22) "CRM_Core_BAO_Dashboard" | |
["type"]=> | |
string(2) "::" | |
["args"]=> | |
array(0) { | |
} | |
} | |
[4]=> | |
array(6) { | |
["file"]=> | |
string(77) "/home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php" | |
["line"]=> | |
int(309) | |
["function"]=> | |
string(3) "run" | |
["class"]=> | |
string(26) "CRM_Contact_Page_DashBoard" | |
["type"]=> | |
string(2) "->" | |
["args"]=> | |
array(2) { | |
[0]=> | |
array(2) { | |
[0]=> | |
string(7) "civicrm" | |
[1]=> | |
string(9) "dashboard" | |
} | |
[1]=> | |
NULL | |
} | |
} | |
[5]=> | |
array(6) { | |
["file"]=> | |
string(77) "/home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php" | |
["line"]=> | |
int(84) | |
["function"]=> | |
string(7) "runItem" | |
["class"]=> | |
string(15) "CRM_Core_Invoke" | |
["type"]=> | |
string(2) "::" | |
["args"]=> | |
array(1) { | |
[0]=> | |
&array(13) { | |
["id"]=> | |
string(2) "69" | |
["domain_id"]=> | |
string(1) "1" | |
["path"]=> | |
string(17) "civicrm/dashboard" | |
["title"]=> | |
string(12) "CiviCRM Home" | |
["access_callback"]=> | |
array(2) { | |
[0]=> | |
string(19) "CRM_Core_Permission" | |
[1]=> | |
string(9) "checkMenu" | |
} | |
["access_arguments"]=> | |
array(2) { | |
[0]=> | |
array(1) { | |
[0]=> | |
string(14) "access CiviCRM" | |
} | |
[1]=> | |
string(3) "and" | |
} | |
["page_callback"]=> | |
string(26) "CRM_Contact_Page_DashBoard" | |
["breadcrumb"]=> | |
array(1) { | |
[0]=> | |
array(2) { | |
["title"]=> | |
string(7) "CiviCRM" | |
["url"]=> | |
string(58) "/wp-admin/admin.php?page=CiviCRM&q=civicrm&reset=1" | |
} | |
} | |
["is_ssl"]=> | |
string(1) "0" | |
["weight"]=> | |
string(1) "0" | |
["type"]=> | |
string(1) "1" | |
["page_type"]=> | |
string(1) "1" | |
["page_arguments"]=> | |
bool(false) | |
} | |
} | |
} | |
[6]=> | |
array(6) { | |
["file"]=> | |
string(77) "/home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php" | |
["line"]=> | |
int(52) | |
["function"]=> | |
string(7) "_invoke" | |
["class"]=> | |
string(15) "CRM_Core_Invoke" | |
["type"]=> | |
string(2) "::" | |
["args"]=> | |
array(1) { | |
[0]=> | |
array(2) { | |
[0]=> | |
string(7) "civicrm" | |
[1]=> | |
string(9) "dashboard" | |
} | |
} | |
} | |
[7]=> | |
array(6) { | |
["file"]=> | |
string(61) "/home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm.php" | |
["line"]=> | |
int(1216) | |
["function"]=> | |
string(6) "invoke" | |
["class"]=> | |
string(15) "CRM_Core_Invoke" | |
["type"]=> | |
string(2) "::" | |
["args"]=> | |
array(1) { | |
[0]=> | |
array(2) { | |
[0]=> | |
string(7) "civicrm" | |
[1]=> | |
string(9) "dashboard" | |
} | |
} | |
} | |
[8]=> | |
array(6) { | |
["file"]=> | |
string(52) "/home/ubuntu/wordpress/wp-includes/class-wp-hook.php" | |
["line"]=> | |
int(298) | |
["function"]=> | |
string(6) "invoke" | |
["class"]=> | |
string(21) "CiviCRM_For_WordPress" | |
["type"]=> | |
string(2) "->" | |
["args"]=> | |
array(1) { | |
[0]=> | |
string(0) "" | |
} | |
} | |
[9]=> | |
array(6) { | |
["file"]=> | |
string(52) "/home/ubuntu/wordpress/wp-includes/class-wp-hook.php" | |
["line"]=> | |
int(323) | |
["function"]=> | |
string(13) "apply_filters" | |
["class"]=> | |
string(7) "WP_Hook" | |
["type"]=> | |
string(2) "->" | |
["args"]=> | |
array(2) { | |
[0]=> | |
string(0) "" | |
[1]=> | |
array(1) { | |
[0]=> | |
string(0) "" | |
} | |
} | |
} | |
[10]=> | |
array(6) { | |
["file"]=> | |
string(45) "/home/ubuntu/wordpress/wp-includes/plugin.php" | |
["line"]=> | |
int(453) | |
["function"]=> | |
string(9) "do_action" | |
["class"]=> | |
string(7) "WP_Hook" | |
["type"]=> | |
string(2) "->" | |
["args"]=> | |
array(1) { | |
[0]=> | |
array(1) { | |
[0]=> | |
string(0) "" | |
} | |
} | |
} | |
[11]=> | |
array(4) { | |
["file"]=> | |
string(41) "/home/ubuntu/wordpress/wp-admin/admin.php" | |
["line"]=> | |
int(222) | |
["function"]=> | |
string(9) "do_action" | |
["args"]=> | |
array(1) { | |
[0]=> | |
string(21) "toplevel_page_CiviCRM" | |
} | |
} | |
} | |
["previous":"Exception":private]=> | |
NULL | |
} | |
} | |
Nov 06 19:44:41 [info] $backTrace = #0 /home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php(456): CRM_Core_Error::backtrace("backTrace", TRUE) | |
#1 /home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(55): CRM_Core_Error::handleUnhandledException(Object(CiviCRM_API3_Exception)) | |
#2 /home/ubuntu/wordpress/wp-content/plugins/civicrm/civicrm.php(1216): CRM_Core_Invoke::invoke((Array:2)) | |
#3 /home/ubuntu/wordpress/wp-includes/class-wp-hook.php(298): CiviCRM_For_WordPress->invoke("") | |
#4 /home/ubuntu/wordpress/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters("", (Array:1)) | |
#5 /home/ubuntu/wordpress/wp-includes/plugin.php(453): WP_Hook->do_action((Array:1)) | |
#6 /home/ubuntu/wordpress/wp-admin/admin.php(222): do_action("toplevel_page_CiviCRM") | |
#7 {main} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment