Why did I get this warning when entering contribution?

Warning: A non-numeric value encountered in CRM_Contribute_BAO_Contribution::calculateMissingAmountParams() (line 383 of /sites/all/modules/civicrm/CRM/Contribute/BAO/Contribution.php).

CiviCRM 5.11 on Drupal.

I clicked on New Contribution in the menu and then entered a cash contribution.

https://i.stack.imgur.com/zuB9t.png https://i.stack.imgur.com/7v1oZ.png

The problem also exists on CiviCRM Sandbox server dmaster.demo.civicrm.org

enter image description here

  • 1
    Can you add CiviCRM version? And also some steps to replicate the bug – Pradeep Nayak May 28 '19 at 16:32
  • 1
    Could you see if the problem exists on dmaster.demo.civicrm.org? If not, then this is likely to be a bug that's been fixed in a newer version - or perhaps is related to an extension you have installed? – Jon G - Megaphone Tech May 29 '19 at 19:02
  • 1
    Yes, the problem does exist on dmaster.demo.civicrm.org. See edit of main post. – Aivars May 30 '19 at 13:12

Your Answer

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

Browse other questions tagged or ask your own question.