Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • S Search and Reporting - archived
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Development
  • Search and Reporting - archived
  • Issues
  • #56

Closed (moved)
(moved)
Open
Created Jan 15, 2021 by swebervna@swebervna

Error when trying to generate thank-you letters for contributions

I'm getting an error "Invalid activity id" when I go to generate thank-you letters based on the search results from my Advanced Search.

I got to Advanced Search, displaying results as Contributions, set all my filters, and then search for results. I then select all the results and select the option to make thank-you letters: image

At the next screen, I then choose my message template and click Make Thank-you letters at the bottom, to which I get this error after: image

This issue seems to happen regardless of the filters I set for the contribution results, or what's in my message template. It's failing altogether, no matter what, to generate the thank-you letters.

Here's the fatal error description from Civi that my hosting provider gave me:

$Fatal Error Details = array(3) { ["message"]=> string(19) "Invalid Activity Id" ["code"]=> NULL ["exception"]=> object(CiviCRM_API3_Exception)#2113 (8) { ["extraParams":"CiviCRM_API3_Exception":private]=> array(5) { ["error_code"]=> int(0) ["entity"]=> string(8) "Activity" ["action"]=> string(6) "create" ["is_error"]=> int(1) ["error_message"]=> string(19) "Invalid Activity Id" } ["message":protected]=> string(19) "Invalid Activity Id" ["string":"Exception":private]=> string(0) "" ["code":protected]=> int(0) ["file":protected]=> string(51) "/var/www/html/sites/all/modules/civicrm/api/api.php" ["line":protected]=> int(133) ["trace":"Exception":private]=> array(15) { [0]=> array(4) { ["file"]=> string(81)

Things I've tried:

  1. Performing the process on only Individuals, and not all 3 - issue persists.
  2. Performing the process on a smaller number of contributions (i.e. 60), issue persists regardless of size.
  3. Performing the process without a template - issue persists.

Similiar Issues:

  1. https://civicrm.stackexchange.com/questions/38540/invalid-currency-error-when-using-custom-template?noredirect=1#comment44099_38540
  2. core#2344 (closed)
  3. https://github.com/civicrm/civicrm-core/pull/19481
Edited Feb 03, 2021 by swebervna
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking