Quantcast
Channel: User yurg - CiviCRM Stack Exchange
Browsing latest articles
Browse All 45 View Live

Comment by yurg on showHideAutoRenew is not defined?

Thanks, it looks working, there is an "element.click();" in my version of the template, which is not on the PR though

View Article



Comment by yurg on More friendly dashboard access denied message perhaps?

Thank you, updated the question.

View Article

Comment by yurg on Duplicate records in UFMatch

There is the "CiviCRM WordPress Member Sync" ( github.com/christianwach/civicrm-wp-member-sync ) installed and configured, is it possible there is something not quite right with it?

View Article

Comment by yurg on Duplicate records in UFMatch

There is the "CiviCRM WordPress Member Sync" ( github.com/christianwach/civicrm-wp-member-sync ) installed and configured, is it possible there is something not quite right with it?

View Article

Comment by yurg on Message templates token replacement: is it {if...

@Demerit Right, there are some manually-added old tokens across templates we need to handle.

View Article


Comment by yurg on Both Classic Search and SearchKit: "90150 records selected...

@PradeepNayak It's CiviCRM 5.69.2, but I think it was always this way - have issues running big imports in GUI years before.

View Article

Comment by yurg on How to export a large contacts number via cv or...

@Fabian Right, I did exactly this in the "cv api Contact.get options={"limit":0}" call - no luck, hence the question.

View Article

Comment by yurg on API4 - get a custom field by its ID?

Thank you, I trust the decision of using text labels instead of IDs has been made by the high priests aiming to benefit all of us and is not reversible. A few more notes if I may: a). I fail to see how...

View Article


Drupal Clean URL disable breaks CiviCRM

In addition to this question:disabling Clean URLs in Drupal [7.90] somehow breaks CiviCRM resources load with cryptic errors in Dev Console:Error: CRM.url called before initialization...

View Article


Answer by yurg for Contribution page not sending receipt for Paypal payment

You might want to enable "Display Backtrace" in "Settings - Debugging and Error Handling" - normally, the exact name of a missing DB field name could be found there. Or in apache/php error logs,...

View Article

Answer by yurg for Merge fails with DB Constraint violation

According to this:Cannot add or update a child row: a foreign key constraint fails(`xxx.xxx`.`civicrm_activity`, CONSTRAINT `civicrm_activity_ibfk_3` FOREIGN KEY (`parent_id`) REFERENCES...

View Article

Image may be NSFW.
Clik here to view.

Why would related contact deletion keeps a Relationship active?

Have just discovered ( and confirmed on https://wpmaster.demo.civicrm.org ) that Relationships of a deleted Contact are continue to be active and are displayed as such.Not quite sure if it is a bug or...

View Article

Contacts Import issue at CRM_Contact_Import_Form_MapField::getLocationTypeLabel

Not a question as such, rather an observation.WordPress contacts import from CSV, CiviCRM 5.61.2. (not reproduceable on dmaster).Uncaught TypeError: Return value of...

View Article


Message templates preview: "Can only have one anonymous define call per...

Not much about this apart from "message templates preview doesn't work" statement.Throws multiply Developer Console error messages.Uncaught Error: Can only have one anonymous define call per script...

View Article

Answer by yurg for Civicrm upgrade fails to update the database

Have seen this on a few small "local" hostings overconserned by "server security" (in their equivalent of understanding it).The main issue here is always to get the real output from the webserver, PHP...

View Article


Smarty3 you say?

Switched it on with Drupal 10.2.2 and CiviCRM 5.69.2. being an obedient kid.Got some deprecations so far.Deprecated function: Creation of dynamic property Smarty_Internal_Extension_Handler::$loadFilter...

View Article

Smarty 3: Unable to load template...

Drupal 7, CiviCRM 5.69.2, PHP 7.4, Smarty 3.After civix upgrade run on some extensions (Airmail, Sendgrid) got two identical messages on the respective Settings URL/page:Unable to load template...

View Article


Image may be NSFW.
Clik here to view.

SearchKit Actions button disabled / Authorization failed

Drupal 7, CiviCRM 5.69.2, PHP 7.4, Smarty 2.Have been trying to set some 2K+ emails on hold via the beautiful SearchKit, however the "Actions" button does not summon any actions on click - had to...

View Article

Answer by yurg for TypeError:Return value of...

Turns out the "auto-renew" option has been cleaned up for all membership types while the latest upgrade, not sure why. Had to re-enable for each membership type at...

View Article

TypeError:Return value of...

Drupal 7, CiviCRM 5.69.2, PHP 7.4, Smarty 2.While trying to access a contribution page at /civicrm/contribute/transact?reset=1&id=9 got an unexpected:> TypeError: Return value of...

View Article

Image may be NSFW.
Clik here to view.

Answer by yurg for Does CiviDiscount no longer work with new releases?

Jan 22, 2024, WordPress 6.4.2, Powered by CiviCRM 5.69.2, free and open source AGPLv3 software.Please check CiviCRM (and the webserver) logs for oddities.

View Article


Image may be NSFW.
Clik here to view.

More friendly dashboard access denied message perhaps?

It is Wordpress page and Civi dashboard inserted via the shortcode[civicrm component="user-dashboard" hijack="1"]There are 3 components available at the "Display Preferences": Contributions,...

View Article


Ncn-civi-zoom or ZoomZoom?

Exploring a possibility of Zoom.us integration. There are quite a lot of search results to read, however in 2023, which of the extensions has, in your opinion, smoother integration experience? It looks...

View Article

Remove references to the token {$dataArray} as it has been replaced by {found...

Not quite sure about the "{found within $participants}" part of the story.How would it look in, say, {if} and {foreach} :{if !empty($dataArray)} becomes {if !empty($participants)} ?{foreach...

View Article

API4 - get a custom field by its ID?

What is API4 analogue of API3 "return": ["custom_666"],The below doesn't work:CRM.api4('Contact', 'get', {select: ["contact_type", "custom.666"],CRM.api4('Contact', 'get', { select: ["contact_type",...

View Article


Comment by yurg on Failed upgrade from 5.69.2 to 5.69.5

This might be anything else but the cookies indeed, have seen this a lot before. Please check your web server logs and php error logs and civicrm error logs in the /ConfigAndLog for any oddities.

View Article

Comment by yurg on Retrying after Database deadlock encountered hit on...

None to my knowledge, got rid of Rules etc., and all mailings are being managed manually. Smart group(-s) perhaps?

View Article

Image may be NSFW.
Clik here to view.

Event PCP IDs mismatch in the civicrm_pcp_block table

An oddity discovered in WP/CiviCRM 5.70.0: an Event"Personal Campaign" tab displays non-editable fieldsCampaign Type "Contribution" (mustn't be "Event" ? )Online Contribution Page : empty (supposed to...

View Article

Answer by yurg for Event PCP IDs mismatch in the civicrm_pcp_block table

A temporary band-aid:in the "civicrm_pcp_block" table, find the block corresponded with the event and manually change the "target_entity_id" from "contribute" to "event" (the "contribute" appears to be...

View Article



Answer by yurg for Remove references to the token {$dataArray} as it has been...

Due to a lack of ideas, suggested wokaround would be:restore the default templatere-apply customizations made, if any.

View Article

Image may be NSFW.
Clik here to view.

Answer by yurg for Memberships - Receipt (on-line): multiple "amount" rows...

Had to make a few template changes.Line 80: {foreach from=$lineItems item=line}<tr><td {$labelStyle}> {if {membership.membership_type_id}} {ts 1=$line.label} %1 {/ts} {else}...

View Article

Image may be NSFW.
Clik here to view.

Memberships - Receipt (on-line): multiple "amount" rows under Membership Fee

The "Memberships - Receipt (on-line)" template, the code below causes 3 "amount" rows and a Membership Type label doesn't seem to be shown, also there is no "Membership Type" token available for the...

View Article

dataTable paging and inline field edit

I wonder, why inline field edit works on a first dataTable page only, even if below code applies the ".crm-editable" class to all table cells. CRM.$('#options').DataTable({"bFilter":...

View Article


Apostrophes in Message Templates / Event Confirmation Email

Not a question per se, more a note of caution: if an additional text contains apostrophes (as in this year's, didn't, Alzheimer’s ) the whole bunch of the text disappears silently from emails. Be...

View Article
Browsing latest articles
Browse All 45 View Live




Latest Images