Support » Plugin: WooCommerce PayPal Payments » Showing critical error when opening admin order detail page

  • Resolved Sayful Islam


    After upgrading “WooCommerce PayPal Payments” plugin to latest version, I cannot enter to admin order detail page.

    WooCommerce Version 6.2.1
    WooCommerce PayPal Payments Version 1.6.5

    Error Log

    [23-Feb-2022 12:51:08 UTC] PHP Fatal error:  Uncaught TypeError: Argument 1 passed to WooCommerce\PayPalCommerce\WcGateway\Admin\RenderAuthorizeAction::render() must be of the type array, null given, called in {{SERVER_PATH}}/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/WCGatewayModule.php on line 244 and defined in {{SERVER_PATH}}/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/Admin/RenderAuthorizeAction.php:43
    Stack trace:
    #0 {{SERVER_PATH}}/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/WCGatewayModule.php(244): WooCommerce\PayPalCommerce\WcGateway\Admin\RenderAuthorizeAction->render(NULL, Object(Automattic\WooCommerce\Admin\Overrides\Order))
    #1 {{SERVER_PATH}}/public_html/wp-includes/class-wp-hook.php(309): WooCommerce\PayPalCommerce\WcGateway\WCGatewayModule::WooCommerce\PayPalCommerce\WcGateway\{closure}(NULL)
    #2 {{SERVER_PATH}}/public_html/wp-inclu in /var/www/public/ on line 43

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Inpsyde Niklas


    Hi @sayful,

    I haven’t seen this error before, so you may want to perform a full conflict test to rule out eventual issues with the theme or a different plugin. We recommend temporarily activating the default theme Storefront and disabling all other plugins except for WooCommerce and PayPal Payments to see if the behavior persists.

    Kind regards,

    Plugin Support Joost van de Vijver



    Since we have not heard back from you for over a month, we will mark this thread as resolved. Do not hesitate to open a new thread if you still need our support on this or any other issue.

    Kind regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Showing critical error when opening admin order detail page’ is closed to new replies.