CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Extensions (Moderators: mathieu, totten, kasiawaka) »
  • Problems Editing Event Selections w/CiviDiscount
Pages: [1]

Author Topic: Problems Editing Event Selections w/CiviDiscount  (Read 321 times)

KilakwaBT

  • I post occasionally
  • **
  • Posts: 101
  • Karma: 11
  • CiviCRM version: 4.5.5
  • CMS version: WordPress 4.1
  • MySQL version: 5.1.68
  • PHP version: 5.3
Problems Editing Event Selections w/CiviDiscount
November 20, 2014, 07:41:54 am
When we try to edit event priceset selections with CiviDiscount enabled we have two issues which are occurring. Weare using CiviCRM 4.5.4 & CiviDiscount 3.0.

1. If you try to edit selections in a registration that is not using a discount code you get a network error from the popup. If you open the editor in a new tab I get the following error on the top of the page.

Warning: trim() expects parameter 1 to be string, array given in /home/[site_root]/wp-content/plugins/files/civicrm/extend/org.civicrm.module.cividiscount/CRM/CiviDiscount/DiscountCalculator.php on line 65

2. When you try to edit selections on a record with a valid discount that has reached its limit (say 3 of 3 used) it notifies that the code is not valid and does not apply the discount to the priceset fields for editing.

These behaviors are consistent it 2 separate installs. On number 1 all works fine if you disable CiviDiscount.

Anyone else see similar behavior?

Thanks!

BT

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Discussion »
  • Extensions (Moderators: mathieu, totten, kasiawaka) »
  • Problems Editing Event Selections w/CiviDiscount

This forum was archived on 2017-11-26.