Site is Experiencing a Technical Issue when updated to Version 2.y.0
-
I updated my Razorpay for WooCommerce Plugin on this Thursday(20th May, 2021) and have recieved a mail recently about some Technical Issue with it.
This is the error detail which was in the email.
Error Details ============= An error of type E_ERROR was caused in line 165 of the file /var/www/html/wp-content/plugins/woo-razorpay/includes/razorpay-webhook.php. Error message: Uncaught Error: Call to a member function needs_payment() on bool in /var/www/html/wp-content/plugins/woo-razorpay/includes/razorpay-webhook.php: 165 Stack trace: #0 /var/www/html/wp-content/plugins/woo-razorpay/includes/razorpay-webhook.php( 104): RZP_Webhook->paymentAuthorized() #1 /var/www/html/wp-content/plugins/woo-razorpay/woo-razorpay.php(1140): RZP_Webhook->process() #2 /var/www/html/wp-includes/class-wp-hook.php(292): razorpay_webhook_init() #3 /var/www/html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters() #4 /var/www/html/wp-includes/plugin.php(484): WP_Hook->do_action() #5 /var/www/html/wp-admin/admin-post.php(51): do_action() #6 {main} thrown
I saw that there has been some updates in the webhook part of the code as mentioned in the changelog.
2.7.0
Added auto-webhook setup feature.
Updates Razorpay SDK.
Tested upto WordPress 5.7.2 and WooCommerce 5.3.0Current theme: Custom theme developed, was working without any issue till updated.
Current plugin: Razorpay for WooCommerce (version 2.7.0) PHP ( version 7.4.13 )WordPress (version 5.7.2)
WooCommerce (version 5.3.0)
- The topic ‘Site is Experiencing a Technical Issue when updated to Version 2.y.0’ is closed to new replies.