CiviCRM Core issueshttps://lab.civicrm.org/dev/core/-/issues2018-11-22T01:41:11Zhttps://lab.civicrm.org/dev/core/-/issues/540Civicrm Contact Dashboard returns fatal error2018-11-22T01:41:11Zluke.stewartCivicrm Contact Dashboard returns fatal errorSimilar to https://github.com/civicrm/civicrm-core/pull/13112
Visiting the contact dashboard at https://dmaster.demo.civicrm.org/civicrm/user?reset=1 results in the following error:
> Sorry, due to an error, we are unable to fulfill you...Similar to https://github.com/civicrm/civicrm-core/pull/13112
Visiting the contact dashboard at https://dmaster.demo.civicrm.org/civicrm/user?reset=1 results in the following error:
> Sorry, due to an error, we are unable to fulfill your request at the moment. You may want to contact your administrator or service provider with more details about what action you were performing when this occurred.
> Cannot determine api action for CRM_Contribute_Form_Search.CRM_Core_Action "NO DESCRIPTION SET
![image](/uploads/a3f9baf8ad2032192723162c6a73f8ad/image.png)5.8https://lab.civicrm.org/dev/core/-/issues/534Print Invoice and Pay Now buttons do not appear on Contact Dashboard2019-04-20T00:34:14ZkcristianoPrint Invoice and Pay Now buttons do not appear on Contact DashboardIn CiviCRM 5.7 do the following:
* Enable Tax and invoicing and select default Invoice Payment page on `/civicrm/admin/setting/preferences/contribute?reset=1`
![image](/uploads/72f491bb82397607aea4539073d18a78/image.png)
* Contact Das...In CiviCRM 5.7 do the following:
* Enable Tax and invoicing and select default Invoice Payment page on `/civicrm/admin/setting/preferences/contribute?reset=1`
![image](/uploads/72f491bb82397607aea4539073d18a78/image.png)
* Contact Dashboard after Contributions/Event Registration
![image](/uploads/cc40c9e2db7c94a86b204880dc1b9891/image.png)
Repeat the above steps on 5.8 RC and Print Invoice and Pay Now Links do not appear where appropriate
![image](/uploads/9f1d524c1dd3c7305bac7fd99ea29ef6/image.png)5.12.1https://lab.civicrm.org/dev/core/-/issues/528Advanced Search -> Contribution Tab and Contribution Dashboard returns a fata...2018-11-17T02:37:46ZjitendraAdvanced Search -> Contribution Tab and Contribution Dashboard returns a fatal error.On Dmaster
https://dmaster.demo.civicrm.org/civicrm/contact/search/advanced?reset=1 -> Expanding the contribution div section displays a network error
![image](/uploads/1fe2c8909315b51ebded571fcb0d023d/image.png)
Similarly, Contributi...On Dmaster
https://dmaster.demo.civicrm.org/civicrm/contact/search/advanced?reset=1 -> Expanding the contribution div section displays a network error
![image](/uploads/1fe2c8909315b51ebded571fcb0d023d/image.png)
Similarly, Contribution Dashboard returns a fatal error - https://dmaster.demo.civicrm.org/civicrm/contribute?reset=15.9jitendrajitendrahttps://lab.civicrm.org/dev/core/-/issues/508utf8 problems in profile2019-02-21T08:33:14Zsamuelsovutf8 problems in profileFirst seen in 5.7 (but might have been introduced in 5.5 or 5.6) :
* create a custom field with special characters (you don't even need to be localized) - copy / paste those in the label : `éÈàç`
![Screenshot_2018-11-06_Constituent_Inf...First seen in 5.7 (but might have been introduced in 5.5 or 5.6) :
* create a custom field with special characters (you don't even need to be localized) - copy / paste those in the label : `éÈàç`
![Screenshot_2018-11-06_Constituent_Information_-_Custom_Fields_CiviCRM_Sandbox_on_Drupal](/uploads/e9690a865570615685115e2bfabbe3ab/Screenshot_2018-11-06_Constituent_Information_-_Custom_Fields_CiviCRM_Sandbox_on_Drupal.png)
* add the field in a profile -> the characters are not readable
![Screenshot_2018-11-06_Your_Registration_Info_-_CiviCRM_Profile_Fields_CiviCRM_Sandbox_on_Drupal](/uploads/b764d78dab59f69afca81f5a20426cf8/Screenshot_2018-11-06_Your_Registration_Info_-_CiviCRM_Profile_Fields_CiviCRM_Sandbox_on_Drupal.png)5.7.2https://lab.civicrm.org/dev/core/-/issues/473Unable to select Default invoice payment page on CiviContribute Settings Page2018-10-29T07:09:37ZkcristianoUnable to select Default invoice payment page on CiviContribute Settings PageOn current master, on CiviContribute Settings Page you are unable to select the Default Invoice Payment Page. The only recent change https://github.com/civicrm/civicrm-core/pull/12940 does not appear to be the issue, as reverting it do...On current master, on CiviContribute Settings Page you are unable to select the Default Invoice Payment Page. The only recent change https://github.com/civicrm/civicrm-core/pull/12940 does not appear to be the issue, as reverting it does not fix the error.
![image](/uploads/4205564931d8e92f5cdfb65c3cea407b/image.png)
5.8https://lab.civicrm.org/dev/core/-/issues/421Creating a new message template from within CiviMail interface requires both ...2018-11-09T22:11:46ZseamusleeCreating a new message template from within CiviMail interface requires both edit user workflow templates and edit system workflow templates as well as edit message templatesthis is a regression from dev/core#61this is a regression from dev/core#615.7https://lab.civicrm.org/dev/core/-/issues/386Contribution Detail Report shows no amount if set to Soft Credit Only.2018-10-03T17:06:50ZtommyboboContribution Detail Report shows no amount if set to Soft Credit Only.In 5.4.1 if a Contribution Detail Report is set to show only Soft Credits the Amount column is completely empty on the results page.In 5.4.1 if a Contribution Detail Report is set to show only Soft Credits the Amount column is completely empty on the results page.https://lab.civicrm.org/dev/core/-/issues/353As of 5.4.0, Activity Search gives an empty result set2018-09-03T01:56:12ZPradeep Nayakpradpnayak@gmail.comAs of 5.4.0, Activity Search gives an empty result setFrom SE: https://civicrm.stackexchange.com/questions/26208/as-of-5-4-0-activity-search-gives-an-empty-result-set-confirmation-anyone
Probably this might have caused regression https://github.com/civicrm/civicrm-core/commit/fd95406da80
...From SE: https://civicrm.stackexchange.com/questions/26208/as-of-5-4-0-activity-search-gives-an-empty-result-set-confirmation-anyone
Probably this might have caused regression https://github.com/civicrm/civicrm-core/commit/fd95406da80
PR: https://github.com/civicrm/civicrm-core/pull/127135.5.0https://lab.civicrm.org/dev/core/-/issues/350SMS immediate send not working in 5.4.02018-08-28T11:48:01ZAndy ClarkSMS immediate send not working in 5.4.0In 5.4.0 (Drupal) users couldn't send immediate SMS messages (using Twilio), with a message something like "recipients phone number invalid or they do not want to receive SMS delivery" BUT they could still send SMSs via batch. Similar pr...In 5.4.0 (Drupal) users couldn't send immediate SMS messages (using Twilio), with a message something like "recipients phone number invalid or they do not want to receive SMS delivery" BUT they could still send SMSs via batch. Similar problem was raised on Stackexchange at https://civicrm.stackexchange.com/questions/25478/clickatell-sms-recipient-phone-number-is-invalid-or-recipient-does-not-want-to but seems to be discussed as a Clickatell problem - but we're using Twilio. Problem is at line 1829 of activity.php where $doNotSms = TRUE; Changing this to $doNotSms = NULL; does temporarily fix the problem but ignores user preferences (I think). From discussions at https://github.com/veda-consulting/org.civicrm.sms.clickatell/issues/20 it also affects 5.3.0 and 5.3.15.5.0https://lab.civicrm.org/dev/core/-/issues/336Cannot activate extension on Memcache+WP configuration2019-02-12T14:49:37ZtottenCannot activate extension on Memcache+WP configurationThis issue was originally reported by @haystack on Mattermost and described further in the comments for a PR for #316. It is similar to #316 in that both involve a Memcache configuration, but otherwise it appears different. (I have not p...This issue was originally reported by @haystack on Mattermost and described further in the comments for a PR for #316. It is similar to #316 in that both involve a Memcache configuration, but otherwise it appears different. (I have not personally been able to reproduce it yet, and the solution for #316 doesn't address this.) Below, I'm copying over the details from Christian's previous report.
## Excerpt 1
(*From Christian*)
One further issue I've run into is that Extensions cannot be installed while Memcached is being used:
```
$Fatal Error Details = array(3) {
["message"]=>
string(19) "Unknown extension: "
["code"]=>
NULL
["exception"]=>
object(CRM_Extension_Exception_MissingException)#6982 (10) {
["errorData":"CRM_Core_Exception":private]=>
array(1) {
["error_code"]=>
int(0)
}
... lots more debugging ...
```
As you can see, `$key` is empty in `CRM_Extension_Container_Collection::getContainer()` - I presume this is as a result of `CRM_Extension_Container_Collection::getKeysToContainer()` grabbing the containers with:
```
$k2c = $this->cache->get($this->cacheKey);
```
FWIW, turning Memcached _off_ allows me to install Extensions.
## Excerpt 2
(From Christian)
Apologies in advance if there's too much debugging info below - I've tried to debug the Install Extension process but I get lost in the intricacies of `HTML_QuickForm` so I thought dumping everything I can see might help. The problem in `CRM_Extension_Container_Collection::getContainer()` is that `$key` is not defined:
```
Array
(
[method] => CRM_Extension_Container_Collection::getContainer
[key] =>
[k2c] => Array
(
[com.iatspayments.civicrm] => civiroot
[org.civicrm.shoreditch] => default
)
[backtrace] => #0 /path/to/wp-content/plugins/civicrm/civicrm/CRM/Extension/Container/Collection.php(111): CRM_Extension_Container_Collection->getContainer(NULL)
#1 /path/to/wp-content/plugins/civicrm/civicrm/CRM/Extension/Mapper.php(185): CRM_Extension_Container_Collection->getPath(NULL)
#2 /path/to/wp-content/plugins/civicrm/civicrm/CRM/Admin/Form/Extensions.php(85): CRM_Extension_Mapper->keyToInfo(NULL)
#3 /path/to/wp-content/plugins/civicrm/civicrm/CRM/Core/Form.php(585): CRM_Admin_Form_Extensions->preProcess()
#4 /path/to/wp-content/plugins/civicrm/civicrm/CRM/Core/StateMachine.php(136): CRM_Core_Form->buildForm()
#5 /path/to/wp-content/plugins/civicrm/civicrm/CRM/Core/QuickForm/Action/Next.php(61): CRM_Core_StateMachine->perform(Object(CRM_Admin_Form_Extensions), 'next', 'Next')
#6 /path/to/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Next->perform(Object(CRM_Admin_Form_Extensions), 'next')
#7 /path/to/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Admin_Form_Extensions), 'next')
#8 /path/to/wp-content/plugins/civicrm/civicrm/CRM/Core/Controller.php(351): HTML_QuickForm_Page->handle('next')
#9 /path/to/wp-content/plugins/civicrm/civicrm/CRM/Core/Page/Basic.php(398): CRM_Core_Controller->run()
#10 /path/to/wp-content/plugins/civicrm/civicrm/CRM/Core/Page/Basic.php(156): CRM_Core_Page_Basic->edit(1, NULL)
#11 /path/to/wp-content/plugins/civicrm/civicrm/CRM/Admin/Page/Extensions.php(121): CRM_Core_Page_Basic->run()
#12 /path/to/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(309): CRM_Admin_Page_Extensions->run(Array, NULL)
#13 /path/to/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(84): CRM_Core_Invoke::runItem(Array)
#14 /path/to/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke(Array)
#15 /path/to/wp-content/plugins/civicrm/civicrm.php(1246): CRM_Core_Invoke::invoke(Array)
#16 [internal function]: CiviCRM_For_WordPress->invoke('')
#17 /path/to/wp-includes/class-wp-hook.php(286): call_user_func_array(Array, Array)
#18 /path/to/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#19 /path/to/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#20 /path/to/wp-admin/admin.php(224): do_action('toplevel_page_C...')
#21 {main}
)
```
Debugging further up the line in `CRM_Admin_Form_Extensions::preProcess()` shows the context, though it still doesn't show me exactly why `$key` is undefined:
```
Array
(
[method] => CRM_Admin_Form_Extensions::preProcess
[key] =>
[id] =>
[GET] => Array
(
[page] => CiviCRM
[q] => civicrm/admin/extensions
[noheader] => 1
)
[POST] => Array
(
[qfKey] => 926b1c386f5b9c64184e995104741f62_6496
[_qf_default] => Extensions:next
[_qf_Extensions_next] => Install
)
[REQUEST] => Array
(
[page] => CiviCRM
[q] => civicrm/admin/extensions
[noheader] => 1
[qfKey] => 926b1c386f5b9c64184e995104741f62_6496
[_qf_default] => Extensions:next
[_qf_Extensions_next] => Install
)
[backtrace] => #0 /path/to/wp-content/plugins/civicrm/civicrm/CRM/Core/Form.php(585): CRM_Admin_Form_Extensions->preProcess()
#1 /path/to/wp-content/plugins/civicrm/civicrm/CRM/Core/StateMachine.php(136): CRM_Core_Form->buildForm()
#2 /path/to/wp-content/plugins/civicrm/civicrm/CRM/Core/QuickForm/Action/Next.php(61): CRM_Core_StateMachine->perform(Object(CRM_Admin_Form_Extensions), 'next', 'Next')
#3 /path/to/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Next->perform(Object(CRM_Admin_Form_Extensions), 'next')
#4 /path/to/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Admin_Form_Extensions), 'next')
#5 /path/to/wp-content/plugins/civicrm/civicrm/CRM/Core/Controller.php(351): HTML_QuickForm_Page->handle('next')
#6 /path/to/wp-content/plugins/civicrm/civicrm/CRM/Core/Page/Basic.php(398): CRM_Core_Controller->run()
#7 /path/to/wp-content/plugins/civicrm/civicrm/CRM/Core/Page/Basic.php(156): CRM_Core_Page_Basic->edit(1, NULL)
#8 /path/to/wp-content/plugins/civicrm/civicrm/CRM/Admin/Page/Extensions.php(121): CRM_Core_Page_Basic->run()
#9 /path/to/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(309): CRM_Admin_Page_Extensions->run(Array, NULL)
#10 /path/to/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(84): CRM_Core_Invoke::runItem(Array)
#11 /path/to/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke(Array)
#12 /path/to/wp-content/plugins/civicrm/civicrm.php(1246): CRM_Core_Invoke::invoke(Array)
#13 [internal function]: CiviCRM_For_WordPress->invoke('')
#14 /path/to/wp-includes/class-wp-hook.php(286): call_user_func_array(Array, Array)
#15 /path/to/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters('', Array)
#16 /path/to/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#17 /path/to/wp-admin/admin.php(224): do_action('toplevel_page_C...')
#18 {main}
)
```
Here's what `CRM_Admin_Form_Extensions` looks like at the above moment:
```
[this] => CRM_Admin_Form_Extensions Object
(
[_id:protected] =>
[_values:protected] => Array
(
)
[_BAOName:protected] => CRM_Core_BAO_Extension
[_state:protected] =>
[_name:protected] => Extensions
[_title:protected] =>
[_defaults] => Array
(
)
[_options] =>
[_action] => 1
[_paymentProcessors:protected] =>
[_paymentProcessorIDs] =>
[_paymentProcessorID:protected] =>
[_is_pay_later_enabled:protected] =>
[_renderer:protected] =>
[_dateFields:protected] => Array
(
)
[unsavedChangesWarn:protected] =>
[ajaxResponse] => Array
(
)
[urlPath] => Array
(
[0] => civicrm
[1] => admin
[2] => extensions
)
[context:protected] =>
[controller] => CRM_Core_Controller_Simple Object
(
[_title:protected] => CRM_Admin_Form_Extensions
[_key] => 926b1c386f5b9c64184e995104741f62_6496
[_scope:protected] => CRM_Admin_Form_Extensions_926b1c386f5b9c64184e995104741f62_6496
[_stateMachine:protected] => CRM_Core_StateMachine Object
(
[_controller:protected] => CRM_Core_Controller_Simple Object
*RECURSION*
[_states:protected] => Array
(
[Extensions] => CRM_Core_State Object
(
[_name:protected] => Extensions
[_type:protected] => 3
[_back:protected] =>
[_next:protected] =>
[_stateMachine:protected] => CRM_Core_StateMachine Object
*RECURSION*
)
)
[_pages:protected] => Array
(
[CRM_Admin_Form_Extensions] =>
)
[_pageNames:protected] => Array
(
[0] => Extensions
)
[_action:protected] => 0
[_name:protected] =>
)
[_embedded:protected] => 1
[_skipRedirection:protected] =>
[_print] => 0
[_generateQFKey] => 1
[_QFResponseType] => html
[_parent:protected] =>
[_destination] =>
[_entryURL] =>
[_pages] => Array
(
[Extensions] => CRM_Admin_Form_Extensions Object
*RECURSION*
)
[_actions] => Array
(
[Extensions] => HTML_QuickForm_Action_Direct Object
(
)
[display] => CRM_Core_QuickForm_Action_Display Object
(
[_stateMachine:protected] => CRM_Core_StateMachine Object
(
[_controller:protected] => CRM_Core_Controller_Simple Object
*RECURSION*
[_states:protected] => Array
(
[Extensions] => CRM_Core_State Object
(
[_name:protected] => Extensions
[_type:protected] => 3
[_back:protected] =>
[_next:protected] =>
[_stateMachine:protected] => CRM_Core_StateMachine Object
*RECURSION*
)
)
[_pages:protected] => Array
(
[CRM_Admin_Form_Extensions] =>
)
[_pageNames:protected] => Array
(
[0] => Extensions
)
[_action:protected] => 0
[_name:protected] =>
)
)
[next] => CRM_Core_QuickForm_Action_Next Object
(
[_stateMachine:protected] => CRM_Core_StateMachine Object
(
[_controller:protected] => CRM_Core_Controller_Simple Object
*RECURSION*
[_states:protected] => Array
(
[Extensions] => CRM_Core_State Object
(
[_name:protected] => Extensions
[_type:protected] => 3
[_back:protected] =>
[_next:protected] =>
[_stateMachine:protected] => CRM_Core_StateMachine Object
*RECURSION*
)
)
[_pages:protected] => Array
(
[CRM_Admin_Form_Extensions] =>
)
[_pageNames:protected] => Array
(
[0] => Extensions
)
[_action:protected] => 0
[_name:protected] =>
)
)
[back] => CRM_Core_QuickForm_Action_Back Object
(
[_stateMachine:protected] => CRM_Core_StateMachine Object
(
[_controller:protected] => CRM_Core_Controller_Simple Object
*RECURSION*
[_states:protected] => Array
(
[Extensions] => CRM_Core_State Object
(
[_name:protected] => Extensions
[_type:protected] => 3
[_back:protected] =>
[_next:protected] =>
[_stateMachine:protected] => CRM_Core_StateMachine Object
*RECURSION*
)
)
[_pages:protected] => Array
(
[CRM_Admin_Form_Extensions] =>
)
[_pageNames:protected] => Array
(
[0] => Extensions
)
[_action:protected] => 0
[_name:protected] =>
)
)
[process] => CRM_Core_QuickForm_Action_Process Object
(
[_stateMachine:protected] => CRM_Core_StateMachine Object
(
[_controller:protected] => CRM_Core_Controller_Simple Object
*RECURSION*
[_states:protected] => Array
(
[Extensions] => CRM_Core_State Object
(
[_name:protected] => Extensions
[_type:protected] => 3
[_back:protected] =>
[_next:protected] =>
[_stateMachine:protected] => CRM_Core_StateMachine Object
*RECURSION*
)
)
[_pages:protected] => Array
(
[CRM_Admin_Form_Extensions] =>
)
[_pageNames:protected] => Array
(
[0] => Extensions
)
[_action:protected] => 0
[_name:protected] =>
)
)
[cancel] => CRM_Core_QuickForm_Action_Cancel Object
(
[_stateMachine:protected] => CRM_Core_StateMachine Object
(
[_controller:protected] => CRM_Core_Controller_Simple Object
*RECURSION*
[_states:protected] => Array
(
[Extensions] => CRM_Core_State Object
(
[_name:protected] => Extensions
[_type:protected] => 3
[_back:protected] =>
[_next:protected] =>
[_stateMachine:protected] => CRM_Core_StateMachine Object
*RECURSION*
)
)
[_pages:protected] => Array
(
[CRM_Admin_Form_Extensions] =>
)
[_pageNames:protected] => Array
(
[0] => Extensions
)
[_action:protected] => 0
[_name:protected] =>
)
)
[refresh] => CRM_Core_QuickForm_Action_Refresh Object
(
[_stateMachine:protected] => CRM_Core_StateMachine Object
(
[_controller:protected] => CRM_Core_Controller_Simple Object
*RECURSION*
[_states:protected] => Array
(
[Extensions] => CRM_Core_State Object
(
[_name:protected] => Extensions
[_type:protected] => 3
[_back:protected] =>
[_next:protected] =>
[_stateMachine:protected] => CRM_Core_StateMachine Object
*RECURSION*
)
)
[_pages:protected] => Array
(
[CRM_Admin_Form_Extensions] =>
)
[_pageNames:protected] => Array
(
[0] => Extensions
)
[_action:protected] => 0
[_name:protected] =>
)
)
[reload] => CRM_Core_QuickForm_Action_Reload Object
(
[_stateMachine:protected] => CRM_Core_StateMachine Object
(
[_controller:protected] => CRM_Core_Controller_Simple Object
*RECURSION*
[_states:protected] => Array
(
[Extensions] => CRM_Core_State Object
(
[_name:protected] => Extensions
[_type:protected] => 3
[_back:protected] =>
[_next:protected] =>
[_stateMachine:protected] => CRM_Core_StateMachine Object
*RECURSION*
)
)
[_pages:protected] => Array
(
[CRM_Admin_Form_Extensions] =>
)
[_pageNames:protected] => Array
(
[0] => Extensions
)
[_action:protected] => 0
[_name:protected] =>
)
)
[done] => CRM_Core_QuickForm_Action_Done Object
(
[_stateMachine:protected] => CRM_Core_StateMachine Object
(
[_controller:protected] => CRM_Core_Controller_Simple Object
*RECURSION*
[_states:protected] => Array
(
[Extensions] => CRM_Core_State Object
(
[_name:protected] => Extensions
[_type:protected] => 3
[_back:protected] =>
[_next:protected] =>
[_stateMachine:protected] => CRM_Core_StateMachine Object
*RECURSION*
)
)
[_pages:protected] => Array
(
[CRM_Admin_Form_Extensions] =>
)
[_pageNames:protected] => Array
(
[0] => Extensions
)
[_action:protected] => 0
[_name:protected] =>
)
)
[jump] => CRM_Core_QuickForm_Action_Jump Object
(
[_stateMachine:protected] => CRM_Core_StateMachine Object
(
[_controller:protected] => CRM_Core_Controller_Simple Object
*RECURSION*
[_states:protected] => Array
(
[Extensions] => CRM_Core_State Object
(
[_name:protected] => Extensions
[_type:protected] => 3
[_back:protected] =>
[_next:protected] =>
[_stateMachine:protected] => CRM_Core_StateMachine Object
*RECURSION*
)
)
[_pages:protected] => Array
(
[CRM_Admin_Form_Extensions] =>
)
[_pageNames:protected] => Array
(
[0] => Extensions
)
[_action:protected] => 0
[_name:protected] =>
)
)
[submit] => CRM_Core_QuickForm_Action_Submit Object
(
[_stateMachine:protected] => CRM_Core_StateMachine Object
(
[_controller:protected] => CRM_Core_Controller_Simple Object
*RECURSION*
[_states:protected] => Array
(
[Extensions] => CRM_Core_State Object
(
[_name:protected] => Extensions
[_type:protected] => 3
[_back:protected] =>
[_next:protected] =>
[_stateMachine:protected] => CRM_Core_StateMachine Object
*RECURSION*
)
)
[_pages:protected] => Array
(
[CRM_Admin_Form_Extensions] =>
)
[_pageNames:protected] => Array
(
[0] => Extensions
)
[_action:protected] => 0
[_name:protected] =>
)
)
[upload] => CRM_Core_QuickForm_Action_Upload Object
(
[_uploadNames:protected] => Array
(
[0] => attachFile_1
[1] => attachFile_2
[2] => attachFile_3
[3] => uploadFile
)
[_uploadDir:protected] => /path/to/wp-content/plugins/files/civicrm/upload/
[_stateMachine:protected] => CRM_Core_StateMachine Object
(
[_controller:protected] => CRM_Core_Controller_Simple Object
*RECURSION*
[_states:protected] => Array
(
[Extensions] => CRM_Core_State Object
(
[_name:protected] => Extensions
[_type:protected] => 3
[_back:protected] =>
[_next:protected] =>
[_stateMachine:protected] => CRM_Core_StateMachine Object
*RECURSION*
)
)
[_pages:protected] => Array
(
[CRM_Admin_Form_Extensions] =>
)
[_pageNames:protected] => Array
(
[0] => Extensions
)
[_action:protected] => 0
[_name:protected] =>
)
)
)
[_name] => CRM_Admin_Form_Extensions_926b1c386f5b9c64184e995104741f62_6496
[_modal] => 1
[_actionName] => Array
(
[0] => Extensions
[1] => next
)
)
[_chainSelectFields:CRM_Core_Form:private] => Array
(
)
[_actions] => Array
(
)
[_formBuilt] => 1
[_elements] => Array
(
)
[_elementIndex] => Array
(
)
[_duplicateIndex] => Array
(
)
[_required] => Array
(
)
[_jsPrefix] => Invalid information entered.
[_jsPostfix] => Please correct these fields.
[_datasource] =>
[_defaultValues] => Array
(
)
[_constantValues] => Array
(
)
[_submitValues] => Array
(
[qfKey] => 926b1c386f5b9c64184e995104741f62_6496
[_qf_default] => Extensions:next
[_qf_Extensions_next] => Install
)
[_submitFiles] => Array
(
)
[_maxFileSize] => 41943040
[_freezeAll] =>
[_rules] => Array
(
)
[_formRules] => Array
(
)
[_errors] => Array
(
)
[_requiredNote] => <span style="font-size:80%; color:#ff0000;">*</span><span style="font-size:80%;"> denotes required field</span>
[_flagSubmitted] => 1
[_attributes] => Array
(
[action] => https://domain.org/wp-admin/admin.php?page=CiviCRM&q=civicrm/admin/extensions
[method] => post
[name] => Extensions
[id] => Extensions
[class] => CRM_Admin_Form_Extensions
)
[_tabOffset] => 0
[_tab] =>
[_lineEnd] =>
[_comment] =>
[_key] =>
)
```
So, somewhere at some point, the `_key` property is not being set.
@totten Can you suggest how I might be able to pinpoint what's going on?
## Excerpt 3
(*From Christian*)
@totten A little more info: when Memcached is *not* being used, the URL sequence is as follows:
* The "Install" page is: https://domain.org/wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fadmin%2Fextensions&action=add&id=org.civicrm.shoreditch&key=org.civicrm.shoreditch
* The resulting location is: https://domain.org/wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fadmin%2Fextensions&reset=1&action=browse
When Memcached *is* being used:
* The "Install" page is: https://domain.org/wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fadmin%2Fextensions&action=add&id=org.civicrm.shoreditch&key=org.civicrm.shoreditch
* The resulting location is: https://domain.org/wp-admin/admin.php?page=CiviCRM&q=civicrm%2Fadmin%2Fextensions
As I said, I'll happily test further given pointers as to where to keep digging.
------
## Excerpt 4
(*From totten via Mattermost*)
@haystack on a brief skim, it seems like the target extension-key should be passed through page arguments, but the pageflow there is a little tricky (so brief skim may be miselading). Maybe a quirk in session-mgmt could be the issue? (Ex: memcache prematurely purges session-state). Would be interesting to see:
1. With memcache active -- do the extensions install via CLI? (e.g. `wp civicrm-api extension.install key=org.civicrm.shoreditch` or `cv en shoreditch`)
2. With memcache active -- does the gui installer work when [if sessions are stored in sql - but otherwise the system uses memcache](https://gist.github.com/totten/1e90a48da78f518931f34c709df83c13) ?
If #2 works, I'd take that as a signal that memcache isn't reliably storing session state.
If #2 doesn't make a difference, then #1 might be interesting.5.5.0https://lab.civicrm.org/dev/core/-/issues/326Fatal error 'DB Error: no such field' on Contribution detail report when sect...2018-11-09T22:11:38ZPradeep Nayakpradpnayak@gmail.comFatal error 'DB Error: no such field' on Contribution detail report when section header enabledError code : Database Error Code: Unknown column 'civicrm_contribution_total_amount' in 'field list', 1054
![Peek_2018-08-14_16-19](/uploads/519bfa9483886f0ef2df276e76d1eb80/Peek_2018-08-14_16-19.gif)
Issue filed on stackexchange : ht...Error code : Database Error Code: Unknown column 'civicrm_contribution_total_amount' in 'field list', 1054
![Peek_2018-08-14_16-19](/uploads/519bfa9483886f0ef2df276e76d1eb80/Peek_2018-08-14_16-19.gif)
Issue filed on stackexchange : https://civicrm.stackexchange.com/questions/26124/db-error-missing-field-in-contribution-reports-after-upgrade-to-5-4-0-drupal/261265.5.0https://lab.civicrm.org/dev/core/-/issues/316Use cache keys which are compatible with supported backends (CiviCRM 5.4 vs M...2018-08-17T00:40:54ZxurizaemonUse cache keys which are compatible with supported backends (CiviCRM 5.4 vs Memcache)[Reported by @haystack in ~dev channel](https://chat.civicrm.org/civicrm/pl/yo7drhis3pgg3cemfzuctd6ixr), suggested that it's a result of #174 changes.
After upgrading to CiviCRM 5.4 when using Memcache:
> Memcached::get(/CiviCRM Sessio...[Reported by @haystack in ~dev channel](https://chat.civicrm.org/civicrm/pl/yo7drhis3pgg3cemfzuctd6ixr), suggested that it's a result of #174 changes.
After upgrading to CiviCRM 5.4 when using Memcache:
> Memcached::get(/CiviCRM Session//_CRM_Activity_Form_ActivityFilter_851ce9ce57b6137a76ba5239cc2b6a6d_3667_container) failed: A BAD KEY WAS PROVIDED/CHARACTERS OUT OF RANGE
> Memcached set (/CiviCRM Session//_CRM_Event_Form_Search_023fbd690622b4991938e06757805c3e_6468_container) failed
[memcached/doc/protocol.txt](https://github.com/memcached/memcached/blob/master/doc/protocol.txt) has,
> the key must not include control characters or whitespace.
[Also noted on Stack Exchange](https://stackoverflow.com/questions/5826768/can-memcached-keys-contain-spaces).https://lab.civicrm.org/dev/core/-/issues/292Search builder stops working after 5.3.1 (due accents on custom set fields ti...2019-02-05T22:12:59ZfrancescbassasSearch builder stops working after 5.3.1 (due accents on custom set fields titles)After 5.3.1 upgrade Search Builder jQuery interaction stops working. I could find the reason, seems that custom set title with accents break the Search Builder form.
How to test?
On dmaster go to https://dmaster.demo.civicrm.org/civicrm...After 5.3.1 upgrade Search Builder jQuery interaction stops working. I could find the reason, seems that custom set title with accents break the Search Builder form.
How to test?
On dmaster go to https://dmaster.demo.civicrm.org/civicrm/admin/custom/group?reset=1 and edit a custom set title for example with "Cancelación Suscripción" and save it. Then go to https://dmaster.demo.civicrm.org/civicrm/contact/search/builder?reset=1 and select some -record type- you will notice that no type of operator related to the selected type is suggested.
On the browser console appears this error:
![search-builder-break](/uploads/705047a221ee4fce997ade35a44e645d/search-builder-break.png)5.5.0https://lab.civicrm.org/dev/core/-/issues/279When Merging two contacts, Flip between original and duplicate link not worki...2018-07-28T00:41:12ZBruce ThompsonWhen Merging two contacts, Flip between original and duplicate link not working in WordPressWhen I select two contacts to merge manually from search results if I click on the link to "Flip between original and duplicate contacts" I am sent to the CiviCRM home screen. Merging without flipping works fine.
First noticed in CiviCR...When I select two contacts to merge manually from search results if I click on the link to "Flip between original and duplicate contacts" I am sent to the CiviCRM home screen. Merging without flipping works fine.
First noticed in CiviCRN Version 5.3.1 in WordPress. I was able to recreate this in the CiviCRM sandbox on WordPress. In the CiviCRM sandbox on Drupal flipping between contacts works fine.5.3.2https://lab.civicrm.org/dev/core/-/issues/276Undefined index: is_override on submit credit card membership2018-07-28T00:41:26ZPradeep Nayakpradpnayak@gmail.comUndefined index: is_override on submit credit card membershipNotice: Undefined index: is_override in CRM_Member_Form_Membership->setOverrideDateValue() (line 950 of /var/www/html/civicrm-master/sites/all/modules/civicrm/CRM/Member/Form/Membership.php).
Notice: Undefined index: is_override in C...Notice: Undefined index: is_override in CRM_Member_Form_Membership->setOverrideDateValue() (line 950 of /var/www/html/civicrm-master/sites/all/modules/civicrm/CRM/Member/Form/Membership.php).
Notice: Undefined index: is_override in CRM_Member_Form_Membership->convertIsOverrideValue() (line 961 of /var/www/html/civicrm-master/sites/all/modules/civicrm/CRM/Member/Form/Membership.php).
To Replicate:
![ReplicateError](/uploads/c956a0bfdb41acbce8265ce7c2973a7c/ReplicateError.gif)
Bug introduced because of changes from : https://github.com/civicrm/civicrm-core/pull/117225.3.2https://lab.civicrm.org/dev/core/-/issues/272Fatal Error (Regression) on PCP pages associated with Events2018-07-25T21:29:14ZKarinGFatal Error (Regression) on PCP pages associated with EventsA client site reported all their URLs (of this format:
URLs like: /civicrm/event/register?id=14&pcpId=204&reset=1 - all started producing Fatal Error post upgrade to 5.3.1;
![image](/uploads/e4a44888aa3c6e40764f06c683e27214/image.png)
...A client site reported all their URLs (of this format:
URLs like: /civicrm/event/register?id=14&pcpId=204&reset=1 - all started producing Fatal Error post upgrade to 5.3.1;
![image](/uploads/e4a44888aa3c6e40764f06c683e27214/image.png)
Backtrace identified pcp_personal_note was involved.
Traced it to regression introduced in: https://github.com/civicrm/civicrm-core/pull/12056
I had originally submitted https://github.com/civicrm/civicrm-core/pull/12044 which was replaced by a more complex https://github.com/civicrm/civicrm-core/pull/12056 (in early May)
Reverting one line in `/CRM/PCP/BAO/PCP.php` to what I had proposed in https://github.com/civicrm/civicrm-core/pull/12044 fixes the issue:
```
/CRM/PCP/BAO
[karin@louise BAO]$ diff PCP.php.dist PCP.php
456c456,459
< $page->addField('pcp_personal_note', array('entity' => 'ContributionSoft', 'context' => 'create', 'style' => 'height: 3em; width: 40em;'));
---
> $page->add('textarea', "pcp_personal_note", ts('Personal Note'), array('maxlength' => '250', 'style' => 'height: 3em; width: 40em;'));
> // regression caused by https://github.com/civicrm/civicrm-core/pull/12056
> // $page->addField('pcp_personal_note', array('entity' => 'ContributionSoft', 'context' => 'create', 'style' => 'height: 3em; width: 40em;'));
>
```
5.3.2https://lab.civicrm.org/dev/core/-/issues/263Release candidate regression: Can't create contribution pages.2018-07-18T22:42:07ZJonGoldRelease candidate regression: Can't create contribution pages.I've replicated this locally on the rc, the master branch and on the demo site.
* Create a new contribution page, filling in only the two required fields.
* Press "Submit".
Get this:
```
backTrace
#0 /home/jon/local/civicrm-buildkit/b...I've replicated this locally on the rc, the master branch and on the demo site.
* Create a new contribution page, filling in only the two required fields.
* Press "Submit".
Get this:
```
backTrace
#0 /home/jon/local/civicrm-buildkit/build/rc/sites/all/modules/civicrm/CRM/Core/Error.php(190): CRM_Core_Error::backtrace()
#1 /home/jon/local/civicrm-buildkit/build/rc/sites/all/modules/civicrm/packages/PEAR.php(921): CRM_Core_Error::handle(Object(DB_Error))
#2 /home/jon/local/civicrm-buildkit/build/rc/sites/all/modules/civicrm/packages/DB.php(985): PEAR_Error->__construct("DB Error: unknown error", -1, 16, (Array:2), "INSERT INTO civicrm_contribution_page (title , intro_text , financial_type_id...")
#3 /home/jon/local/civicrm-buildkit/build/rc/sites/all/modules/civicrm/packages/PEAR.php(575): DB_Error->__construct(-1, 16, (Array:2), "INSERT INTO civicrm_contribution_page (title , intro_text , financial_type_id...")
#4 /home/jon/local/civicrm-buildkit/build/rc/sites/all/modules/civicrm/packages/PEAR.php(223): PEAR->_raiseError(Object(DB_mysqli), NULL, -1, 16, (Array:2), "INSERT INTO civicrm_contribution_page (title , intro_text , financial_type_id...", "DB_Error", TRUE)
#5 /home/jon/local/civicrm-buildkit/build/rc/sites/all/modules/civicrm/packages/DB/common.php(1907): PEAR->__call("raiseError", (Array:7))
#6 /home/jon/local/civicrm-buildkit/build/rc/sites/all/modules/civicrm/packages/DB/mysqli.php(933): DB_common->raiseError(-1, NULL, NULL, "INSERT INTO civicrm_contribution_page (title , intro_text , financial_type_id...", "1292 ** Incorrect datetime value: '7' for column 'start_date' at row 1")
#7 /home/jon/local/civicrm-buildkit/build/rc/sites/all/modules/civicrm/packages/DB/mysqli.php(403): DB_mysqli->mysqliRaiseError()
#8 /home/jon/local/civicrm-buildkit/build/rc/sites/all/modules/civicrm/packages/DB/common.php(1216): DB_mysqli->simpleQuery("INSERT INTO civicrm_contribution_page (title , intro_text , financial_type_id...")
#9 /home/jon/local/civicrm-buildkit/build/rc/sites/all/modules/civicrm/packages/DB/DataObject.php(2443): DB_common->query("INSERT INTO civicrm_contribution_page (title , intro_text , financial_type_id...")
#10 /home/jon/local/civicrm-buildkit/build/rc/sites/all/modules/civicrm/packages/DB/DataObject.php(1068): DB_DataObject->_query("INSERT INTO civicrm_contribution_page (title , intro_text , financial_type_id...")
#11 /home/jon/local/civicrm-buildkit/build/rc/sites/all/modules/civicrm/CRM/Core/DAO.php(571): DB_DataObject->insert()
#12 /home/jon/local/civicrm-buildkit/build/rc/sites/all/modules/civicrm/CRM/Contribute/BAO/ContributionPage.php(59): CRM_Core_DAO->save()
#13 /home/jon/local/civicrm-buildkit/build/rc/sites/all/modules/civicrm/CRM/Contribute/Form/ContributionPage/Settings.php(344): CRM_Contribute_BAO_ContributionPage::create((Array:25))
#14 /home/jon/local/civicrm-buildkit/build/rc/sites/all/modules/civicrm/CRM/Core/Form.php(489): CRM_Contribute_Form_ContributionPage_Settings->postProcess()
#15 /home/jon/local/civicrm-buildkit/build/rc/sites/all/modules/civicrm/CRM/Core/StateMachine.php(160): CRM_Core_Form->mainProcess()
#16 /home/jon/local/civicrm-buildkit/build/rc/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Next.php(61): CRM_Core_StateMachine->perform(Object(CRM_Contribute_Form_ContributionPage_Settings), "next", "Next")
#17 /home/jon/local/civicrm-buildkit/build/rc/sites/all/modules/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Next->perform(Object(CRM_Contribute_Form_ContributionPage_Settings), "next")
#18 /home/jon/local/civicrm-buildkit/build/rc/sites/all/modules/civicrm/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Contribute_Form_ContributionPage_Settings), "next")
#19 /home/jon/local/civicrm-buildkit/build/rc/sites/all/modules/civicrm/CRM/Core/Controller.php(351): HTML_QuickForm_Page->handle("next")
#20 /home/jon/local/civicrm-buildkit/build/rc/sites/all/modules/civicrm/CRM/Core/Invoke.php(309): CRM_Core_Controller->run((Array:4), NULL)
#21 /home/jon/local/civicrm-buildkit/build/rc/sites/all/modules/civicrm/CRM/Core/Invoke.php(84): CRM_Core_Invoke::runItem((Array:14))
#22 /home/jon/local/civicrm-buildkit/build/rc/sites/all/modules/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:4))
#23 /home/jon/local/civicrm-buildkit/build/rc/sites/all/modules/civicrm/drupal/civicrm.module(445): CRM_Core_Invoke::invoke((Array:4))
#24 /home/jon/local/civicrm-buildkit/build/rc/includes/menu.inc(527): civicrm_invoke("admin", "contribute", "add")
#25 /home/jon/local/civicrm-buildkit/build/rc/index.php(21): menu_execute_active_handler()
#26 {main}
Sorry, due to an error, we are unable to fulfill your request at the moment. You may want to contact your administrator or service provider with more details about what action you were performing when this occurred.
DB Error: unknown error
Error Details
Database Error Code: Incorrect datetime value: '7' for column 'start_date' at row 1, 1292
Additional Details:
Array
(
[callback] => Array
(
[0] => CRM_Core_Error
[1] => handle
)
[code] => -1
[message] => DB Error: unknown error
[mode] => 16
[debug_info] => INSERT INTO civicrm_contribution_page (title , intro_text , financial_type_id , is_credit_card_only , is_confirm_enabled , goal_amount , is_active , footer_text , start_date , end_date , created_id , created_date , currency , is_share ) VALUES ('test' , NULL , 3 , 0 , 1 , NULL , 1 , NULL , 7 , NULL , 202 , 20180717100536 , 'USD' , 0 ) [nativecode=1292 ** Incorrect datetime value: '7' for column 'start_date' at row 1]
[type] => DB_Error
[user_info] => INSERT INTO civicrm_contribution_page (title , intro_text , financial_type_id , is_credit_card_only , is_confirm_enabled , goal_amount , is_active , footer_text , start_date , end_date , created_id , created_date , currency , is_share ) VALUES ('test' , NULL , 3 , 0 , 1 , NULL , 1 , NULL , 7 , NULL , 202 , 20180717100536 , 'USD' , 0 ) [nativecode=1292 ** Incorrect datetime value: '7' for column 'start_date' at row 1]
[to_string] => [db_error: message="DB Error: unknown error" code=-1 mode=callback callback=CRM_Core_Error::handle prefix="" info="INSERT INTO civicrm_contribution_page (title , intro_text , financial_type_id , is_credit_card_only , is_confirm_enabled , goal_amount , is_active , footer_text , start_date , end_date , created_id , created_date , currency , is_share ) VALUES ('test' , NULL , 3 , 0 , 1 , NULL , 1 , NULL , 7 , NULL , 202 , 20180717100536 , 'USD' , 0 ) [nativecode=1292 ** Incorrect datetime value: '7' for column 'start_date' at row 1]"]
)
```5.4.0https://lab.civicrm.org/dev/core/-/issues/258Possible unreleased regression - message template update altered customised t...2018-07-18T22:12:09ZeileenPossible unreleased regression - message template update altered customised templateOn the site that I have upgraded to 5.4 I found my template customisations were gone. The upgrade code should only update the default template and templates in use that are the same as the default (I need to test further as it's conceiva...On the site that I have upgraded to 5.4 I found my template customisations were gone. The upgrade code should only update the default template and templates in use that are the same as the default (I need to test further as it's conceivable my defaults had been updated in error)5.4.0https://lab.civicrm.org/dev/core/-/issues/249Contact Export fails in 5.4 when trying to export using the All radio button2018-07-12T22:29:35ZseamusleeContact Export fails in 5.4 when trying to export using the All radio buttonAs per https://chat.civicrm.org/civicrm/pl/a8myronnftgt8mcehfa8ohcnbo when using the all contacts radio button to do an export the export fails in 5.4As per https://chat.civicrm.org/civicrm/pl/a8myronnftgt8mcehfa8ohcnbo when using the all contacts radio button to do an export the export fails in 5.45.4.0https://lab.civicrm.org/dev/core/-/issues/229sending test email fails with: Error in call to Mailing_send_test : job_id is...2018-07-03T23:26:03Zjamiesending test email fails with: Error in call to Mailing_send_test : job_id is not valid : 440Since upgrading from 4.28 to 5.3 beta, sending a test message results in the error above and the callback documented below.
https://github.com/civicrm/civicrm-core/pull/12399
It seems that the API call to create the mailing_job is pass...Since upgrading from 4.28 to 5.3 beta, sending a test message results in the error above and the callback documented below.
https://github.com/civicrm/civicrm-core/pull/12399
It seems that the API call to create the mailing_job is passed (as the 'id' parameter) the mailing_id.
As a result, it either fails with the message above (if there is no mailing job id that matches) or worse, it overwrites an existing mailing_job row if it exists. Yipes.
My quick and dirty fix is:
```
0 jamie@turkey:civicrm$ diff -u api/v3/Mailing.php.orig api/v3/Mailing.php
--- api/v3/Mailing.php.orig 2018-07-02 15:32:28.317320362 -0400
+++ api/v3/Mailing.php 2018-07-02 15:32:48.988913106 -0400
@@ -620,6 +620,7 @@
);
$testEmailParams = _civicrm_api3_generic_replace_base_params($params);
+ unset($testEmailParams['id']);
$testEmailParams['is_test'] = 1;
$testEmailParams['status'] = 'Scheduled';
$testEmailParams['scheduled_date'] = CRM_Utils_Date::processDate(date('Y-m-d'), date('H:i:s'));
1 jamie@turkey:civicrm$
```
But since that code has not changed much recently I suspect a breaking change may have happened else where.
```
Jul 02 15:23:35 [info] $Fatal Error Details = Array
(
[callback] => Array
(
[0] => CRM_Core_Error
[1] => exceptionHandler
)
[code] => -3
[message] => DB Error: constraint violation
[mode] => 16
[debug_info] => INSERT INTO civicrm_mailing_event_queue (job_id , email_id , contact_id , hash ) VALUES ( 440 , 8326 , 8138 , 'f48d1f63168a98f3' ) [nativecode=1452 ** Cannot add or update a child row: a foreign key constraint fails (`southernvision`.`civicrm_mailing_event_queue`, CONSTRAINT `FK_civicrm_mailing_event_queue_job_id` FOREIGN KEY (`job_id`) REFERENCES `civicrm_mailing_job` (`id`) ON DELETE CASCADE)]
[type] => DB_Error
[user_info] => INSERT INTO civicrm_mailing_event_queue (job_id , email_id , contact_id , hash ) VALUES ( 440 , 8326 , 8138 , 'f48d1f63168a98f3' ) [nativecode=1452 ** Cannot add or update a child row: a foreign key constraint fails (`southernvision`.`civicrm_mailing_event_queue`, CONSTRAINT `FK_civicrm_mailing_event_queue_job_id` FOREIGN KEY (`job_id`) REFERENCES `civicrm_mailing_job` (`id`) ON DELETE CASCADE)]
[to_string] => [db_error: message="DB Error: constraint violation" code=-3 mode=callback callback=CRM_Core_Error::exceptionHandler prefix="" info="INSERT INTO civicrm_mailing_event_queue (job_id , email_id , contact_id , hash ) VALUES ( 440 , 8326 , 8138 , 'f48d1f63168a98f3' ) [nativecode=1452 ** Cannot add or update a child row: a foreign key constraint fails (`southernvision`.`civicrm_mailing_event_queue`, CONSTRAINT `FK_civicrm_mailing_event_queue_job_id` FOREIGN KEY (`job_id`) REFERENCES `civicrm_mailing_job` (`id`) ON DELETE CASCADE)]"]
)
Jul 02 15:23:35 [info] $backTrace = #0 /var/www/powerbase/sites/all/modules/civicrm/CRM/Core/Error.php(948): CRM_Core_Error::backtrace("backTrace", TRUE)
#1 /var/www/powerbase/sites/all/modules/civicrm/packages/PEAR.php(921): CRM_Core_Error::exceptionHandler(Object(DB_Error))
#2 /var/www/powerbase/sites/all/modules/civicrm/packages/DB.php(985): PEAR_Error->__construct("DB Error: constraint violation", -3, 16, (Array:2), "INSERT INTO civicrm_mailing_event_queue (job_id , email_id , contact_id , has...")
#3 /var/www/powerbase/sites/all/modules/civicrm/packages/PEAR.php(575): DB_Error->__construct(-3, 16, (Array:2), "INSERT INTO civicrm_mailing_event_queue (job_id , email_id , contact_id , has...")
#4 /var/www/powerbase/sites/all/modules/civicrm/packages/PEAR.php(223): PEAR->_raiseError(Object(DB_mysqli), NULL, -3, 16, (Array:2), "INSERT INTO civicrm_mailing_event_queue (job_id , email_id , contact_id , has...", "DB_Error", TRUE)
#5 /var/www/powerbase/sites/all/modules/civicrm/packages/DB/common.php(1905): PEAR->__call("raiseError", (Array:7))
#6 /var/www/powerbase/sites/all/modules/civicrm/packages/DB/mysqli.php(933): DB_common->raiseError(-3, NULL, NULL, "INSERT INTO civicrm_mailing_event_queue (job_id , email_id , contact_id , has...", "1452 ** Cannot add or update a child row: a foreign key constraint fails (`so...")
#7 /var/www/powerbase/sites/all/modules/civicrm/packages/DB/mysqli.php(403): DB_mysqli->mysqliRaiseError()
#8 /var/www/powerbase/sites/all/modules/civicrm/packages/DB/common.php(1216): DB_mysqli->simpleQuery("INSERT INTO civicrm_mailing_event_queue (job_id , email_id , contact_id , has...")
#9 /var/www/powerbase/sites/all/modules/civicrm/packages/DB/DataObject.php(2443): DB_common->query("INSERT INTO civicrm_mailing_event_queue (job_id , email_id , contact_id , has...")
#10 /var/www/powerbase/sites/all/modules/civicrm/packages/DB/DataObject.php(1068): DB_DataObject->_query("INSERT INTO civicrm_mailing_event_queue (job_id , email_id , contact_id , has...")
#11 /var/www/powerbase/sites/all/modules/civicrm/CRM/Core/DAO.php(548): DB_DataObject->insert()
#12 /var/www/powerbase/sites/all/modules/civicrm/CRM/Mailing/Event/BAO/Queue.php(57): CRM_Core_DAO->save()
#13 /var/www/powerbase/sites/all/modules/civicrm/api/v3/utils.php(1288): CRM_Mailing_Event_BAO_Queue::create((Array:4), (Array:1))
#14 /var/www/powerbase/sites/all/modules/civicrm/api/v3/MailingEventQueue.php(53): _civicrm_api3_basic_create("CRM_Mailing_Event_BAO_Queue", (Array:4), "Queue")
#15 /var/www/powerbase/sites/all/modules/civicrm/Civi/API/Provider/MagicFunctionProvider.php(89): civicrm_api3_mailing_event_queue_create((Array:4))
#16 /var/www/powerbase/sites/all/modules/civicrm/Civi/API/Kernel.php(169): Civi\API\Provider\MagicFunctionProvider->invoke((Array:9))
#17 /var/www/powerbase/sites/all/modules/civicrm/Civi/API/Kernel.php(100): Civi\API\Kernel->runRequest((Array:9))
#18 /var/www/powerbase/sites/all/modules/civicrm/api/api.php(43): Civi\API\Kernel->runSafe("MailingEventQueue", "create", (Array:4))
#19 /var/www/powerbase/sites/all/modules/civicrm/api/v3/Mailing.php(679): civicrm_api3("MailingEventQueue", "create", (Array:4))
#20 /var/www/powerbase/sites/all/modules/civicrm/Civi/API/Provider/MagicFunctionProvider.php(89): civicrm_api3_mailing_send_test((Array:10))
#21 /var/www/powerbase/sites/all/modules/civicrm/Civi/API/Kernel.php(169): Civi\API\Provider\MagicFunctionProvider->invoke((Array:9))
#22 /var/www/powerbase/sites/all/modules/civicrm/Civi/API/Kernel.php(100): Civi\API\Kernel->runRequest((Array:9))
#23 /var/www/powerbase/sites/all/modules/civicrm/Civi/API/Kernel.php(77): Civi\API\Kernel->runSafe("mailing", "send_test", (Array:10), NULL)
#24 /var/www/powerbase/sites/all/modules/civicrm/Civi/API/Subscriber/ChainSubscriber.php(211): Civi\API\Kernel->run("mailing", "send_test", (Array:10))
#25 /var/www/powerbase/sites/all/modules/civicrm/Civi/API/Subscriber/ChainSubscriber.php(73): Civi\API\Subscriber\ChainSubscriber->callNestedApi(Object(Civi\API\Kernel), (Array:35), (Array:5), "create", "Mailing", 3)
#26 [internal function](): Civi\API\Subscriber\ChainSubscriber->onApiRespond(Object(Civi\API\Event\RespondEvent), "civi.api.respond", Object(Civi\Core\CiviEventDispatcher))
#27 /var/www/powerbase/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php(164): call_user_func((Array:2), Object(Civi\API\Event\RespondEvent), "civi.api.respond", Object(Civi\Core\CiviEventDispatcher))
#28 /var/www/powerbase/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/EventDispatcher.php(53): Symfony\Component\EventDispatcher\EventDispatcher->doDispatch((Array:4), "civi.api.respond", Object(Civi\API\Event\RespondEvent))
#29 /var/www/powerbase/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/ContainerAwareEventDispatcher.php(167): Symfony\Component\EventDispatcher\EventDispatcher->dispatch("civi.api.respond", Object(Civi\API\Event\RespondEvent))
#30 /var/www/powerbase/sites/all/modules/civicrm/Civi/Core/CiviEventDispatcher.php(47): Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch("civi.api.respond", Object(Civi\API\Event\RespondEvent))
#31 /var/www/powerbase/sites/all/modules/civicrm/Civi/API/Kernel.php(276): Civi\Core\CiviEventDispatcher->dispatch("civi.api.respond", Object(Civi\API\Event\RespondEvent))
#32 /var/www/powerbase/sites/all/modules/civicrm/Civi/API/Kernel.php(171): Civi\API\Kernel->respond(Object(Civi\API\Provider\MagicFunctionProvider), (Array:9), (Array:5))
#33 /var/www/powerbase/sites/all/modules/civicrm/Civi/API/Kernel.php(100): Civi\API\Kernel->runRequest((Array:9))
#34 /var/www/powerbase/sites/all/modules/civicrm/api/api.php(23): Civi\API\Kernel->runSafe("Mailing", "create", (Array:35), NULL)
#35 /var/www/powerbase/sites/all/modules/civicrm/CRM/Utils/REST.php(311): civicrm_api("Mailing", "create", (Array:35))
#36 /var/www/powerbase/sites/all/modules/civicrm/CRM/Utils/REST.php(548): CRM_Utils_REST::process((Array:3), (Array:35))
#37 /var/www/powerbase/sites/all/modules/civicrm/CRM/Core/Invoke.php(275): CRM_Utils_REST::ajax()
#38 /var/www/powerbase/sites/all/modules/civicrm/CRM/Core/Invoke.php(84): CRM_Core_Invoke::runItem((Array:12))
#39 /var/www/powerbase/sites/all/modules/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:3))
#40 /var/www/powerbase/sites/all/modules/civicrm/drupal/civicrm.module(445): CRM_Core_Invoke::invoke((Array:3))
#41 /var/www/powerbase/includes/menu.inc(527): civicrm_invoke("ajax", "rest")
#42 /var/www/powerbase/index.php(21): menu_execute_active_handler()
#43 {main}
```5.3.0