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 30The page I need help with: [log in to see the link]
- The topic ‘Plugin throws PHP fatal Error’ is closed to new replies.