This repository has been archived by the owner on Mar 23, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
4.7.15 backtrace on activity details report #6
Comments
I have the same issue on a 4.7.3 site: backTrace #0 /var/www/html/sites/all/modules/civicrm/CRM/Core/Error.php(182): CRM_Core_Error::backtrace() #1 [internal function](): CRM_Core_Error::handle(Object(DB_Error)) #2 /var/www/html/sites/all/modules/civicrm/packages/PEAR.php(931): call_user_func((Array:2), Object(DB_Error)) #3 /var/www/html/sites/all/modules/civicrm/packages/DB.php(976): PEAR_Error->PEAR_Error("DB Error: syntax error", -2, 16, (Array:2), "SELECT civicrm_contact_assignee.sort_name as civicrm_contact_contact_assignee...") #4 /var/www/html/sites/all/modules/civicrm/packages/PEAR.php(564): DB_Error->DB_Error(-2, 16, (Array:2), "SELECT civicrm_contact_assignee.sort_name as civicrm_contact_contact_assignee...") #5 /var/www/html/sites/all/modules/civicrm/packages/DB/common.php(1905): PEAR->raiseError(NULL, -2, NULL, NULL, "SELECT civicrm_contact_assignee.sort_name as civicrm_contact_contact_assignee...", "DB_Error", TRUE) #6 /var/www/html/sites/all/modules/civicrm/packages/DB/mysql.php(895): DB_common->raiseError(-2, NULL, NULL, NULL, "1064 ** You have an error in your SQL syntax; check the manual that correspon...") #7 /var/www/html/sites/all/modules/civicrm/packages/DB/mysql.php(328): DB_mysql->mysqlRaiseError() #8 /var/www/html/sites/all/modules/civicrm/packages/DB/common.php(1216): DB_mysql->simpleQuery("SELECT civicrm_contact_assignee.sort_name as civicrm_contact_contact_assignee...") #9 /var/www/html/sites/all/modules/civicrm/packages/DB/DataObject.php(2438): DB_common->query("SELECT civicrm_contact_assignee.sort_name as civicrm_contact_contact_assignee...") #10 /var/www/html/sites/all/modules/civicrm/packages/DB/DataObject.php(1627): DB_DataObject->_query("SELECT civicrm_contact_assignee.sort_name as civicrm_contact_contact_assignee...") #11 /var/www/html/sites/all/modules/civicrm/CRM/Core/DAO.php(334): DB_DataObject->query("SELECT civicrm_contact_assignee.sort_name as civicrm_contact_contact_assignee...") #12 /var/www/html/sites/all/modules/civicrm/CRM/Core/DAO.php(1267): CRM_Core_DAO->query("SELECT civicrm_contact_assignee.sort_name as civicrm_contact_contact_assignee...", TRUE) #13 /var/www/html/sites/all/modules/civicrm/CRM/Report/Form.php(2773): CRM_Core_DAO::executeQuery("SELECT civicrm_contact_assignee.sort_name as civicrm_contact_contact_assignee...") #14 /var/www/html/sites/default/files/civicrm/custom_ext/ca.bidon.civiexportexcel/civiexportexcel.php(117): CRM_Report_Form->buildRows("SELECT civicrm_contact_assignee.sort_name as civicrm_contact_contact_assignee...", (Array:0)) #15 /var/www/html/sites/all/modules/civicrm/CRM/Utils/Hook.php(228): civiexportexcel_civicrm_buildForm("CRM_Report_Form_Activity", Object(CRM_Report_Form_Activity)) #16 /var/www/html/sites/all/modules/civicrm/CRM/Utils/Hook/DrupalBase.php(85): CRM_Utils_Hook->runHooks((Array:52), "civicrm_buildForm", 2, "CRM_Report_Form_Activity", Object(CRM_Report_Form_Activity), NULL, NULL, NULL, NULL) #17 /var/www/html/sites/all/modules/civicrm/CRM/Utils/Hook.php(384): CRM_Utils_Hook_DrupalBase->invoke(2, "CRM_Report_Form_Activity", Object(CRM_Report_Form_Activity), NULL, NULL, NULL, NULL, "civicrm_buildForm") #18 /var/www/html/sites/all/modules/civicrm/CRM/Core/Form.php(552): CRM_Utils_Hook::buildForm("CRM_Report_Form_Activity", Object(CRM_Report_Form_Activity)) #19 /var/www/html/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Submit.php(61): CRM_Core_Form->buildForm() #20 /var/www/html/sites/all/modules/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Submit->perform(Object(CRM_Report_Form_Activity), "submit") #21 /var/www/html/sites/all/modules/civicrm/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Report_Form_Activity), "submit") #22 /var/www/html/sites/all/modules/civicrm/CRM/Core/Controller.php(351): HTML_QuickForm_Page->handle("submit") #23 /var/www/html/sites/all/modules/civicrm/CRM/Utils/Wrapper.php(113): CRM_Core_Controller->run() #24 /var/www/html/sites/all/modules/civicrm/CRM/Report/Page/Report.php(72): CRM_Utils_Wrapper->run("CRM_Report_Form_Activity", NULL, NULL) #25 /var/www/html/sites/all/modules/civicrm/CRM/Core/Invoke.php(312): CRM_Report_Page_Report->run((Array:3), NULL) #26 /var/www/html/sites/all/modules/civicrm/CRM/Core/Invoke.php(86): CRM_Core_Invoke::runItem((Array:14)) #27 /var/www/html/sites/all/modules/civicrm/CRM/Core/Invoke.php(54): CRM_Core_Invoke::_invoke((Array:3)) #28 /var/www/html/sites/all/modules/civicrm/drupal/civicrm.module(454): CRM_Core_Invoke::invoke((Array:3)) #29 [internal function](): civicrm_invoke("report", "activity") #30 /var/www/html/includes/menu.inc(527): call_user_func_array("civicrm_invoke", (Array:2)) #31 /var/www/html/index.php(21): menu_execute_active_handler() #32 {main} |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When running activity report, then exporting to excel, the following error is displayed. Recreating the same activity details report on 4.7.15, with same search parameters, results in the same back track error.
Running CiviCRM 4.7.15.
The stack trace:
When trying to debug the actual SQL query, there are no FROM clauses
The text was updated successfully, but these errors were encountered: