Development issueshttps://lab.civicrm.org/groups/dev/-/issues2020-06-17T09:07:23Zhttps://lab.civicrm.org/dev/wordpress/-/issues/16Fatal error with some versions of PHP2020-06-17T09:07:23ZhaystackFatal error with some versions of PHPThere's [a Stack Exchange report](https://civicrm.stackexchange.com/questions/27723/cant-use-function-return-value-in-write-context-in-civicrm-php-on-line-342) of the CiviCRM plugin throwing a fatal error on PHP 7.2.12.
This seems to be...There's [a Stack Exchange report](https://civicrm.stackexchange.com/questions/27723/cant-use-function-return-value-in-write-context-in-civicrm-php-on-line-342) of the CiviCRM plugin throwing a fatal error on PHP 7.2.12.
This seems to be because of `empty( session_id() )` when running `CiviCRM_For_WordPress::setup_instance()`.
PR to follow.haystackhaystackhttps://lab.civicrm.org/dev/core/-/issues/603DB error on Case Summary report2018-12-30T09:13:53ZmathavanDB error on Case Summary reportOn Case Summary report,
When run report without any changes are any filters then you would this warning message
![Warning_message](/uploads/d58a69dbbf72d9916ac87a3cde5c9583/Warning_message.png)
Then unselect the Staff Member Column and...On Case Summary report,
When run report without any changes are any filters then you would this warning message
![Warning_message](/uploads/d58a69dbbf72d9916ac87a3cde5c9583/Warning_message.png)
Then unselect the Staff Member Column and Relationship column on Column tab and run the report would end up with DB Error unknown column.
![unselectRelationshipFields](/uploads/78f1e4e8e732f70a4a65a7f266249c7a/unselectRelationshipFields.png)
![DB_Error](/uploads/ce1803449623eb3d62c539cfa06aa8a1/DB_Error.png)
I think is because of filter "Active Relationship" is set to "Yes" by default.
![Filter](/uploads/92151f98651b2deec706a7c2c06ee6ea/Filter.png)
Because there is no relationship table has been added in from clause based on this condition
![FromClause](/uploads/3126c43f0ebc4905fe368085d0ad0df0/FromClause.png)5.10https://lab.civicrm.org/dev/core/-/issues/604No release notes for 5.8.12018-12-20T02:16:36ZGhost UserNo release notes for 5.8.1Latest release is 5.8.1 and links to release notes that do not exist and it seems you guys usually do release notes for dot releases but did not in this case.
https://civicrm.org/blog/tags/release
https://github.com/civicrm/civicrm-core...Latest release is 5.8.1 and links to release notes that do not exist and it seems you guys usually do release notes for dot releases but did not in this case.
https://civicrm.org/blog/tags/release
https://github.com/civicrm/civicrm-core/tree/master/release-noteshttps://lab.civicrm.org/dev/drupal/-/issues/39Drupal8: remove Views code from core2020-08-07T03:28:13ZbgmDrupal8: remove Views code from coreAs per #28, we should remove the Views code from `civicrm-drupal-8` and instead recommend [civicrm_entity](https://www.drupal.org/project/civicrm_entity/) / [on github](https://github.com/eileenmcnaughton/civicrm_entity).As per #28, we should remove the Views code from `civicrm-drupal-8` and instead recommend [civicrm_entity](https://www.drupal.org/project/civicrm_entity/) / [on github](https://github.com/eileenmcnaughton/civicrm_entity).5.23.0https://lab.civicrm.org/dev/drupal/-/issues/40Drupal8: cache-rebuild causes Views to have unexpected errors2018-12-17T21:36:16ZbgmDrupal8: cache-rebuild causes Views to have unexpected errorsHow to reproduce:
* Drupal8 + CiviCRM site
* Create a view, using `civicrm_entity` fields.
* The view should work fine
* Do a cache-rebuild `drush cr`.
* note: the error magically disappears after a few minutes.
Result: "website had ...How to reproduce:
* Drupal8 + CiviCRM site
* Create a view, using `civicrm_entity` fields.
* The view should work fine
* Do a cache-rebuild `drush cr`.
* note: the error magically disappears after a few minutes.
Result: "website had an unexpected error".
Actual error:
```
TypeError: Argument 1 passed to civicrm_views_query_alter() must be an instance of Drupal\views\ViewExecutable, instance of Drupal\Core\Database\Driver\mysql\Select given
```
Backtrace:
```
TypeError: Argument 1 passed to civicrm_views_query_alter() must be an instance of Drupal\views\ViewExecutable, instance of Drupal\Core\Database\Driver\mysql\Select given, called
in /var/aegir/platforms/civicrm-d8/core/lib/Drupal/Core/Extension/ModuleHandler.php on line 539 in civicrm_views_query_alter() (line 9 of
/var/aegir/platforms/civicrm-d8/modules/civicrm-drupal/civicrm.views_execution.inc) #0 /var/aegir/platforms/civicrm-d8/core/lib/Drupal/Core/Extension/ModuleHandler.php(539):
civicrm_views_query_alter(Object(Drupal\Core\Database\Driver\mysql\Select), NULL, NULL)
#1 /var/aegir/platforms/civicrm-d8/core/lib/Drupal/Core/Database/Query/Select.php(480): Drupal\Core\Extension\ModuleHandler->alter('query',
Object(Drupal\Core\Database\Driver\mysql\Select))
#2 /var/aegir/platforms/civicrm-d8/core/modules/views/src/Plugin/views/cache/CachePluginBase.php(203): Drupal\Core\Database\Query\Select->preExecute()
#3 /var/aegir/platforms/civicrm-d8/core/modules/views/src/Plugin/views/cache/CachePluginBase.php(141): Drupal\views\Plugin\views\cache\CachePluginBase->generateResultsKey()
#4 /var/aegir/platforms/civicrm-d8/core/modules/views/src/ViewExecutable.php(1419): Drupal\views\Plugin\views\cache\CachePluginBase->cacheGet('results')
#5 /var/aegir/platforms/civicrm-d8/core/modules/views/src/ViewExecutable.php(1454): Drupal\views\ViewExecutable->execute(NULL)
#6 /var/aegir/platforms/civicrm-d8/core/modules/views/src/Plugin/views/display/Page.php(183): Drupal\views\ViewExecutable->render()
#7 /var/aegir/platforms/civicrm-d8/core/modules/views/src/ViewExecutable.php(1630): Drupal\views\Plugin\views\display\Page->execute()
#8 /var/aegir/platforms/civicrm-d8/core/modules/views/src/Element/View.php(77):
[...]
```https://lab.civicrm.org/dev/core/-/issues/605Display of Test Transactions in CiviCRM2023-09-06T05:03:20Zmattwiremjw@mjwconsult.co.ukDisplay of Test Transactions in CiviCRMSee https://github.com/civicrm/civicrm-core/pull/12421 and https://github.com/civicrm/civicrm-core/pull/12385
There is quite a lot of inconsistency with displaying test transactions in CiviCRM. In some places they are shown, others not...See https://github.com/civicrm/civicrm-core/pull/12421 and https://github.com/civicrm/civicrm-core/pull/12385
There is quite a lot of inconsistency with displaying test transactions in CiviCRM. In some places they are shown, others not, sometimes the tab counts include them, sometimes not...
I propose that we add a setting (global or per-user?) to CiviCRM and test transactions are shown ONLY based on that setting, not on any other random variable we choose to latch onto (who knew that force=1 also means "don't show test transactions"!).https://lab.civicrm.org/dev/core/-/issues/606Wrong redirection when view/editing Option Groups inside a modal2018-12-18T20:26:39ZDavi AlexandreWrong redirection when view/editing Option Groups inside a modalThis seems like a regression caused by #259.
Before it, when opening the Option Group page via a modal, the behavior of clicking the "Done" button was to just close the modal so that people could continue filling the form:
![541](/uplo...This seems like a regression caused by #259.
Before it, when opening the Option Group page via a modal, the behavior of clicking the "Done" button was to just close the modal so that people could continue filling the form:
![541](/uploads/a1be12ccd111ef1c8a5926a6f0b3235c/541.gif)
After it, when clicking the "Done" button, the user is now redirected to the Option Groups page and lose all the data they might have already entered:
![581](/uploads/81741dc567d72fb1d583c43b045e7007/581.gif)5.9https://lab.civicrm.org/dev/core/-/issues/607Search Builder fails with an error when searching for State if the location t...2018-12-19T20:41:32ZkainukSearch Builder fails with an error when searching for State if the location type differs from the display name.To reproduce on the dmaster.
1. Goto https://dmaster.demo.civicrm.org/civicrm/admin/locationType?reset=1
1. Change the name of Other (nr 4) to other.
1. Start the search builder.
1. Create the following search ![screen01](/uploads/3cd446...To reproduce on the dmaster.
1. Goto https://dmaster.demo.civicrm.org/civicrm/admin/locationType?reset=1
1. Change the name of Other (nr 4) to other.
1. Start the search builder.
1. Create the following search ![screen01](/uploads/3cd4464f5e344f1a2866d0d2f4b3bc2d/screen01.jpg)
1. The search ends with a *DB Error - Syntax Error*5.10https://lab.civicrm.org/dev/drupal/-/issues/41Invalid regular expression on find_value_and_highlight2021-02-04T19:21:38ZshaneonabikeInvalid regular expression on find_value_and_highlightI came across this interesting little diddy... Basically, one of our users created an Organization as **(Université du Québec à Montréal**. Now that shouldn't be a real big issues, except that on a Webform (using Webform Civicrm) the cal...I came across this interesting little diddy... Basically, one of our users created an Organization as **(Université du Québec à Montréal**. Now that shouldn't be a real big issues, except that on a Webform (using Webform Civicrm) the callback to search for existing Organizations is throwing an exception. Mainly, because the ( introduces an extra element in the regular expression. Perhaps we need to add something that would escape these values?
`Uncaught SyntaxError: Invalid regular expression: /(?![^&;]+;)(?!<[^<>]*)((Université du Québec à Montréal)(?![^<>]*>)(?![^&;]+;)/: Unterminated group
at new RegExp (<anonymous>)
at find_value_and_highlight_term (js__9MDsutgYLjvNWbacIKdIM-_lWMx6j_FrTBlPkRjQkAU__3a9qPir6bBPCsLiwjm9jZa1_25kF908lNx0Z7bQ255s__FlKQa-km3xlDGPoIZZNvuMHu2QCQHy1fxdhBQcnM3Fs.js:662)
at Object.<anonymous> (js__9MDsutgYLjvNWbacIKdIM-_lWMx6j_FrTBlPkRjQkAU__3a9qPir6bBPCsLiwjm9jZa1_25kF908lNx0Z7bQ255s__FlKQa-km3xlDGPoIZZNvuMHu2QCQHy1fxdhBQcnM3Fs.js:684)
at Function.each (js__dU859nniAHOO3ZZ49DZUXr5Frl9T3QSa81hYdDf9Uas__1Tf7Fi7ZEi0LVYZbZYn2z46aXwifjwu_MFpx644_2lc__FlKQa-km3xlDGPoIZZNvuMHu2QCQHy1fxdhBQcnM3Fs.js:3)
at populate_dropdown (js__9MDsutgYLjvNWbacIKdIM-_lWMx6j_FrTBlPkRjQkAU__3a9qPir6bBPCsLiwjm9jZa1_25kF908lNx0Z7bQ255s__FlKQa-km3xlDGPoIZZNvuMHu2QCQHy1fxdhBQcnM3Fs.js:681)
at run_search (js__9MDsutgYLjvNWbacIKdIM-_lWMx6j_FrTBlPkRjQkAU__3a9qPir6bBPCsLiwjm9jZa1_25kF908lNx0Z7bQ255s__FlKQa-km3xlDGPoIZZNvuMHu2QCQHy1fxdhBQcnM3Fs.js:762)
at js__9MDsutgYLjvNWbacIKdIM-_lWMx6j_FrTBlPkRjQkAU__3a9qPir6bBPCsLiwjm9jZa1_25kF908lNx0Z7bQ255s__FlKQa-km3xlDGPoIZZNvuMHu2QCQHy1fxdhBQcnM3Fs.js:749
find_value_and_highlight_term @ js__9MDsutgYLjvNWbacIKdIM-_lWMx6j_FrTBlPkRjQkAU__3a9qPir6bBPCsLiwjm9jZa1_25kF908lNx0Z7bQ255s__FlKQa-km3xlDGPoIZZNvuMHu2QCQHy1fxdhBQcnM3Fs.js:662
(anonymous) @ js__9MDsutgYLjvNWbacIKdIM-_lWMx6j_FrTBlPkRjQkAU__3a9qPir6bBPCsLiwjm9jZa1_25kF908lNx0Z7bQ255s__FlKQa-km3xlDGPoIZZNvuMHu2QCQHy1fxdhBQcnM3Fs.js:684
each @ js__dU859nniAHOO3ZZ49DZUXr5Frl9T3QSa81hYdDf9Uas__1Tf7Fi7ZEi0LVYZbZYn2z46aXwifjwu_MFpx644_2lc__FlKQa-km3xlDGPoIZZNvuMHu2QCQHy1fxdhBQcnM3Fs.js:3
populate_dropdown @ js__9MDsutgYLjvNWbacIKdIM-_lWMx6j_FrTBlPkRjQkAU__3a9qPir6bBPCsLiwjm9jZa1_25kF908lNx0Z7bQ255s__FlKQa-km3xlDGPoIZZNvuMHu2QCQHy1fxdhBQcnM3Fs.js:681
run_search @ js__9MDsutgYLjvNWbacIKdIM-_lWMx6j_FrTBlPkRjQkAU__3a9qPir6bBPCsLiwjm9jZa1_25kF908lNx0Z7bQ255s__FlKQa-km3xlDGPoIZZNvuMHu2QCQHy1fxdhBQcnM3Fs.js:762
(anonymous) @ js__9MDsutgYLjvNWbacIKdIM-_lWMx6j_FrTBlPkRjQkAU__3a9qPir6bBPCsLiwjm9jZa1_25kF908lNx0Z7bQ255s__FlKQa-km3xlDGPoIZZNvuMHu2QCQHy1fxdhBQcnM3Fs.js:749
setTimeout (async)
do_search @ js__9MDsutgYLjvNWbacIKdIM-_lWMx6j_FrTBlPkRjQkAU__3a9qPir6bBPCsLiwjm9jZa1_25kF908lNx0Z7bQ255s__FlKQa-km3xlDGPoIZZNvuMHu2QCQHy1fxdhBQcnM3Fs.js:748
(anonymous) @ js__9MDsutgYLjvNWbacIKdIM-_lWMx6j_FrTBlPkRjQkAU__3a9qPir6bBPCsLiwjm9jZa1_25kF908lNx0Z7bQ255s__FlKQa-km3xlDGPoIZZNvuMHu2QCQHy1fxdhBQcnM3Fs.js:285
setTimeout (async)
(anonymous) @ js__9MDsutgYLjvNWbacIKdIM-_lWMx6j_FrTBlPkRjQkAU__3a9qPir6bBPCsLiwjm9jZa1_25kF908lNx0Z7bQ255s__FlKQa-km3xlDGPoIZZNvuMHu2QCQHy1fxdhBQcnM3Fs.js:285
dispatch @ js__dU859nniAHOO3ZZ49DZUXr5Frl9T3QSa81hYdDf9Uas__1Tf7Fi7ZEi0LVYZbZYn2z46aXwifjwu_MFpx644_2lc__FlKQa-km3xlDGPoIZZNvuMHu2QCQHy1fxdhBQcnM3Fs.js:4
v.handle @ js__dU859nniAHOO3ZZ49DZUXr5Frl9T3QSa81hYdDf9Uas__1Tf7Fi7ZEi0LVYZbZYn2z46aXwifjwu_MFpx644_2lc__FlKQa-km3xlDGPoIZZNvuMHu2QCQHy1fxdhBQcnM3Fs.js:4`https://lab.civicrm.org/dev/core/-/issues/608Saving Search Settings cause losing Search Settings2018-12-18T21:09:33Zpal_urSaving Search Settings cause losing Search SettingsIf I save Administer >> Settings >> Search page, the values of "Contact autocomplete options" and "Contact reference options" are lost. The values in the corresponding database rows instead of string (eg. s:5:"12") a null length integer ...If I save Administer >> Settings >> Search page, the values of "Contact autocomplete options" and "Contact reference options" are lost. The values in the corresponding database rows instead of string (eg. s:5:"12") a null length integer (i:0).
CiviCRM 5.8.0, Drupal 7, MySQL 5.5.62https://lab.civicrm.org/dev/core/-/issues/609Can't view "Advanced Search" links on Mailing Report without "View All Contac...2019-02-05T14:07:11ZJonGoldCan't view "Advanced Search" links on Mailing Report without "View All Contacts" permissionIt appears that the "Advanced Search" link (see screenshot) doesn't appear on mailing reports unless you have the "View All Contacts" permission. This seems odd because the "Report" link is NOT restricted. The only reason I can think o...It appears that the "Advanced Search" link (see screenshot) doesn't appear on mailing reports unless you have the "View All Contacts" permission. This seems odd because the "Report" link is NOT restricted. The only reason I can think of for wanting to restrict this is to prevent someone thinking they have a complete list of contacts that received a mailing when they didn't. I'd argue that a) folks with access to less than the whole database typically understand this; b) the same issue would be present on reports.
I propose we remove [the permission check](https://github.com/civicrm/civicrm-core/blob/master/CRM/Mailing/BAO/Mailing.php#L2182) that controls the display of the "Advanced Search" link.
![Selection_721](/uploads/576ddcc9b35d34870056ef7316439d9b/Selection_721.png)https://lab.civicrm.org/dev/core/-/issues/610Page title displays twice if the activity type is set in Activity form2018-12-29T22:59:37ZyashodhaPage title displays twice if the activity type is set in Activity formSteps to replicate :
* Go to https://dmaster.demo.civicrm.org/civicrm/activity?reset=1&action=add&context=standalone&atype=2
* Page title displays twice
![activity_bug](/uploads/dcb4e9453ef30a5352b0755a471443c9/activity_bug.png)
It show...Steps to replicate :
* Go to https://dmaster.demo.civicrm.org/civicrm/activity?reset=1&action=add&context=standalone&atype=2
* Page title displays twice
![activity_bug](/uploads/dcb4e9453ef30a5352b0755a471443c9/activity_bug.png)
It shows properly if a new activity form doesn't have activity type set.
https://dmaster.demo.civicrm.org/civicrm/activity?reset=1&action=add&context=standalone5.10yashodhayashodhahttps://lab.civicrm.org/dev/core/-/issues/611Allow permissioned contact to download the invoice2023-03-15T05:03:18ZsunilAllow permissioned contact to download the invoiceTo Print other contact Invoice Logged in contact need 'access CiviContribute' permission
To Print own Invoice Logged in contact need 'view my invoices' Permission.
If user role only have 'view my invoices' permission and want to print ...To Print other contact Invoice Logged in contact need 'access CiviContribute' permission
To Print own Invoice Logged in contact need 'view my invoices' Permission.
If user role only have 'view my invoices' permission and want to print invoice of contact which have Permissioned relationship. It gives access denied message.
(e.g. Employee should print invoice of Employer contact if relationship is Permissioned)https://lab.civicrm.org/dev/core/-/issues/612Label Format does not fit in database - PHP 7.1 json_encode() and serialize_p...2023-06-02T05:03:17ZjitendraLabel Format does not fit in database - PHP 7.1 json_encode() and serialize_precisionSee details in https://civicrm.stackexchange.com/questions/27754/label-format-does-not-fit-in-database-php-7-1-json-encode-and-serialize-precSee details in https://civicrm.stackexchange.com/questions/27754/label-format-does-not-fit-in-database-php-7-1-json-encode-and-serialize-prechttps://lab.civicrm.org/dev/core/-/issues/613Merge into household on Export Contact throws db error2019-05-13T00:55:45ZalarmingcodMerge into household on Export Contact throws db errorRun a contact search.
Select all contacts> Export contacts
use Primary Fields Export
Select "Merge Household Members into their Households" option. DB Error message appears
Sorry, due to an error, we are unable to fulfill your request a...Run a contact search.
Select all contacts> Export contacts
use Primary Fields Export
Select "Merge Household Members into their Households" option. DB Error message appears
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
Return to home page.
Just replicated this on the dmaster.demo site
Error message (generated from client site, not dmaster)
/staging.orchestraoftheswan.org/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php(190): CRM_Core_Error::backtrace()
#1 /home/orchestraofthesw/staging.orchestraoftheswan.org/wp-content/plugins/civicrm/civicrm/packages/PEAR.php(921): CRM_Core_Error::handle(Object(DB_Error))
#2 /home/orchestraofthesw/staging.orchestraoftheswan.org/wp-content/plugins/civicrm/civicrm/packages/DB.php(985): PEAR_Error->__construct("DB Error: no such field", -19, 16, (Array:2), "UPDATE civicrm_tmp_d_export_0ccdfcf5be23358219aae26db7a3f294 SET civicrm_prim...")
#3 /home/orchestraofthesw/staging.orchestraoftheswan.org/wp-content/plugins/civicrm/civicrm/packages/PEAR.php(575): DB_Error->__construct(-19, 16, (Array:2), "UPDATE civicrm_tmp_d_export_0ccdfcf5be23358219aae26db7a3f294 SET civicrm_prim...")
#4 /home/orchestraofthesw/staging.orchestraoftheswan.org/wp-content/plugins/civicrm/civicrm/packages/PEAR.php(223): PEAR->_raiseError(Object(DB_mysqli), NULL, -19, 16, (Array:2), "UPDATE civicrm_tmp_d_export_0ccdfcf5be23358219aae26db7a3f294 SET civicrm_prim...", "DB_Error", TRUE)
#5 /home/orchestraofthesw/staging.orchestraoftheswan.org/wp-content/plugins/civicrm/civicrm/packages/DB/common.php(1907): PEAR->__call("raiseError", (Array:7))
#6 /home/orchestraofthesw/staging.orchestraoftheswan.org/wp-content/plugins/civicrm/civicrm/packages/DB/mysqli.php(933): DB_common->raiseError(-19, NULL, NULL, "UPDATE civicrm_tmp_d_export_0ccdfcf5be23358219aae26db7a3f294 SET civicrm_prim...", "1054 ** Unknown column '8_a_b_phone_type' in 'field list'")
#7 /home/orchestraofthesw/staging.orchestraoftheswan.org/wp-content/plugins/civicrm/civicrm/packages/DB/mysqli.php(403): DB_mysqli->mysqliRaiseError()
#8 /home/orchestraofthesw/staging.orchestraoftheswan.org/wp-content/plugins/civicrm/civicrm/packages/DB/common.php(1216): DB_mysqli->simpleQuery("UPDATE civicrm_tmp_d_export_0ccdfcf5be23358219aae26db7a3f294 SET civicrm_prim...")
#9 /home/orchestraofthesw/staging.orchestraoftheswan.org/wp-content/plugins/civicrm/civicrm/packages/DB/DataObject.php(2415): DB_common->query("UPDATE civicrm_tmp_d_export_0ccdfcf5be23358219aae26db7a3f294 SET civicrm_prim...")
#10 /home/orchestraofthesw/staging.orchestraoftheswan.org/wp-content/plugins/civicrm/civicrm/packages/DB/DataObject.php(1607): DB_DataObject->_query("UPDATE civicrm_tmp_d_export_0ccdfcf5be23358219aae26db7a3f294 SET civicrm_prim...")
#11 /home/orchestraofthesw/staging.orchestraoftheswan.org/wp-content/plugins/civicrm/civicrm/CRM/Core/DAO.php(438): DB_DataObject->query("UPDATE civicrm_tmp_d_export_0ccdfcf5be23358219aae26db7a3f294 SET civicrm_prim...")
#12 /home/orchestraofthesw/staging.orchestraoftheswan.org/wp-content/plugins/civicrm/civicrm/CRM/Core/DAO.php(1411): CRM_Core_DAO->query("UPDATE civicrm_tmp_d_export_0ccdfcf5be23358219aae26db7a3f294 SET civicrm_prim...", TRUE)
#13 /home/orchestraofthesw/staging.orchestraoftheswan.org/wp-content/plugins/civicrm/civicrm/CRM/Export/BAO/Export.php(1193): CRM_Core_DAO::executeQuery("UPDATE civicrm_tmp_d_export_0ccdfcf5be23358219aae26db7a3f294 SET civicrm_prim...")
#14 /home/orchestraofthesw/staging.orchestraoftheswan.org/wp-content/plugins/civicrm/civicrm/CRM/Export/BAO/Export.php(598): CRM_Export_BAO_Export::mergeSameHousehold("civicrm_tmp_d_export_0ccdfcf5be23358219aae26db7a3f294", (Array:167), "8_a_b")
#15 /home/orchestraofthesw/staging.orchestraoftheswan.org/wp-content/plugins/civicrm/civicrm/CRM/Export/Form/Select.php(427): CRM_Export_BAO_Export::exportComponents(TRUE, (Array:4215), (Array:4), "`sort_name` asc, contact_a.id", NULL, NULL, 1, " contact_a.id IN ( 16766,12499,12391,8420,3592,6157,10798,5706,8326,3913,4173...", NULL, 0, 1, (Array:11), "AND")
#16 /home/orchestraofthesw/staging.orchestraoftheswan.org/wp-content/plugins/civicrm/civicrm/CRM/Core/Form.php(489): CRM_Export_Form_Select->postProcess()
#17 /home/orchestraofthesw/staging.orchestraoftheswan.org/wp-content/plugins/civicrm/civicrm/CRM/Core/StateMachine.php(160): CRM_Core_Form->mainProcess()
#18 /home/orchestraofthesw/staging.orchestraoftheswan.org/wp-content/plugins/civicrm/civicrm/CRM/Core/QuickForm/Action/Next.php(61): CRM_Core_StateMachine->perform(Object(CRM_Export_Form_Select), "next", "Next")
#19 /home/orchestraofthesw/staging.orchestraoftheswan.org/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Next->perform(Object(CRM_Export_Form_Select), "next")
#20 /home/orchestraofthesw/staging.orchestraoftheswan.org/wp-content/plugins/civicrm/civicrm/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Export_Form_Select), "next")
#21 /home/orchestraofthesw/staging.orchestraoftheswan.org/wp-content/plugins/civicrm/civicrm/CRM/Core/Controller.php(351): HTML_QuickForm_Page->handle("next")
#22 /home/orchestraofthesw/staging.orchestraoftheswan.org/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(309): CRM_Core_Controller->run((Array:4), (Array:0))
#23 /home/orchestraofthesw/staging.orchestraoftheswan.org/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(84): CRM_Core_Invoke::runItem((Array:13))
#24 /home/orchestraofthesw/staging.orchestraoftheswan.org/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(52): CRM_Core_Invoke::_invoke((Array:4))
#25 /home/orchestraofthesw/staging.orchestraoftheswan.org/wp-content/plugins/civicrm/civicrm.php(1248): CRM_Core_Invoke::invoke((Array:4))
#26 /home/orchestraofthesw/staging.orchestraoftheswan.org/wp-includes/class-wp-hook.php(286): CiviCRM_For_WordPress->invoke("")
#27 /home/orchestraofthesw/staging.orchestraoftheswan.org/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters("", (Array:1))
#28 /home/orchestraofthesw/staging.orchestraoftheswan.org/wp-includes/plugin.php(453): WP_Hook->do_action((Array:1))
#29 /home/orchestraofthesw/staging.orchestraoftheswan.org/wp-admin/admin.php(224): do_action("toplevel_page_CiviCRM")
#30 {main}
Have been able to run the export using Household merge, by using select fields/ field mapping options, rather than export primary fields.
Client site recently upgraded from 4.7.21 to 5.6.1https://lab.civicrm.org/dev/core/-/issues/614'Blank column at the beginning' in event Reports does not work2022-09-22T05:03:39ZAndy Clark'Blank column at the beginning' in event Reports does not workThe setting 'Blank column at the beginning' in event Reports does not work. The blank columns at the end do work but not the one at the beginning. Does not work in 5.60 and 5.73. A patch would be appreciated as although it sounds mino...The setting 'Blank column at the beginning' in event Reports does not work. The blank columns at the end do work but not the one at the beginning. Does not work in 5.60 and 5.73. A patch would be appreciated as although it sounds minor this facility makes an event report work. I assume that this feature is only for event reports?https://lab.civicrm.org/dev/core/-/issues/615PHP 7.2 compatibility: PHP warnings for improper usage of count()2018-12-19T20:02:57ZjensschuppePHP 7.2 compatibility: PHP warnings for improper usage of count()#118 took care of some of those warnings, but seems to have missed Smarty template code, which yields those warnings in the rendered PHP templates in templates_c.
An example: Line 20 in CRM/Contribute/Form/Contribution/OnBehalfOf.tpl:
...#118 took care of some of those warnings, but seems to have missed Smarty template code, which yields those warnings in the rendered PHP templates in templates_c.
An example: Line 20 in CRM/Contribute/Form/Contribution/OnBehalfOf.tpl:
```smarty
{if $onBehalfOfFields|@count}
```5.9https://lab.civicrm.org/dev/core/-/issues/616'Print/merge document for memberships' Preview creates activities2022-09-23T05:03:37ZAndrew Thompson'Print/merge document for memberships' Preview creates activitiesUnlike 'Print/merge document' for *contacts*, for *memberships* the 'Print/merge document for *memberships*' task the Preview button will create activities.
As defined in [CRM-16725](https://issues.civicrm.org/jira/browse/CRM-16725) the...Unlike 'Print/merge document' for *contacts*, for *memberships* the 'Print/merge document for *memberships*' task the Preview button will create activities.
As defined in [CRM-16725](https://issues.civicrm.org/jira/browse/CRM-16725) the difference between Preview and Download Document should be that activities are not created for Preview.
Steps to reproduce:
1. Find Memberships, use any criteria
2. Select some memberships and select the 'Print/merge document for memberships'
3. Click Preview - PDF will be created
4. Find Activities, search using appropriate criteria (Today) - activities will be seen for this task.
*Preliminary investigation:*
In `CRM_Member_Form_Task_PDFLetterCommon::postProcessMembers()`, `self::createActivities()` is called unconditionally.
In contrast, for Contacts, in `CRM_Contact_Form_Task_PDFLetterCommon::postProcess()`, `self::createActivities()` is inside an if statement: `if ($isLiveMode)`.https://lab.civicrm.org/dev/core/-/issues/617Mailings not including all contacts in smart group2022-09-22T05:03:39ZGhost UserMailings not including all contacts in smart groupI have a smart group with 47 contacts but for some reason the mailing interface is only showing 5 and sending to five. I checked and all contacts communication preferences are fine so its not because they have opted out of email because ...I have a smart group with 47 contacts but for some reason the mailing interface is only showing 5 and sending to five. I checked and all contacts communication preferences are fine so its not because they have opted out of email because that is not the case.
Two screenshots to show the issue and this is on 5.8.0
![Screen_Shot_2018-12-20_at_1.05.35_PM](/uploads/80b430fab0c04a1d52c97af103aac1e2/Screen_Shot_2018-12-20_at_1.05.35_PM.png)
![Screen_Shot_2018-12-20_at_1.05.06_PM](/uploads/35b05b65123bb3c9c766cfcb71614ae6/Screen_Shot_2018-12-20_at_1.05.06_PM.png)https://lab.civicrm.org/dev/core/-/issues/3546Recipients in smart group are less than actual in group2023-02-08T16:54:07ZGhost UserRecipients in smart group are less than actual in groupFor some reason smart group is only sending to five people even though group has 47 and none have opted out of bulk mailing or email so not sure why the mailing interface is only calculating 5 recipients.
![Screen_Shot_2018-12-20_at_1.0...For some reason smart group is only sending to five people even though group has 47 and none have opted out of bulk mailing or email so not sure why the mailing interface is only calculating 5 recipients.
![Screen_Shot_2018-12-20_at_1.05.06_PM](/uploads/03674ebbecba86a4c8c585f305bfe515/Screen_Shot_2018-12-20_at_1.05.06_PM.png)
![Screen_Shot_2018-12-20_at_1.05.35_PM](/uploads/d5054897492805c5403c6967df77edbb/Screen_Shot_2018-12-20_at_1.05.35_PM.png)