• Since the update.

    2021-05-24T07:07:48+00:00 CRITICAL Uncaught Error: Call to a member function needs_payment() on bool in /var/www/html/wp-content/plugins/woo-razorpay/woo-razorpay.php:914
    Stack trace:
    #0 /var/www/html/wp-includes/class-wp-hook.php(292): WC_Razorpay->check_razorpay_response(”)
    #1 /var/www/html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(”, Array)
    #2 /var/www/html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-api.php(161): do_action(‘woocommerce_api…’)
    #4 /var/www/html/wp-includes/class-wp-hook.php(292): WC_API->handle_api_requests(Object(WP))
    #5 /var/www/html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
    #6 /var/www/html/wp-includes/plugin.php(551): WP_Hook->do_action(Array)
    #7 /var/www/html/wp-includes/class-wp.php(388): do_action_ref_array(‘parse_request’, Array)
    #8 /var/www/html/wp-includes/class-wp.php(750): WP->parse_request(”)
    #9 /var/www/html/wp-includes/functions.php(1291): WP->main(”)
    #10 /var/www/html/wp-blog-heade in /var/www/html/wp-content/plugins/woo-razorpay/woo-razorpay.php on line 914

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Chetan

    (@chetangn)

    Hi @bling007,

    Can you please provide us some more information regarding this issue. Let us know the version of WordPress, woocommerce, and Razorpay plugin. Also, let us know the theme you had configured for your website.
    Is there any particular steps to reproduce this issue?

    Thanks.

    • This reply was modified 3 years, 10 months ago by Chetan.
    Thread Starter bling007

    (@bling007)

    Everything is the latest version.

    Plugin Author Chetan

    (@chetangn)

    @bling007 Please share your website link or stage URL so that we can verify this issue. Because we are not able to reproduce this issue on our system. Or else please raise the support ticket here

    Thanks.

    Thread Starter bling007

    (@bling007)

    Customers are getting WordPress 500 error on every payment via UPI on Razorpay.

    I will further collate the data and provide you material from the logs.

    Kindly fix these issues ASAP.

    Thread Starter bling007

    (@bling007)

    2021-06-01T01:43:02+00:00 CRITICAL Uncaught Error: Call to a member function needs_payment() on bool in /var/www/html/wp-content/plugins/woo-razorpay/woo-razorpay.php:938
    Stack trace:
    #0 /var/www/html/wp-includes/class-wp-hook.php(292): WC_Razorpay->check_razorpay_response(”)
    #1 /var/www/html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(”, Array)
    #2 /var/www/html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #3 /var/www/html/wp-content/plugins/woocommerce/includes/class-wc-api.php(161): do_action(‘woocommerce_api…’)
    #4 /var/www/html/wp-includes/class-wp-hook.php(292): WC_API->handle_api_requests(Object(WP))
    #5 /var/www/html/wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
    #6 /var/www/html/wp-includes/plugin.php(551): WP_Hook->do_action(Array)
    #7 /var/www/html/wp-includes/class-wp.php(388): do_action_ref_array(‘parse_request’, Array)
    #8 /var/www/html/wp-includes/class-wp.php(750): WP->parse_request(”)
    #9 /var/www/html/wp-includes/functions.php(1291): WP->main(”)
    #10 /var/www/html/wp-blog-heade in /var/www/html/wp-content/plugins/woo-razorpay/woo-razorpay.php on line 938

    Thread Starter bling007

    (@bling007)

    Customers are paying twice thinking their payments have failed. Kindly fix the above issue!

    Thread Starter bling007

    (@bling007)

    Upon noticing the RAZORPAY payment settings: something new was observed.

    Webhook Events

    These webhook events have been recently introduced? These were all empty.

    I have enabled them all for now to check if that resolves the issue.
    Based on the code and the error – can it be related to that?

    Regards;

    Plugin Author Chetan

    (@chetangn)

    @bling007

    We had introduced the auto webhook config feature in version 2.7.0 onwards. Webhook will help the woocommerce abundant checkout orders.

    Please update the plugin to the latest version which is 2.7.1 and try to reproduce this issue. If it’s still not resolved then raise the ticket as mentioned above.

    Thanks.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Critical Error’ is closed to new replies.