Title: Plugin throws PHP fatal Error
Last modified: June 16, 2021

---

# Plugin throws PHP fatal Error

 *  [yiangosv](https://wordpress.org/support/users/yiangosv/)
 * (@yiangosv)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/plugin-throws-php-fatal-error/)
 * Hello
 * the plugin throws this error. This causes issue in webhook invocation. Can you
   please check?
    `[16-Jun-2021 05:14:43 UTC] PHP Fatal error: Uncaught Error: Call
   to a member function getTransaction() on null in /home/caseland/public_html/wp-
   content/plugins/woo-wallee/includes/webhook/class-wc-wallee-webhook-transaction-
   completion.php:30 Stack trace: #0 /home/caseland/public_html/wp-content/plugins/
   woo-wallee/includes/webhook/class-wc-wallee-webhook-order-related-abstract.php(
   30): WC_Wallee_Webhook_Transaction_Completion->get_order_id(Object(Wallee\Sdk\
   Model\TransactionCompletion)) #1 /home/caseland/public_html/wp-content/plugins/
   woo-wallee/includes/class-wc-wallee-webhook-handler.php(55): WC_Wallee_Webhook_Order_Related_Abstract-
   >process(Object(WC_Wallee_Webhook_Request)) #2 /home/caseland/public_html/wp-
   includes/class-wp-hook.php(292): WC_Wallee_Webhook_Handler::process(”) #3 /home/
   caseland/public_html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(”,
   Array) #4 /home/caseland/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(
   Array) #5 /home/caseland/public_html/wp-content/plugins/woocommerce/includes/
   class-wc-api.php(161): in /home/caseland/public_html/wp-content/plugins/woo-wallee/
   includes/webhook/class-wc-wallee-webhook-transaction-completion.php on line 30
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-throws-php-fatal-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Plugin throws PHP fatal Error’ is closed to new replies.

 * ![](https://ps.w.org/woo-wallee/assets/icon.svg?rev=2919637)
 * [wallee](https://wordpress.org/plugins/woo-wallee/)
 * [Support Threads](https://wordpress.org/support/plugin/woo-wallee/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-wallee/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-wallee/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-wallee/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [yiangosv](https://wordpress.org/support/users/yiangosv/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/plugin-throws-php-fatal-error/)
 * Status: not resolved