Title: PHP Fatal error: Uncaught GuzzleHttp\\Exception\\InvalidArgumentException
Last modified: January 20, 2025

---

# PHP Fatal error: Uncaught GuzzleHttp\\Exception\\InvalidArgumentException

 *  [devbd](https://wordpress.org/support/users/devbd/)
 * (@devbd)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-guzzlehttpexceptioninvalidargumentexception/)
 * Hi, I hope you’re well. I receive some fatal errors caused by your plugin from
   time to time:
 * PHP Fatal error: Uncaught GuzzleHttp\Exception\InvalidArgumentException: json_encode
   error: Malformed UTF-8 characters, possibly incorrectly encoded in /wp-content/
   plugins/myworks-sync-for-xero/includes/lib/xero-lib/vendor/guzzlehttp/guzzle/
   src/Utils.php:298\nStack trace:\n#0 /wp-content/plugins/myworks-sync-for-xero/
   includes/lib/xero-lib/vendor/guzzlehttp/guzzle/src/functions.php
 * Could you support me with resolving this error, please?

The topic ‘PHP Fatal error: Uncaught GuzzleHttp\\Exception\\InvalidArgumentException’
is closed to new replies.

 * ![](https://ps.w.org/myworks-sync-for-xero/assets/icon-256x256.png?rev=3027425)
 * [MyWorks Sync for WooCommerce & Xero](https://wordpress.org/plugins/myworks-sync-for-xero/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/myworks-sync-for-xero/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/myworks-sync-for-xero/)
 * [Active Topics](https://wordpress.org/support/plugin/myworks-sync-for-xero/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/myworks-sync-for-xero/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/myworks-sync-for-xero/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [devbd](https://wordpress.org/support/users/devbd/)
 * Last activity: [1 year, 4 months ago](https://wordpress.org/support/topic/php-fatal-error-uncaught-guzzlehttpexceptioninvalidargumentexception/)
 * Status: not resolved