Development issueshttps://lab.civicrm.org/groups/dev/-/issues2024-01-10T14:07:35Zhttps://lab.civicrm.org/dev/core/-/issues/4894Fatal error when searching a contact2024-01-10T14:07:35ZGuillaumeSorelFatal error when searching a contactOn CiviCRM 5.69.1 when I do a simple contact search I get this error and can't see the contact
```[error]
$Fatal Error Details = array:3 [
"message" => """
Unexpected result from getcountArray\n
(\n
[error_code] => -2...On CiviCRM 5.69.1 when I do a simple contact search I get this error and can't see the contact
```[error]
$Fatal Error Details = array:3 [
"message" => """
Unexpected result from getcountArray\n
(\n
[error_code] => -2\n
[sql] => \n
[debug_info] => SELECT count(*) as c\n
FROM civicrm_activity a\n
LEFT JOIN civicrm_case_activity actjoin_case_id ON (actjoin_case_id.activity_id = a.id)\n
WHERE (((`a`.`activity_type_id` Array)))\n
AND (a.id IN (SELECT activity_id FROM civicrm_activity_contact WHERE contact_id = "27478"))\n
AND (actjoin_case_id.case_id IS NULL)\n
AND (a.is_current_revision = "1")\n
AND (a.activity_type_id IN ("1", "55", "56", "57", "58", "59", "70", "71", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "60", "61", "62", "63", "64", "65", "66", "67", "68", "69", "72", "73", "74", "75", "76", "77", "78", "80", "82", "84", "86", "88", "89"))\n
AND (a.is_test = "0")\n
AND (a.is_deleted = "0")\n
[nativecode=1064 ** You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'Array)))\n
AND (a.id IN (SELECT activity_id FROM civicrm_activity_contact WHE...' at line 4]\n
[entity] => Activity\n
[action] => get\n
[is_error] => 1\n
[error_message] => case_id is not valid : 1\n
[debug_information] => \n
)\n
"""
"code" => null
"exception" => CRM_Core_Exception {#36862
-errorData: array:5 [
"error_code" => 0
"entity" => "Activity"
"action" => "getcount"
"is_error" => 1
"error_message" => """
Unexpected result from getcountArray\n
(\n
[error_code] => -2\n
[sql] => \n
[debug_info] => SELECT count(*) as c\n
FROM civicrm_activity a\n
LEFT JOIN civicrm_case_activity actjoin_case_id ON (actjoin_case_id.activity_id = a.id)\n
WHERE (((`a`.`activity_type_id` Array)))\n
AND (a.id IN (SELECT activity_id FROM civicrm_activity_contact WHERE contact_id = "27478"))\n
AND (actjoin_case_id.case_id IS NULL)\n
AND (a.is_current_revision = "1")\n
AND (a.activity_type_id IN ("1", "55", "56", "57", "58", "59", "70", "71", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "60", "61", "62", "63", "64", "65", "66", "67", "68", "69", "72", "73", "74", "75", "76", "77", "78", "80", "82", "84", "86", "88", "89"))\n
AND (a.is_test = "0")\n
AND (a.is_deleted = "0")\n
[nativecode=1064 ** You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'Array)))\n
AND (a.id IN (SELECT activity_id FROM civicrm_activity_contact WHE...' at line 4]\n
[entity] => Activity\n
[action] => get\n
[is_error] => 1\n
[error_message] => case_id is not valid : 1\n
[debug_information] => \n
)\n
"""
]
#cause: null
-_trace: null
#message: """
Unexpected result from getcountArray\n
(\n
[error_code] => -2\n
[sql] => \n
[debug_info] => SELECT count(*) as c\n
FROM civicrm_activity a\n
LEFT JOIN civicrm_case_activity actjoin_case_id ON (actjoin_case_id.activity_id = a.id)\n
WHERE (((`a`.`activity_type_id` Array)))\n
AND (a.id IN (SELECT activity_id FROM civicrm_activity_contact WHERE contact_id = "27478"))\n
AND (actjoin_case_id.case_id IS NULL)\n
AND (a.is_current_revision = "1")\n
AND (a.activity_type_id IN ("1", "55", "56", "57", "58", "59", "70", "71", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21", "22", "23", "24", "25", "26", "27", "28", "29", "30", "31", "32", "33", "34", "35", "36", "37", "38", "39", "40", "41", "44", "45", "46", "47", "48", "49", "50", "51", "52", "53", "54", "60", "61", "62", "63", "64", "65", "66", "67", "68", "69", "72", "73", "74", "75", "76", "77", "78", "80", "82", "84", "86", "88", "89"))\n
AND (a.is_test = "0")\n
AND (a.is_deleted = "0")\n
[nativecode=1064 ** You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'Array)))\n
AND (a.id IN (SELECT activity_id FROM civicrm_activity_contact WHE...' at line 4]\n
[entity] => Activity\n
[action] => get\n
[is_error] => 1\n
[error_message] => case_id is not valid : 1\n
[debug_information] => \n
)\n
"""
#code: 0
#file: "/var/www/vhosts/domain/httpdocs/wp-content/plugins/civicrm/civicrm/api/api.php"
#line: 138
trace: {
/var/www/vhosts/domain/httpdocs/wp-content/plugins/civicrm/civicrm/api/api.php:138 {
civicrm_api3(string $entity, string $action, array $params = [])
› if (is_array($result) && !empty($result['is_error'])) {
› throw new CRM_Core_Exception($result['error_message'], $result['error_code'] ?? 'undefined', $result);
› }
}
/var/www/vhosts/domain/httpdocs/wp-content/plugins/civicrm/civicrm/CRM/Activity/BAO/Activity.php:898 { …}
/var/www/vhosts/domain/httpdocs/wp-content/plugins/civicrm/civicrm/CRM/Contact/BAO/Contact.php:2641 { …}
/var/www/vhosts/domain/httpdocs/wp-content/plugins/civicrm/civicrm/CRM/Contact/Page/View/Summary.php:434 { …}
/var/www/vhosts/domain/httpdocs/wp-content/plugins/civicrm/civicrm/CRM/Contact/Page/View/Summary.php:255 { …}
/var/www/vhosts/domain/httpdocs/wp-content/plugins/civicrm/civicrm/CRM/Contact/Page/View/Summary.php:83 { …}
/var/www/vhosts/domain/httpdocs/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php:322 { …}
/var/www/vhosts/domain/httpdocs/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php:69 { …}
/var/www/vhosts/domain/httpdocs/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php:36 { …}
/var/www/vhosts/domain/httpdocs/wp-content/plugins/civicrm/civicrm.php:1231 { …}
/var/www/vhosts/domain/httpdocs/wp-includes/class-wp-hook.php:308 { …}
/var/www/vhosts/domain/httpdocs/wp-includes/class-wp-hook.php:332 { …}
/var/www/vhosts/domain/httpdocs/wp-includes/plugin.php:517 { …}
/var/www/vhosts/domain/httpdocs/wp-admin/admin.php:259 { …}
}
}
]
2024-01-08 13:30:57+0100 [debug] $backTrace = #0 /var/www/vhosts/smc-cse.fr/httpdocs/wp-content/plugins/civicrm/civicrm/CRM/Core/Error.php(443): CRM_Core_Error::backtrace("backTrace", TRUE)
#1 /var/www/vhosts/smc-cse.fr/httpdocs/wp-content/plugins/civicrm/civicrm/CRM/Core/Invoke.php(39): CRM_Core_Error::handleUnhandledException(Object(CRM_Core_Exception))
#2 /var/www/vhosts/domain/httpdocs/wp-content/plugins/civicrm/civicrm.php(1231): CRM_Core_Invoke::invoke((Array:3))
#3 /var/www/vhosts/domain/httpdocs/wp-includes/class-wp-hook.php(308): CiviCRM_For_WordPress->invoke("")
#4 /var/www/vhosts/domain/httpdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters("", (Array:1))
#5 /var/www/vhosts/domain/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action((Array:1))
#6 /var/www/vhosts/domain/httpdocs/wp-admin/admin.php(259): do_action("toplevel_page_CiviCRM")
#7 {main}```https://lab.civicrm.org/dev/core/-/issues/3386Discussion of Event Cart Documentation on Wiki2024-01-10T05:03:22ZCM ToolanDiscussion of Event Cart Documentation on Wiki@bgm
I made an issue so that there would be a centralized place for questions/discussion!
On-going Wiki:
https://lab.civicrm.org/dev/event/wikis/event-cart
Note: I think all the screenshots need to be re-done later with default Civi,...@bgm
I made an issue so that there would be a centralized place for questions/discussion!
On-going Wiki:
https://lab.civicrm.org/dev/event/wikis/event-cart
Note: I think all the screenshots need to be re-done later with default Civi, and I'm leaning towards just using the 'Annual Chess Conference' as the demo, as it makes more sense that the Concert/Play example because those really need box office/eventpack to make sense/behave as expected.
> "# View Cart
> View of all events in your cart so far, with links to event info and Remove. A button will take you to checkout, asking you to log in if you haven't already. Anonymous users can have items in their cart, but cannot begin checkout without an account."
I only have Spark, and I think it's acting a bit odd because it's not connected to a website. This is still default behavior that needs https://lab.civicrm.org/extensions/boxoffice to override, right?
> To manage conference slot labels, go to "Conference Slot Labels", in Administer -> Administration Console -> Conference Slot Labels.
This is really confusing. Once one arrives at this page, what does one do?
That's as far as I got this morning, will be back to add more comments/progress/quesetions.https://lab.civicrm.org/dev/core/-/issues/2930Hardcoded dollar currency symbol in event registration modals2024-01-10T05:03:21ZBradley TaylorHardcoded dollar currency symbol in event registration modalsIn this screenshot the event currency is set to GBP (£), but the total amount is shown as USD ($). The totals are being summed correctly, but the symbol is hardcoded:
![Screenshot_2021-10-31_at_17.15.05](/uploads/38d9076ae581a30aa5a7808...In this screenshot the event currency is set to GBP (£), but the total amount is shown as USD ($). The totals are being summed correctly, but the symbol is hardcoded:
![Screenshot_2021-10-31_at_17.15.05](/uploads/38d9076ae581a30aa5a7808de1705a08/Screenshot_2021-10-31_at_17.15.05.png)
It looks like the currency symbol is hardcoded in `templates/CRM/Price/Form/LineItem.tpl`.
A similar issue occurs when attempting to change selections for the event. In this case, the currency symbol is not hardcoded, but defaults to the default currency code for the installation - not for the currency code associated with the event.
![Screenshot_2021-10-31_at_17.26.05](/uploads/838c95c492eeb558ab3f7e6f7060a31f/Screenshot_2021-10-31_at_17.26.05.png).
Both of these occurences should be updated to use the currency configured as part of the event (on the Fees tab).Monish DebMonish Debhttps://lab.civicrm.org/dev/core/-/issues/4896Conflict between cividiscount and public registrations2024-01-10T00:01:31ZtottenConflict between cividiscount and public registrationsOverview
----------------------------------------
There appears to be some conflict between CiviCRM 5.70-rc and cividiscount 3.8.9. I have not examined sufficiently to determine which one should be updated.
Reproduction steps
---------...Overview
----------------------------------------
There appears to be some conflict between CiviCRM 5.70-rc and cividiscount 3.8.9. I have not examined sufficiently to determine which one should be updated.
Reproduction steps
----------------------------------------
1. Install CiviCRM 5.70 and cividiscount 3.8.9 (current master, via git)
1. Create a free event with online registration. (I disabled confirmation-web-page and enabled conformation-email, FWIW.)
1. In a new/private window:
1. Open the event info page (`civicrm/event/info?reset=1&id=7`)
1. Open the event registration page (`civicrm/event/register?id=7&reset=1`)
Current behaviour
----------------------------------------
`civicrm/event/info` works but `civicrm/event/register` raises an error:
```
ReflectionException: "Property CRM_Event_Form_Registration_Register::$_contactID does not exist"
#0 /Users/totten/bknix/build/dmaster/web/sites/all/modules/civicrm/CRM/Core/Form.php(2114): ReflectionProperty->__construct(Object(CRM_Event_Form_Registration_Register), "_contactID")
#1 /Users/totten/bknix/build/dmaster/web/sites/all/modules/civicrm/tools/extensions/cividiscount/cividiscount.php(453): CRM_Core_Form->getVar("_contactID")
#2 /Users/totten/bknix/build/dmaster/web/sites/all/modules/civicrm/tools/extensions/cividiscount/cividiscount.php(95): _cividiscount_get_form_contact_id(Object(CRM_Event_Form_Registration_Register))
#3 /Users/totten/bknix/build/dmaster/web/sites/all/modules/civicrm/CRM/Utils/Hook.php(276): cividiscount_civicrm_buildForm("CRM_Event_Form_Registration_Register", Object(CRM_Event_Form_Registration_Register))
#4 /Users/totten/bknix/build/dmaster/web/sites/all/modules/civicrm/CRM/Utils/Hook/DrupalBase.php(73): CRM_Utils_Hook->runHooks((Array:60), "civicrm_buildForm", 2, "CRM_Event_Form_Registration_Register", Object(CRM_Event_Form_Registration_Register), NULL, NULL, NULL, NULL)
#5 /Users/totten/bknix/build/dmaster/web/sites/all/modules/civicrm/Civi/Core/CiviEventDispatcher.php(314): CRM_Utils_Hook_DrupalBase->invokeViaUF(2, "CRM_Event_Form_Registration_Register", Object(CRM_Event_Form_Registration_Register), NULL, NULL, NULL, NULL, "civicrm_buildForm")
#6 /Users/totten/bknix/build/dmaster/web/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php(251): Civi\Core\CiviEventDispatcher::delegateToUF(Object(Civi\Core\Event\GenericHookEvent), "hook_civicrm_buildForm", Object(Civi\Core\UnoptimizedEventDispatcher))
#7 /Users/totten/bknix/build/dmaster/web/sites/all/modules/civicrm/vendor/symfony/event-dispatcher/EventDispatcher.php(73): Symfony\Component\EventDispatcher\EventDispatcher->callListeners((Array:1), "hook_civicrm_buildForm", Object(Civi\Core\Event\GenericHookEvent))
#8 /Users/totten/bknix/build/dmaster/web/sites/all/modules/civicrm/Civi/Core/CiviEventDispatcher.php(263): Symfony\Component\EventDispatcher\EventDispatcher->dispatch(Object(Civi\Core\Event\GenericHookEvent), "hook_civicrm_buildForm")
#9 /Users/totten/bknix/build/dmaster/web/sites/all/modules/civicrm/CRM/Utils/Hook.php(168): Civi\Core\CiviEventDispatcher->dispatch("hook_civicrm_buildForm", Object(Civi\Core\Event\GenericHookEvent))
#10 /Users/totten/bknix/build/dmaster/web/sites/all/modules/civicrm/CRM/Utils/Hook.php(495): CRM_Utils_Hook->invoke((Array:2), "CRM_Event_Form_Registration_Register", Object(CRM_Event_Form_Registration_Register), NULL, NULL, NULL, NULL, "civicrm_buildForm")
#11 /Users/totten/bknix/build/dmaster/web/sites/all/modules/civicrm/CRM/Core/Form.php(766): CRM_Utils_Hook::buildForm("CRM_Event_Form_Registration_Register", Object(CRM_Event_Form_Registration_Register))
#12 /Users/totten/bknix/build/dmaster/web/sites/all/modules/civicrm/CRM/Core/QuickForm/Action/Display.php(76): CRM_Core_Form->buildForm()
#13 /Users/totten/bknix/build/dmaster/web/sites/all/modules/civicrm/packages/HTML/QuickForm/Controller.php(203): CRM_Core_QuickForm_Action_Display->perform(Object(CRM_Event_Form_Registration_Register), "display")
#14 /Users/totten/bknix/build/dmaster/web/sites/all/modules/civicrm/packages/HTML/QuickForm/Page.php(103): HTML_QuickForm_Controller->handle(Object(CRM_Event_Form_Registration_Register), "display")
#15 /Users/totten/bknix/build/dmaster/web/sites/all/modules/civicrm/CRM/Core/Controller.php(355): HTML_QuickForm_Page->handle("display")
#16 /Users/totten/bknix/build/dmaster/web/sites/all/modules/civicrm/CRM/Core/Invoke.php(322): CRM_Core_Controller->run((Array:3), NULL)
#17 /Users/totten/bknix/build/dmaster/web/sites/all/modules/civicrm/CRM/Core/Invoke.php(69): CRM_Core_Invoke::runItem((Array:18))
#18 /Users/totten/bknix/build/dmaster/web/sites/all/modules/civicrm/CRM/Core/Invoke.php(36): CRM_Core_Invoke::_invoke((Array:3))
#19 /Users/totten/bknix/build/dmaster/web/sites/all/modules/civicrm/drupal/civicrm.module(472): CRM_Core_Invoke::invoke((Array:3))
#20 /Users/totten/bknix/build/dmaster/web/includes/menu.inc(527): civicrm_invoke("event", "register")
#21 /Users/totten/bknix/build/dmaster/web/index.php(24): menu_execute_active_handler()
#22 {main}
```
Expected behaviour
----------------------------------------
Show registration screen
Environment information
----------------------------------------
<!-- Some of the items below may not be relevant for every bug - if in doubt please include more information than you think is neccessary. -->
* __Browser:__ Firefox
* __CiviCRM:__ 5.70-rc
* __PHP:__ 8.1
* __CMS:__ D7
* __Database:__ MySQL 5.7
* __Web Server:__ Apachehttps://lab.civicrm.org/dev/core/-/issues/3380Scheduled Reminder token fails for additional group2024-01-09T05:03:22ZStefanScheduled Reminder token fails for additional groupHello everyone,
got this issue for a year now, someone told to open an issue and I do hope, this is the place for that specific one.
I now use:
Wordpress: 5.7.2
Civicrm: 5.37.2
I create an event and set up a mail-reminder, which goes ...Hello everyone,
got this issue for a year now, someone told to open an issue and I do hope, this is the place for that specific one.
I now use:
Wordpress: 5.7.2
Civicrm: 5.37.2
I create an event and set up a mail-reminder, which goes to roles and also to one additional group.
In the html field I then add {event.start_date}.
{event.start_date} works for the roles, e.x. registered.
{event.start_date} **does not work** for group recipients.
Also other event(?)-token doesn't work for that group recipients.
For testing I also deactivated all extensions.
Please can someone confirm this issue?https://lab.civicrm.org/dev/core/-/issues/3375KCFinder crashes with Thumbnails enabled, large number of images, php-fpm ena...2024-01-09T05:03:22ZMickCKCFinder crashes with Thumbnails enabled, large number of images, php-fpm enabledAfter php-fpm was enabled a client site soon crashed when browsing images - replicable many times by simply editing an event info page in the rich text editor, clicking the image icon then 'Browse Server'.
Top -c shows dozens of php-fpm...After php-fpm was enabled a client site soon crashed when browsing images - replicable many times by simply editing an event info page in the rich text editor, clicking the image icon then 'Browse Server'.
Top -c shows dozens of php-fpm processes running and server load > 50 until it crashes
There are ~2000 image files whci appear to include system generated variants.
The only resolution was to change Thumbnails to List mode (to change I had to temporarily move images out)
CiviCRM v 5.40.2 php 7.2 Ubuntu 18.04
On a copy of the server with php-fpm disabled, thumbnails appears to work but still creates a lot of processes whle generating thumbnails
/usr/lib/cgi-bin/php7.2
Does anyone have experience of this issue? I don't see another issue like it here https://github.com/sunhater/kcfinder/issues
KCFinder is apparently a 'free open-source replacement of CKFinder'
- however it is 7 years old - wondering whether there's a more up to date solution that is more performant with a large number of images
Hope this provides enaough info for someone to be able to investigate further - thanks.https://lab.civicrm.org/dev/core/-/issues/3372Event reminder add more than one group2024-01-08T05:03:19ZStefanEvent reminder add more than one groupHello everyone,
so we want to heavily use events and event reminders. Then, we got the event on the website, our members get the reminders and also ppl who register get them.
Thing is, I can choose a role and additionally one group.
B...Hello everyone,
so we want to heavily use events and event reminders. Then, we got the event on the website, our members get the reminders and also ppl who register get them.
Thing is, I can choose a role and additionally one group.
But what is, if this needs to be sent to more than one group?
I then could set up multiple reminders and also - I guess - create a dynamical group which contains other groups. But both seems inpractical compared to that smooth select field when I send regular traditional mails, where I can choose multiple groups.
Wordpress: 5.7.2
Civicrm: 5.37.2https://lab.civicrm.org/dev/core/-/issues/3371Event Cart: email shown twice on Cart Checkout2024-01-08T05:03:18ZbgmEvent Cart: email shown twice on Cart CheckoutHow to reproduce on dmaster:
* Enable the Event Cart from Administer > Event > Event Component Settings
* Go to an event, add it to the cart
* View Cart, then click Checkout
Result: the email field is shown twice.
![Capture_d_écran_de...How to reproduce on dmaster:
* Enable the Event Cart from Administer > Event > Event Component Settings
* Go to an event, add it to the cart
* View Cart, then click Checkout
Result: the email field is shown twice.
![Capture_d_écran_de_2019-06-14_15-56-45](/uploads/73dcc0f204fee04498ca2f8fade7961e/Capture_d_écran_de_2019-06-14_15-56-45.png)https://lab.civicrm.org/dev/core/-/issues/1832Activity receive_date is incorrectly updated to now when importing historical...2024-01-08T04:07:40ZananelsonActivity receive_date is incorrectly updated to now when importing historical transactionsContribution receive_date is incorrectly updated to now when importing historical transactions, see #1831 for more context.
Adding this line to addActivity() in `CRM/Activity/BAO/Activity.php` seems to fix:
```$date = CRM_Utils_Date::i...Contribution receive_date is incorrectly updated to now when importing historical transactions, see #1831 for more context.
Adding this line to addActivity() in `CRM/Activity/BAO/Activity.php` seems to fix:
```$date = CRM_Utils_Date::isoToMysql($activity->register_date);```
https://github.com/civicrm/civicrm-core/blob/master/CRM/Activity/BAO/Activity.php#L1708https://lab.civicrm.org/dev/core/-/issues/4785Note 'View' not displaying data for a valid contact Note2024-01-08T00:23:25Zct_itsupportNote 'View' not displaying data for a valid contact Note## Overview
Upgrading to 5.67.1 from 5.66 has caused the View link to display a blank form for a previously populated note. If you click on 'Edit', you can see the note data.
Using Drupal 10.1.6 as the CMS
## Reproduction steps
1. Do...## Overview
Upgrading to 5.67.1 from 5.66 has caused the View link to display a blank form for a previously populated note. If you click on 'Edit', you can see the note data.
Using Drupal 10.1.6 as the CMS
## Reproduction steps
1. Do a fresh installation for Drupal 10.1.x with CiviCRM 5.67.1, with the loadGenerated=1 to create some dummy contact data
2. Search on all Individuals and chose a contact
3. Add a note to the contact
4. Click on 'View' on the newly created note - no data is displayed, the form is blank
5. Click on 'Edit' on the newly created note and the correct data is present
## Expected behaviour
I would expect the note data to populate the form as it has done in 5.66.x and before
## Environment information
* **Browser:** _Chrome, Edge_
* **CiviCRM:** _5.67.1_
* **PHP:** _8.1.x_
* **CMS:** _Drupal 10.1.6_
* **Database:** _MySQL 8.0.x_
* **Web Server:** _Apache 2.4.x_
## Comments
I did check recent log messages in Drupal Watchdog. There are a very large number of 'Undefined array Key 2...' generated just by opening the contact and clicking on the Note tab. It is so easy to reproduce that I have not included any of the message here.5.68.1https://lab.civicrm.org/dev/user-interface/-/issues/64"Done" buttons are misaligned2024-01-07T19:50:31ZDaveD"Done" buttons are misalignede.g. and it's especially weird on contribution since it overlaps part of the table:
![untitled3](/uploads/516138bc3656ab5c809d7e15c19c336e/untitled3.png)
Activity:
![untitled4](/uploads/fcd451588d051e6f8ab20d58cc3f62ae/untitled4.png)e.g. and it's especially weird on contribution since it overlaps part of the table:
![untitled3](/uploads/516138bc3656ab5c809d7e15c19c336e/untitled3.png)
Activity:
![untitled4](/uploads/fcd451588d051e6f8ab20d58cc3f62ae/untitled4.png)5.70.0https://lab.civicrm.org/dev/core/-/issues/3363CiviEvent Cart seems broken completely. Any chance of fixing it?2024-01-07T05:03:24ZtapashCiviEvent Cart seems broken completely. Any chance of fixing it?CiviEvent Cart seems broken completely on 5.x . Any chance of fixing it please? thanksCiviEvent Cart seems broken completely on 5.x . Any chance of fixing it please? thankshttps://lab.civicrm.org/dev/core/-/issues/3358Add option to include guest information in back-office confirmation emails2024-01-07T05:03:23ZJKingsnorthAdd option to include guest information in back-office confirmation emailsProblem: when you send a confirmation email from the back-end after registering a participant, or editing their booking, it only includes the information for the 'current' participant (ie, just the lead booker). It does not include any '...Problem: when you send a confirmation email from the back-end after registering a participant, or editing their booking, it only includes the information for the 'current' participant (ie, just the lead booker). It does not include any 'additional participants' (guests) linked to their registration.
Solution: suggested CiviCRM core patch to add a checkbox to 'include guest information' for confirmation emails for participants that have guests attached to them. This would include the guest information int he email, as though it was from a front-end booking.
ie: IF the booking has additional participants, display a new checkbox:
![image](/uploads/2dbec13b633d9be6e880c2fb255a4b80/image.png)
If the checkbox is ticked, then add in the guest information, in the same way as a 'front-end' registration would add their information.https://lab.civicrm.org/dev/core/-/issues/3357Adding Participants to event using action drop down leads to blank screen2024-01-06T05:03:27ZkohnworkshopAdding Participants to event using action drop down leads to blank screenSelecting multiple contacts from the contact search and selecting "register participants to event" leads to a blank screen.
If I am doing something wrong can you please let me know what?
My expectation is that I would then reach a scree...Selecting multiple contacts from the contact search and selecting "register participants to event" leads to a blank screen.
If I am doing something wrong can you please let me know what?
My expectation is that I would then reach a screen to chose which event to add these to.
Thanks.
![Screen_Shot_2021-03-10_at_6.23.55_PM](/uploads/c86c9c0a1cbcd2a903050176e6ce7a5d/Screen_Shot_2021-03-10_at_6.23.55_PM.png)
![Screen_Shot_2021-03-10_at_6.24.06_PM](/uploads/ed55f0e84f0dc447cf2b0c854b9ac9ed/Screen_Shot_2021-03-10_at_6.24.06_PM.png)https://lab.civicrm.org/dev/core/-/issues/3355Error when using cart and Stipe payment processor2024-01-06T05:03:25Zjorich_2000Error when using cart and Stipe payment processorCompleting transaction from the cart with Stripe causes 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 a...Completing transaction from the cart with Stripe causes 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.
Attemted to setCurrency with a value that was not an ISO 3166-1 alpha 3 currency code
Th payment has been processed by Stripe and a stripe receipt issued
The same event with the cart disabled and all the same personal details works okhttps://lab.civicrm.org/dev/core/-/issues/2354CiviCRM membership renewals, when the Contribution is pending pay later, the ...2024-01-06T00:53:42Zjustinfreeman (Agileware)CiviCRM membership renewals, when the Contribution is pending pay later, the Membership Receipt On-line and Off-line message templates include the previous membership term not the renewed term which confuses membersCiviCRM membership renewals, when the Contribution is pending pay later, the "Memberships - Receipt (on-line)" and "Memberships - Signup and Renewal Receipts (off-line)" message templates include the previous membership term not the rene...CiviCRM membership renewals, when the Contribution is pending pay later, the "Memberships - Receipt (on-line)" and "Memberships - Signup and Renewal Receipts (off-line)" message templates include the previous membership term not the renewed term which confuses members. This does not occur when the membership is paid on-line and Contribution completed.
Example in the screenshot below shows someone renewning their membership in 7th June 2018, but the receipt they received still has the old membership end date. It is expected to show the renewed term.
![Screenshot_20210203_155253](/uploads/9bf822d1e31435c89bd37d1c746b1771/Screenshot_20210203_155253.png)
When discussing with users, they have mentioned that it would be more useful to show their members only the new term that they are renewing for, not the full length of the membership.
Agileware Ref: CIVICRM-16595.69.0https://lab.civicrm.org/dev/core/-/issues/4869Mailing labels do not work with custom tokens anymore2024-01-06T00:51:57ZMariaVMailing labels do not work with custom tokens anymoreI thought I have seen this issue already but I could not find it. In case there is, feel free to close.
Since 5.64.4 or probably earlier, the mailing labels do not work with custom tokens anymore.
An update to 5.67.3 did not help. The p...I thought I have seen this issue already but I could not find it. In case there is, feel free to close.
Since 5.64.4 or probably earlier, the mailing labels do not work with custom tokens anymore.
An update to 5.67.3 did not help. The page is just blank with no labels at all.
My colleague and I were trying to analyze this problem a bit further but could not find a solution.
The custom token itself works when creating a document.
In case it would be interesting to have a look on the code, I have attached the files.
The custom token produces also warnings for non-existent array indices:
```
PHP Warning: Undefined array key "County" in /html/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Admin/Form/Preferences/Address.php on line 83
PHP Warning: Undefined array key "Street Address Parsing" in /html/wordpress/wp-content/plugins/civicrm/civicrm/CRM/Admin/Form/Preferences/Address.php on line 95
PHP Warning: Undefined array key "county" in /html/wordpress/wp-content/uploads/civicrm/templates_c/de_DE/%%B0/B09/B09DCA78%%Location.tpl.php on line 78
PHP Warning: Trying to access array offset on value of type null in /html/wordpress/wp-content/uploads/civicrm/templates_c/de_DE/%%B0/B09/B09DCA78%%Location.tpl.php on line 78
```
Does anybody have an idea what could be a problem? Could it be an incompatibility with PHP8?
[csaddressemployer.inc](/uploads/7602180cf302b3fc9e2d67d49b62f61e/csaddressemployer.inc)
[tokenhelpers.inc](/uploads/9702807fed78d384f2226aadf99a173c/tokenhelpers.inc)5.69.0https://lab.civicrm.org/dev/core/-/issues/3810Frequency is ignored for auto renewable memberships when term set to months2024-01-06T00:50:57ZredgarFrequency is ignored for auto renewable memberships when term set to monthsOverview
----------------------------------------
The frequency setting is being ignored for auto renew memberships with a term in months. Instead it is getting renewed every 1 month. This bug is repeatable at the [demo site](https://civ...Overview
----------------------------------------
The frequency setting is being ignored for auto renew memberships with a term in months. Instead it is getting renewed every 1 month. This bug is repeatable at the [demo site](https://cividemo.com/)
Reproduction steps
----------------------------------------
1. create a new membership type with a duration of 12 months (or any number greater than 1), fixed, starting on the 1st (our memberships last one year and always end at the end of the month). Set the auto renew option to be "Give option but not required".
2. edit or create a contribution page to have this membership as an option with auto renew set as "Give Option".
3. Go to that page and fill out the info to create a membership with auto renew checked. Click Preview Contribution.
4. Note that preview says that your membership will "be renewed automatically every 1 month(s).".
5. If you continue with the membership payment the payment processor will then bill every 1 month.
We had to process a few refunds due to this bug and had to cancel the PayPal subscriptions.
Current behaviour
----------------------------------------
Despite what the duration is set to the page always shows:
```
Total Amount: $1.00
I want this membership to be renewed automatically every 1 month(s).
```
Expected behaviour
----------------------------------------
If you set up a membership with auto-renew for X months you expect the membership to renew every X months.
Environment information
----------------------------------------
I duplicated this using civicrm 5.50 and 5.52 using Joomla 3.10.10. I also reproduced it on [demo site](https://cividemo.com/).
Comments
----------------------------------------
This may be related to issue [3344](https://lab.civicrm.org/dev/core/-/issues/3344)? I posted a question on [stack exchange](https://civicrm.stackexchange.com/questions/42486/frequency-is-ignored-for-auto-renewable-memberships).5.69.0https://lab.civicrm.org/dev/core/-/issues/4851unable to install social_auth_google 4.02024-01-05T14:48:48Zolivierunable to install social_auth_google 4.0Overview
----------------------------------------
After upgrading Drupal from 9 to 10 it is not possible to update social_auth_google. Version conflict.
Reproduction steps
----------------------------------------
- uninstall drupal/soci...Overview
----------------------------------------
After upgrading Drupal from 9 to 10 it is not possible to update social_auth_google. Version conflict.
Reproduction steps
----------------------------------------
- uninstall drupal/social_auth_google (otherwise, upgrade is not possible if civicrm is installed)
- upgrade site to drupal 10
- install drupal/social_auth_google : composer require drupal/social_auth_google
Current behaviour
----------------------------------------
composer require 'drupal/social_auth_google:^4.0'
./composer.json has been updated
Running composer update drupal/social_auth_google
Gathering patches for root package.
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Root composer.json requires drupal/social_auth_google ^4.0 -> satisfiable by drupal/social_auth_google[4.0.0-beta1, 4.0.0, 4.0.1, 4.0.x-dev].
- drupal/social_auth_google[4.0.0-beta1, ..., 4.0.x-dev] require league/oauth2-google ^4.0 -> found league/oauth2-google[4.0.0, 4.0.1] but the package is fixed to 3.0.4 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
Installation failed, reverting ./composer.json and ./composer.lock to their original content.
```
Expected behaviour
----------------------------------------
Installation without error
Environment information
----------------------------------------
* __CiviCRM:__ _5.68.0_
* __PHP:__ _8.1.18__
* __CMS:__ _Drupal 10.1.7_
* __Database:__ _10.5.21-MariaDB_
* __Web Server:__ _Apache_
Comments
----------------------------------------
league/oauth2-google version is fixed in civicrm-core
composer why league/oauth2-google
civicrm/civicrm-core 5.68.0 requires league/oauth2-google (^3.0)5.70.0https://lab.civicrm.org/dev/core/-/issues/4878Bundled Snappy is affected by CVE-2023-281152024-01-05T08:17:36ZDmitry SmirnovBundled Snappy is affected by CVE-2023-28115As [reported in Debian](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1036284), bundled snappy is affected by the [CVE-2023-28115](https://www.cve.org/CVERecord?id=CVE-2023-28115) vulnerability:
> Snappy is a PHP library allowing th...As [reported in Debian](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1036284), bundled snappy is affected by the [CVE-2023-28115](https://www.cve.org/CVERecord?id=CVE-2023-28115) vulnerability:
> Snappy is a PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Prior to version 1.4.2, Snappy is vulnerable to PHAR deserialization due to a lack of checking on the protocol before passing it into the `file_exists()` function. If an attacker can upload files of any type to the server he can pass in the phar:// protocol to unserialize the uploaded file and instantiate arbitrary PHP objects. This can lead to remote code execution especially when snappy is used with frameworks with documented POP chains like Laravel/Symfony vulnerable developer code. If a user can control the output file from the `generateFromHtml()` function, it will invoke deserialization. This vulnerability is capable of remote code execution if Snappy is used with frameworks or developer code with vulnerable POP chains. It has been fixed in version 1.4.2.
* https://github.com/KnpLabs/snappy/security/advisories/GHSA-gq6w-q6wh-jggc
* https://github.com/KnpLabs/snappy/pull/469
* https://github.com/KnpLabs/snappy/commit/1ee6360cbdbea5d09705909a150df7963a88efd6 (v1.4.2)5.69.0