Skip to main content
17 events
when toggle format what by license comment
Mar 1, 2022 at 21:07 comment added The Amateur Many thanks for all your help!
Mar 1, 2022 at 21:01 history edited Demerit CC BY-SA 4.0
added 64 characters in body
Mar 1, 2022 at 21:00 comment added Demerit Ok have created lab.civicrm.org/dev/drupal/-/issues/175
Mar 1, 2022 at 20:53 comment added The Amateur Thanks Demerit. I do not have an account at lab.civicrm.org, nor do I feel qualified to log a ticket appropriately. I would be very grateful if you or someone who knows what they are doing would please do that.
Mar 1, 2022 at 20:46 vote accept The Amateur
Mar 1, 2022 at 20:27 comment added Demerit Great! That solves it. I've updated answer. It also explains why grep didn't work - since the code to make the function call uses generic variables for the function name.
Mar 1, 2022 at 20:27 history edited Demerit CC BY-SA 4.0
added 530 characters in body
Mar 1, 2022 at 20:18 comment added The Amateur I have added the output to the original post. Thanks.
Mar 1, 2022 at 19:28 comment added Demerit You can edit the original post - where it has links for "Share Edit Follow Close Flag"
Mar 1, 2022 at 19:24 comment added The Amateur OK. Thanks. Made that change and there is more detailed output, but I can't share it here due to character limits...
Mar 1, 2022 at 19:08 comment added Demerit It would be around line 1035, inside the deprecatedFunctionWarning() function.
Mar 1, 2022 at 19:02 comment added The Amateur I did try searching the whole Civi install and did not come up with that full string. Same with the Drupal modules folder. What is new in this log entry is [civi.tag] => deprecated. Maybe I did not add the backtrace line correctly. I inserted it in modules/civicrm/CRM/Core/Error.php at line 309 and can confirm that is is there.
Mar 1, 2022 at 18:24 comment added Demerit That looks like the same message you had in your original post. If you added the backtrace line there should be a lot more in the log. Did you try grep'ing the whole install?
Mar 1, 2022 at 17:32 comment added The Amateur Thanks for the suggestion Demerit. I was finally able to figure out how to do this - I think. So this is what the log has for me: Mar 01 12:29:58 [warning] Deprecated function CRM_Contribute_PseudoConstant::pcpStatus, use Function pcpStatus will be removed. Array ( [civi.tag] => deprecated ) What can I do about that?
Feb 25, 2022 at 3:18 comment added Demerit Then you can either grep the whole install (possibly it's in a drupal module?), or edit CRM_Core_Error::deprecatedFunctionWarning() so that it outputs a full backtrace in ConfigAndLog by adding CRM_Core_Error::backtrace('backTrace', TRUE); near the top of the function, which will tell you where it's coming from.
Feb 25, 2022 at 0:30 comment added The Amateur Thanks for the suggestion Demerit. I searched through the extensions folder (sites/default/files/civicrm/ext), but didn't find that string. Found some others with CRM_Contribute_PseudoConstant::, but not with pcpStatus.
Feb 24, 2022 at 20:59 history answered Demerit CC BY-SA 4.0