Questions tagged [core]
The core tag has no usage guidance.
81
questions
1
vote
1
answer
37
views
Changes in hook__civicrm_alterMailParams not respected anymore when sending mails to individual contacts
In our development environment I redirect mails following some specific rules. I am quite sure that I achieved that in the past with hook__civicrm_alterMailParams where I changed the $params['toEmail']...
0
votes
0
answers
14
views
Change "SIC Code" Field To "NAICS Code" In Organization/Contact
So, the SIC Code appeared as an issue early on dealing with EU folks, but I never found anything other than some postings in the old wiki. I am in the US and while Public companies sometimes deal with ...
0
votes
1
answer
26
views
Deprecated function getUrlPath on WordPress when creating external functions from outside of CiviCRM
I am running CiviCRM v5.48.1 with WordPress v5.9.3 and I am writing some functions outside of CiviCRM environment on Wordpress, using this:
<?php
require_once '/home/me/public_html/wp-content/...
2
votes
2
answers
44
views
Is Authx really alpha?
On the status page I get "To generate authenticated email links for custom forms, enable extended authentication services (AuthX) in Manage Extensions." Ok, but the AuthX description says ...
1
vote
0
answers
37
views
WordPress, CiviCRM and CloudFlare
Please forgive me as I'm new to CiviCRM and I'm just starting to get my head around how it works.
I'm wondering if anyone has any experience using the above combination? What rules in Cloudflare (If ...
0
votes
1
answer
34
views
Cannot Load Civi - Unknown column in civicrm_cache Select
After making configuration changes to the Parameter Group for both the database and cluster of my Amazon Aurora database I can no longer access CiviCRM. I get the following error:
Error code 19, "...
1
vote
1
answer
37
views
The system has data from both old+new conventions. Please use civicrm.settings.php to set civicrm.files explicitly
trying to debug some other issues post-upgrade i happened to find this warning in the log repeatedly:
[warning] The system has data from both old+new conventions. Please use civicrm.settings.php to ...
0
votes
2
answers
58
views
What would cause: Error: Class 'HTMLPurifier_Config' not found in CRM_Utils_String::purifyHTML()?
After upgrading to CiviCRM 5.44.0 under Drupal 9.2.10 under Windows/IIS I got the following error when trying to view a report:
Error: Class 'HTMLPurifier_Config' not found in CRM_Utils_String::...
2
votes
1
answer
37
views
How is Civi::lockManager supposed to be used?
I'm confused about how Civi::lockManager is supposed to be used in handling sql-level locks on certain processes.
I'm looking at a few existing code usages (as in Omnipay here and in civicrm core here)...
0
votes
1
answer
24
views
Contact Print Summary - how can I customize?
is it possible to customize the Contact Print Summary?
I would like to select the fields to be printed and manage the print templates by inserting for example the organization logo and the footer.
...
0
votes
0
answers
15
views
Profile webform core exception error on wordpress
Had a profile webform working fine with shortcode embedded in wordpress that now gives
No notable changes to site and now having error. Any help would be greatly appreciated.
0
votes
1
answer
47
views
Group of unsolvable API and core errors
I really would appreciate any advice to dig deeper into the debugging of some errors. The reason may lay in our installation which is grown since late 2015 (I think it was version 4.2) and widely ...
1
vote
1
answer
15
views
custom fields in hook_civicrm_pre' $params have an extra "_-1" suffix
On my latest Civi 5.37.2 the params array passed to hook_civicrm_pre looks like:
Array
(
[hidden_custom] => 1
[hidden_custom_group_count] => Array
(
[] => 1
...
5
votes
1
answer
67
views
Performance Bug in Trigger Causing ~1000x Slowdown
While looking for the root cause of a performance issue for a client, I tracked it down to a couple of triggers performing an inefficient UPDATE statement:
civicrm_activity_before_update
...
0
votes
1
answer
49
views
Drush cannot locate CRM/Core/ClassLoader.php
I'm trying to configure Drush on my shared host and any time I try to do anything it fails as follows:
bash-3.2$ drush cache-clear all
require_once(CRM/Core/ClassLoader.php): failed to open stream: No ...
0
votes
0
answers
26
views
Assigning activity to an entire group without doing the search beforehand?
What would be the easiest way to a get the Record Activity screen prefilled with the contacts from a group without having to search before hand?
I wanted to add a link to the menu which would give me ...
4
votes
2
answers
131
views
Minute as a time unit for scheduled reminders
Right now the smallest unit is the hour, so I can schedule a reminder 1 hour before or after something.
What do I do if I wanted to send a reminder 30 minutes before something? Is this possible right ...
2
votes
1
answer
64
views
Version 5.31.0 seems to break the CiviCase Extension
We have the CiviCase (uk.co.compucorp.civicase) extension on our site. It's updated to the latest commit (52d0fbf31c5f4b4fe2a2523c9cec42bfbbec1e58). It was working fine in 5.30.
However, when I ...
0
votes
1
answer
52
views
utfmb4 conversion gone wrong - Some columns in the databse have utf8mb4_general_ci others utf8mb4_unicode_ci causing and Illegal mix of collations
I've recently run utf8mb conversion (through API explorer) on civi 5.28. Everything seemed OK, but now whenever I try to access events dashboard I get Illegal mix of collations (utf8mb4_general_ci,...
4
votes
3
answers
276
views
Update to 5.29.0 get frozen
When updating civicrm/civicrm-core (5.28.3 => 5.29.0), the process get frozen while
[Executed: Upgrade DB to 5.29.alpha1: Fill civicrm_relationship_cache (1 => 5000)]
After reinstallation of a ...
1
vote
0
answers
17
views
Override 'isRedirectSupported' in HttpClient.php?
I've run into the issue of not being able to download extensions because my server fails the test in isRedirectionSupported(). This appears to be a long standing issue. I followed totten's advice here ...
2
votes
1
answer
209
views
getFieldValue failed upon organizing a case
When clicking on "manage case" in the case tab of any contact, I get the error message "getFieldValue failed". I can use all other parts of CiviCase, but don't see a possibility to ...
2
votes
0
answers
16
views
Logging enabled and multilingual functionality?
After Missing view when logging set in a non-US English instance.
, I wonder if anyone has investigated the effects of turning a site from multilingual to monolingual or vice-versa whilst logging was ...
2
votes
2
answers
57
views
CiviCRM exports displayed in browser – no download / header missing
We're facing an issue with contact exports. They become displayed in the browsers as raw text.
We recently updated to php 7.1 and CiviCRM 5.25.0 but unfortunately and due to infrequent use of the ...
3
votes
1
answer
51
views
Restore from trash not working. No related log entries
We've got a contact deleted to trash today. On restore civi notification states success but the contact remains in trash. The log is silent.
2
votes
1
answer
55
views
After Upgrading to 5.23.0 New Cases Missing Custom Field Data from Webform Submission
I have a Drupal webform which creates a new case in Civi. After upgrading from 5.22.1 to 5.23.0 all the custom field data in the case is missing after submitting the webform. There are no error ...
0
votes
1
answer
17
views
DB error on listing mailing recipients. Did anybody see that before?
When listing recipients of CiviMail either via advanced search or mailing report¹ I get a wrong row count query. See the where-clause in
SELECT count(DISTINCT contact_a.id) as rowCount FROM ...
1
vote
1
answer
17
views
Why would CRM_Utils_Hook::entityTypes($entityTypes) return results with a non-civicrm table?
I've traced a crash in dedupe to a NULL entity. I've worked around that, but I should figure out why the entity is NULL. I've gotten as far as CRM_Utils_Hook::entityTypes($entityTypes)
it's return ...
0
votes
1
answer
17
views
/civicrm-stable/5.17.5/civicrm-5.17.5-l10n.tar.gz does not download
I am trying to download version 5.17.5 via SourceForge.
civicrm-5.17.5-drupal.tar.gz downloads, but /civicrm-stable/5.17.5/civicrm-5.17.5-l10n.tar.gz does not.
2
votes
0
answers
30
views
Mouse access to contact Quick Search
Since an update a while ago, the behavior of the Quick Search field has changed: It is no longer possible to edit/mark the field content by double-clicking the mouse. Instead, we have to backspace to ...
1
vote
1
answer
68
views
Error when displaying the CiviCRM Menu
As an admin, when I want to display the CiviCRM Menu instead of the drupal menu (via .../civicrm/dashboard), I often get the following Error Message :
Sorry, due to an error, we are unable to fulfill ...
2
votes
1
answer
291
views
Wordpress Clean URLs show "Page Not Found"
Edited my civicrm.settings.php file to enable clean URL's (as described in https://docs.civicrm.org/sysadmin/en/latest/install/wordpress/)
It does not work and any time I try to go to a clean URL page ...
2
votes
1
answer
38
views
Extended Security Release confusion. Which version?
The information available about the Extended Security Release - https://civicrm.org/esr - states that "The latest release of ESR is version 5.7". However I can see via the system status page on a few ...
0
votes
0
answers
23
views
Lots of temp tables: civicrm_tmp_d_dflt_*
On 5.6.0 (and prior), Civi seems to constantly be creating these civicrm_tmp_d_dflt_* temp tables and does not drop them. I'm seeing these keep growing in our database and have to keep dropping them ...
1
vote
1
answer
46
views
CiviCRM upgrade can't find core module in Drupal
I'm trying to run a civicrm core module upgrade on a drupal 7 site. I follow all of the posted instructions, but when I run the civicrm/upgrade I get a white screen. When I return to the drupal ...
1
vote
1
answer
57
views
Error on updating contact after upgrade to CiviCRM 5.10.3
After upgrade to CiviCRM 5.10.3 (Drupal 7, php 5.64) I can do AJAX edits like view and edit address, but if I edit a contact and save them normally, I get
Fatal error: Uncaught CRM_Core_Exception: [0:...
1
vote
2
answers
77
views
Civi 5.9 not serving extension javascript in WP 5
TLDR EDIT:
Civi getURL generated <site>/civicrm/<resourcepath>?r=<key> doesn't serve <site>/<resourcepath> Should the file be coming from civi with a key or not go ...
0
votes
1
answer
29
views
Getting problem while getting group id of current logged in user
I am trying to get a group id of currently logged in user
function search_civicrm_preProcess($formName, &$form) {
$getContactId = (int) CRM_Core_Session::singleton()->getLoggedInContactID(...
1
vote
1
answer
36
views
how to find .tpl file?
I installed civicrm 5.7.2
I am trying to find a perticular tpl file related to new individual contact.When I trying to search it shows me 'no matches'.
I referred a civicrm documentation
1
vote
1
answer
41
views
Activitiy's email content - how is it generated and can it be changed?
When assigning an activity in CiviCRM to a contact using the field "Assigned to". Unless deactivated those contacts get send an email.
My question is, how this email is generated - is there a ...
1
vote
0
answers
41
views
Error: Cannot read unrecognized property CRM_Core_Config::$mapGeoCoding
I have just upgraded from CiviCRM 4.6 to 5.4.1. We are getting an error on our events pages
Cannot read unrecognized property CRM_Core_Config::$mapGeoCoding
I have tried to search for a fix, but ...
0
votes
1
answer
30
views
Error Message when saving Content
I have recently upgraded Civi to 5.4.0
When I want to save a content (Page, Webform, ...), I get the following error message :
Fatal error: Call to undefined function rules_action_drupal_goto() in /...
1
vote
2
answers
169
views
Is 4.7.x end-of-life? Why does my site say that 4.7 has reached the end-of-life?
The CiviCRM Status Screen is reporting for any version that is 4.7.x that it is End of Life.
What does this mean? Is there something wrong with version 4.7? Do I need to panic?
0
votes
3
answers
198
views
What is the GuzzleHttp\Psr7\Uri class, and is its absence in Windows the death knell to CiviCRM under IIS?
I switched a development environment running under Joomla and IIS to the CiviCRM:master branch. It now fails with
0 Class 'GuzzleHttp\Psr7\Uri' not found
Is this a Linux-specific class? If not, ...
0
votes
1
answer
195
views
PHP version matters or not?
I've been running certain 5.6 for a long while and wondering if I ever should migrate to 7.0 or just leave alone. Installation instructions say 7.0 is recommended but so is 5.6
Anyone have opinions ...
1
vote
2
answers
249
views
How do I use import and export php classes with aegir?
How do I use export.php and import.php to work with multiple sites run with Aegir.
All of them share the same files (php classes) and when I specify the site with -s mysite.org I get nothing (...
2
votes
1
answer
80
views
How do I search for the exact string match using CiviCRM API
How do I perform Contact GET for the contact with the exact display name which will return only contacts with that exact display name?
Say I create two users xyz and xyzA
$result = civicrm_api3('...
1
vote
1
answer
116
views
Should Manage Groups display the Smart Group contact count, or just display it as Unknown
When I run Manage Groups, the Smart Group contact count comes up as Unknown for each group. Clicking the Update Smart Group Counts link appears refreshes the group list, but still returns Unknown. ...
2
votes
2
answers
56
views
Adding contributions doesn't work for certain currencies
I noticed importing or adding contributions in Serbian dinars (RSD) doesn't work. I tried using API Explorer to create a contribution that way but I get the same error I get when I try to import ...
0
votes
1
answer
64
views
Is the container cache not cleared as part of `drush cc all`?
I like being able to use the DI container in my extensions via the container hook, however I've run into the same problem a few times when switching branches that I get this error:
You have ...