Title: Illegal string offset &#8216;default_currency_code&#8217;
Last modified: March 9, 2017

---

# Illegal string offset ‘default_currency_code’

 *  Resolved [tkalfaoglu](https://wordpress.org/support/users/tkalfaoglu/)
 * (@tkalfaoglu)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/illegal-string-offset-default_currency_code/)
 * I recently installed wp-invoice, when I try to add a payment,
    I select new invoice-
   > add payment / charge -> I enter an amount and some description, and I get this
   message: Could not save entry in invoice log.
 * The apache error log shows:
    PHP Warning: Illegal string offset ‘default_currency_code’
   in /var/www/vhosts/xxxxx.org/httpdocs/2/wp-content/plugins/wp-invoice/lib/class_functions.
   php on line 450, referer: [http://www.xxxxxx.org/2/wp-admin/admin.php?page=wpi_page_manage_invoice](http://www.xxxxxx.org/2/wp-admin/admin.php?page=wpi_page_manage_invoice)
 * So how can I add a new payment that’s independent of an invoice?
    PS: My default
   currency is set to TL.

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

 *  [Elena](https://wordpress.org/support/users/lena60942/)
 * (@lena60942)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/illegal-string-offset-default_currency_code/#post-8895370)
 * Hello,
 * Could you please e-mail me directly with what versions of WP and our products
   you are using as well as your WP credentials, I will take a look on my side to
   see what is going on: usabilitydynamics.com/contact-us
 *  Thread Starter [tkalfaoglu](https://wordpress.org/support/users/tkalfaoglu/)
 * (@tkalfaoglu)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/illegal-string-offset-default_currency_code/#post-8895422)
 * Thank you, I just sent you a message using the link you provided
 *  [Elena](https://wordpress.org/support/users/lena60942/)
 * (@lena60942)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/illegal-string-offset-default_currency_code/#post-8912165)
 * Hello,
 * Thank you, will get back to you in the ticket 🙂

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

The topic ‘Illegal string offset ‘default_currency_code’’ is closed to new replies.

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

 * 3 replies
 * 2 participants
 * Last reply from: [Elena](https://wordpress.org/support/users/lena60942/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/illegal-string-offset-default_currency_code/#post-8912165)
 * Status: resolved