Title: PHP Script error in Ledger
Last modified: August 21, 2016

---

# PHP Script error in Ledger

 *  [dnstim](https://wordpress.org/support/users/dnstim/)
 * (@dnstim)
 * [13 years ago](https://wordpress.org/support/topic/php-script-error-in-ledger/)
 * In the Ledger screen – for sales items only – in the “TYPE” column the following
   error shows up:
    Warning: number_format() expects parameter 1 to be double, string
   given in /home2/coretj/public_html/wp-content/plugins/wp-accounting/inc/functions/
   general.php on line 4
 * [http://wordpress.org/extend/plugins/wp-accounting/](http://wordpress.org/extend/plugins/wp-accounting/)

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

 *  Plugin Author [advancedstyle](https://wordpress.org/support/users/dave111223/)
 * (@dave111223)
 * [13 years ago](https://wordpress.org/support/topic/php-script-error-in-ledger/#post-3740401)
 * I’ve released a new version to fix this bug (0.6.1)
 *  [manon1165](https://wordpress.org/support/users/manon1165/)
 * (@manon1165)
 * [13 years ago](https://wordpress.org/support/topic/php-script-error-in-ledger/#post-3740630)
 * Also in Ledger screen:
 * Notice: Undefined index: filter_type in /…/wp-content/plugins/wp-accounting/inc/
   tables/ledger.php on line 144
 * Notice: Undefined index: start_date in /…/wp-content/plugins/wp-accounting/inc/
   tables/ledger.php on line 158
 * Notice: Undefined index: end_date in /…/wp-content/plugins/wp-accounting/inc/
   tables/ledger.php on line 161
 * Notice: Undefined index: start_date in /…/wp-content/plugins/wp-accounting/inc/
   tables/ledger.php on line 231
    End Date: Notice: Undefined index: end_date in/…/
   wp-content/plugins/wp-accounting/inc/tables/ledger.php on line 233
 * Notice: Undefined index: filter_type in /…/wp-content/plugins/wp-accounting/inc/
   tables/ledger.php on line 235
 * Notice: Undefined index: end_date in /…/wp-content/plugins/wp-accounting/inc/
   tables/ledger.php on line 235
 * Notice: Undefined index: start_date in /…/wp-content/plugins/wp-accounting/inc/
   tables/ledger.php on line 235
 *  Plugin Author [advancedstyle](https://wordpress.org/support/users/dave111223/)
 * (@dave111223)
 * [13 years ago](https://wordpress.org/support/topic/php-script-error-in-ledger/#post-3740631)
 * I’ve fixed these PHP strict notices in the latest version 0.6.2
 *  [manon1165](https://wordpress.org/support/users/manon1165/)
 * (@manon1165)
 * [13 years ago](https://wordpress.org/support/topic/php-script-error-in-ledger/#post-3740632)
 * cool! much thanks for the speed. you have a very nice plugin that answers a lot
   of my needs.

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

The topic ‘PHP Script error in Ledger’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-accounting.svg)
 * [WP Accounting](https://wordpress.org/plugins/wp-accounting/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-accounting/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-accounting/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-accounting/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-accounting/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-accounting/reviews/)

## Tags

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

 * 4 replies
 * 3 participants
 * Last reply from: [manon1165](https://wordpress.org/support/users/manon1165/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/php-script-error-in-ledger/#post-3740632)
 * Status: not resolved