Body: <p>Why did I get this warning when entering contribution?</p>
  
  <p>Warning: A non-numeric value encountered in CRM_Contribute_BAO_Contribution::calculateMissingAmountParams() (line 383 of /sites/all/modules/civicrm/CRM/Contribute/BAO/Contribution.php).</p>
  
  <p>CiviCRM 5.11 on Drupal.</p>
  
  <p>I clicked on <strong>New Contribution</strong> in the menu and then entered a cash contribution.</p>
  
  <p><a href="https://i.sstatic.net/zuB9t.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/zuB9t.png" alt="https://i.sstatic.net/zuB9t.png"></a>
  <a href="https://i.sstatic.net/7v1oZ.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/7v1oZ.png" alt="https://i.sstatic.net/7v1oZ.png"></a></p>
  
  <p>The problem also exists on CiviCRM Sandbox server
  dmaster.demo.civicrm.org</p>
  
  <p><a href="https://i.sstatic.net/2UZ1f.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/2UZ1f.png" alt="enter image description here"></a></p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-05-28T16:32:05.150Z
Comments.Text: Can you add CiviCRM version? And also some steps to replicate the bug
Comments.UserDisplayName: Pradeep Nayak
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-05-29T19:02:00.837Z
Comments.Text: Could you see if the problem exists on https://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?
Comments.UserDisplayName: Jon G - Megaphone Tech
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-05-30T13:12:28.397Z
Comments.Text: Yes, the problem does exist on dmaster.demo.civicrm.org.
  See edit of main post.
Comments.UserDisplayName: Aivars
Tags: <contributions>
Title: Warning: A non-numerical value encountered in CRM_Contribute_BAO_Contribution
ThreadText: # Warning: A non-numerical value encountered in CRM_Contribute_BAO_Contribution
  
  (Asked by: username_0 on 2019-05-28)
  
  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.sstatic.net/zuB9t.png](https://i.sstatic.net/zuB9t.png)](https://i.sstatic.net/zuB9t.png)
  [![https://i.sstatic.net/7v1oZ.png](https://i.sstatic.net/7v1oZ.png)](https://i.sstatic.net/7v1oZ.png)
  
  The problem also exists on CiviCRM Sandbox server
  dmaster.demo.civicrm.org
  
  [![enter image description here](https://i.sstatic.net/2UZ1f.png)](https://i.sstatic.net/2UZ1f.png)
  
  **Tags:** contributions
  
  > **Comments:**
  > **username_1**: Can you add CiviCRM version? And also some steps to replicate the bug  
  > **username_2**: Could you see if the problem exists on https://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?  
  > **username_0**: Yes, the problem does exist on dmaster.demo.civicrm.org. See edit of main post.  
  
  ---
  
  ## 0 answers
  
  