Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.7.4
-
Fix Version/s: 4.7.8
-
Component/s: CiviContribute, CiviEvent
-
Labels:
-
Documentation Required?:None
-
Funding Source:Contributed Code
Description
Getting this error on the Event dashboard twice. We have event registration fees of zero in a price set for an event. This could be the problem. We do this to track "tickets" (registration fees) that are given to another contact. I tried turning on TAX in CiviEvent Component Setting but that didn't resolve.
Warning: Division by zero in CRM_Price_BAO_LineItem::calculateTaxRate() (line 558 of /home/jewelball/www/www/sites/all/modules/civicrm/CRM/Price/BAO/LineItem.php).