Title: Empty discount code a problem since last update
Last modified: September 1, 2016

---

# Empty discount code a problem since last update

 *  Resolved [goldstarwebs](https://wordpress.org/support/users/goldstarwebs/)
 * (@goldstarwebs)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/empty-discount-code-a-problem-since-last-update/)
 * Ever since I applied the most recent EME update, registrations for a free event(
   that has the discount field in the admin section empty) have this showing up 
   in the discount column:
 * Warning: number_format() expects parameter 1 to be double, string given in /home/…/
   wp-includes/functions.php on line 222
 * It’s easy enough to ignore the error message in the printable form of the reservation
   listings, but in the CSV export, the HTML throws off the lines. So it would be
   nice if we could get a solution to this issue.
 * Thank you.
 * [https://wordpress.org/plugins/events-made-easy/](https://wordpress.org/plugins/events-made-easy/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/empty-discount-code-a-problem-since-last-update/#post-7609430)
 * Confirmed as a bug and fixed here:
    [https://plugins.trac.wordpress.org/changeset/1461672/](https://plugins.trac.wordpress.org/changeset/1461672/)
 * (will be in the next version too)
 *  Thread Starter [goldstarwebs](https://wordpress.org/support/users/goldstarwebs/)
 * (@goldstarwebs)
 * [9 years, 10 months ago](https://wordpress.org/support/topic/empty-discount-code-a-problem-since-last-update/#post-7609439)
 * Thank you for the quick repair!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Empty discount code a problem since last update’ is closed to new replies.

 * ![](https://ps.w.org/events-made-easy/assets/icon-256x256.png?rev=1856035)
 * [Events Made Easy](https://wordpress.org/plugins/events-made-easy/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-made-easy/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-made-easy/)
 * [Active Topics](https://wordpress.org/support/plugin/events-made-easy/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-made-easy/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-made-easy/reviews/)

## Tags

 * [discount](https://wordpress.org/support/topic-tag/discount/)

 * 2 replies
 * 2 participants
 * Last reply from: [goldstarwebs](https://wordpress.org/support/users/goldstarwebs/)
 * Last activity: [9 years, 10 months ago](https://wordpress.org/support/topic/empty-discount-code-a-problem-since-last-update/#post-7609439)
 * Status: resolved