I'm getting an Error 500 result when trying to produce Thank You letters for contributions since upgrading to 4.7.10 (and Drupal 7.50). Other Print/Merge operations are functioning normally. Backtrace and debug do not produce any additional information. The error comes ~1 second after clicking "Make Thank-You Letters"--seeming as though it's not even processing the information.

I've eliminated the following variables as the cause: Number of records, which records are selected, document type, thank you document body, page format, grouping.

I read that Error 500 is often a permission error. Everything seems correct, but I'm no expert in that realm. Tried the sandbox demo and it's not a bug there.

  • I think since it can't be reproduced on sandbox you'll need to dig in more and get some debug info.
    – Coleman
    Aug 26 '16 at 21:19

General recipe for Errors like that is to find a clue as to what's going on in the log files: first two places to check:

  • check the CiviCRM log in /files/civicrm/ConfigAndLog/
  • check your php and/or php-fpm error log (location of that depends on your install one possible option is: /var/log/httpd/

Thanks to KarinG for giving me the right way to attack this question.

The CiviCRM log had no record of the error. However, the error_log did. It read:

[01-Sep-2016 10:17:39 America/Denver] PHP Fatal error: Cannot use object of type CRM_Contribute_Form_Task_PDFLetter as array in /home/mydomain/public_html/mysubdomain/sites/all/modules/civ‌​icrm/CRM/Contact/For‌​m/Task/PDFLetterComm‌​on.php on line 267

Googling that error led me to https://issues.civicrm.org/jira/browse/CRM-19182 which is reporting the problem as a bug in 4.7.10 that will be resolved in version 4.7.11. If, like me, you can't wait. Look at the commits linked from that page, or like KarinG said you can get the release candidate.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.