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

When a user error happens in CiviContribute, an unexpected php error shows up

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.1
    • Fix Version/s: None
    • Component/s: CiviContribute
    • Labels:
      None

      Description

      When testing a CiviContribute page on 2.1, I had setup a minimum donation of $5.00. When I tested the form at 1.00, it warned me as expected but I got the following error message:

      warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/cha/public_html/civicrm/sites/all/modules/civicrm/packages/HTML/Common.php on line 144.

      I also saw this error message when my payment processor had an error and was unable to process a donation.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              chriswood_ut Chris Wood
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: