Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught Error Stack Trace #73

Open
unakriti opened this issue Mar 17, 2024 · 0 comments
Open

Uncaught Error Stack Trace #73

unakriti opened this issue Mar 17, 2024 · 0 comments

Comments

@unakriti
Copy link

Hi,

My site has the Razorpay Plugin and the Razorpay Subscriptions Plugin with the folllowing software:

  • WordPress 6.4.3
  • Woocommerce version 8.6.1
  • Woocommerce subscription version 6.0.0

On the Checkout page, the Razorpay payment errors out. There are a few errors in the browser console too. There's also this fatal error on the site - it is related to your plugin. Here's the stack trace information for your attention please

WordPress version 6.4.3
Active theme: Bricks (version 1.9.6.1)
Current plugin: 1 Razorpay: Signup for FREE PG (version 4.6.1)
PHP version 8.2.15

Error Details

An error of type E_ERROR was caused in line 142 of the file /wp-content/plugins/woo-razorpay/includes/razorpay-webhook.php. Error message: Uncaught Error: Call to a member function get_meta() on bool in /wp-content/plugins/woo-razorpay/includes/razorpay-webhook.php:142

Stack trace:
#0 /wp-content/plugins/woo-razorpay/woo-razorpay.php(3008):
RZP_Webhook->process()
#1 /wp-includes/class-wp-hook.php(324): razorpay_webhook_init()
#2 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#3 /wp-includes/plugin.php(517): WP_Hook->do_action()
#4 /wp-admin/admin-post.php(61): do_action()
#5 {main}
thrown

Lastly, I receive the following webhooks failure notification email from Razorpay

"Hi, We have been experiencing webhook delivery failure for past 24 hours while trying to hit the live webhook url - https://www.domain.com/wp-admin/admin-post.php?action=rzp_wc_webhook. As noted in our documentation, we have disabled your webhook as a precaution. You can re-enable the webhook again by visiting the Dashboard and going to the webhooks tab."

If I manually point my browser to that webhook URL, it triggers the Uncaught Error mentioned above.

Please, can you help resolve these issues?

Kind regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant