Title: Fatal error in your code&#8230;
Last modified: March 31, 2020

---

# Fatal error in your code…

 *  Resolved [Marco1970](https://wordpress.org/support/users/marco1970/)
 * (@marco1970)
 * [6 years ago](https://wordpress.org/support/topic/fatal-error-in-your-code/)
 * Hi,
 * can you please fix this code of yours, boating the error log, and probably causing
   issues:
 * [31-Mar-2020 15:00:34 UTC] PHP Fatal error: Uncaught Error: Call to a member 
   function get_id() on bool in /…/wp-content/plugins/woocommerce-quickpay/woocommerce-
   quickpay.php:975
    Stack trace:…
 * TY
 * m

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

 *  Plugin Author [PerfectSolution](https://wordpress.org/support/users/perfectsolution/)
 * (@perfectsolution)
 * [6 years ago](https://wordpress.org/support/topic/fatal-error-in-your-code/#post-12621125)
 * [@marco1970](https://wordpress.org/support/users/marco1970/) – It sounds like
   you have som incompatibility issues. If the order object is NULL in the callback
   handler, this means that WooCommerce was unable to find the order based on the
   data returned from the QuickPay callback. This means. that the plugin is unable
   to process the order payments properly on the shop end.
 * Do you have any plugins modifying either the transaction data sent to QuickPay
   or maybe the order ids?
 *  [susannehoff](https://wordpress.org/support/users/susannehoff/)
 * (@susannehoff)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-in-your-code/#post-12733237)
 * Hi
 * I have the same problem:
 * Uncaught Exception: Validation error
    – **branding_id**: is invalid in /customers/
   2/7/3/karenloy.dk/httpd.www/wp-content/plugins/woocommerce-quickpay/classes/api/
   woocommerce-quickpay-api.php on line 245
 * I have looked in to the above possibility, but had no luck.
 * Do you have another suggestion/solution)
 * Thanks, Susanne
 *  Plugin Author [PerfectSolution](https://wordpress.org/support/users/perfectsolution/)
 * (@perfectsolution)
 * [5 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-in-your-code/#post-12851224)
 * [@marco1970](https://wordpress.org/support/users/marco1970/) – we have made som
   improvements to the callback handler which should avoid these types of errors
   if the module is unable to locate the order based on the callback data.
 * [@susannehoff](https://wordpress.org/support/users/susannehoff/) – this is not
   related to the topic, but the problem is caused by an incorrect branding ID typed
   in your plugin settings. Please consult the QuickPay support if you’re en doubt
   of which branding ID to use. You can also leave the field empty to use the default
   branding window.

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

The topic ‘Fatal error in your code…’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woocommerce-quickpay_263a40.svg)
 * [Quickpay for WooCommerce](https://wordpress.org/plugins/woocommerce-quickpay/)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-quickpay/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-quickpay/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-quickpay/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-quickpay/reviews/)

## Tags

 * [quickpay](https://wordpress.org/support/topic-tag/quickpay/)
 * [uncaught exception](https://wordpress.org/support/topic-tag/uncaught-exception/)

 * 3 replies
 * 3 participants
 * Last reply from: [PerfectSolution](https://wordpress.org/support/users/perfectsolution/)
 * Last activity: [5 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-in-your-code/#post-12851224)
 * Status: resolved