Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-20338

DOMPDF times out when trying to generate PDF receipts for contributions

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 4.7.16
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      User and Admin Doc
    • Funding Source:
      Needs Funding
    • Verified?:
      Yes

      Description

      Steps to replicate:

      Contributions -> Find Contributions -> Select a contribution -> In the Actions dropdown menu, select Receipts, print or email -> Select PDF Receipts -> Click on Process Receipts(s)

      The site shows something processing for a long time and then the following error:
      ( ! ) Fatal error: Maximum execution time of 1430 seconds exceeded in /home/edsel/git/civicrm/vendor/dompdf/dompdf/src/Css/Style.php on line 457

      On a different machine, the error was slightly different but likely had same underlying cause:
      PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 130968 bytes) in /Users/monish/src/civicrm/vendor/dompdf/dompdf/src/Cellmap.php on line 521

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              edsel Edsel Lopez
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: