• Resolved Frank Schmittlein

    (@frankhuettner-1)


    Hello,

    as soon as an order is marked as completed, an error message appears. What can be done?

    WordPress-Version 6.1
    WooCommerce PayPal Payments 1.9.5
    PHP-Version 7.4.30

    Error-Details
    ==============
    Ein Fehler vom Typ E_ERROR wurde in der Zeile 286 der Datei /…/htdocs/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/Gateway/PayUponInvoice/PayUponInvoice.php verursacht. Fehlermeldung: Uncaught TypeError: Argument 4 passed to WooCommerce\PayPalCommerce\WcGateway\Gateway\PayUponInvoice\PayUponInvoice::WooCommerce\PayPalCommerce\WcGateway\Gateway\PayUponInvoice\{closure}() must be an instance of WC_Email, bool given, called in /…/htdocs/wp-includes/class-wp-hook.php on line 308 and defined in /…/htdocs/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/Gateway/PayUponInvoice/PayUponInvoice.php:286
    Stack trace:
    #0 /…/htdocs/wp-includes/class-wp-hook.php(308): WooCommerce\PayPalCommerce\WcGateway\Gateway\PayUponInvoice\PayUponInvoice->WooCommerce\PayPalCommerce\WcGateway\Gateway\PayUponInvoice\{closure}(Object(Automattic\WooCommerce\Admin\Overrides\Order), false, false, false)
    #1 /…/htdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
    #2 /…/htdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array)

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @frankhuettner-1,

    There is a known compatibility problem with the German Market plugin, resulting in a similar error. Could you please try it again with the German Market plugin disabled, to see if the error persists after changing the status?
    Thanks!

    Kind regards,
    Niklas

    Hi,
    I have the same problem; same versions/error details like @frankhuettner-1

    I’ve disabled German Market, but the error is still there….

    Kind regards

    Same error on my website when I try to complete an order:

    
    WordPress-Version 6.1.1
    Aktives Theme: Flatsome Child (Version 3.0)
    Aktuelles Plugin: WooCommerce PayPal Payments (Version 2.0.0)
    PHP-Version 7.4.32
    
    Fehler-Details
    ==============
    Ein Fehler vom Typ E_ERROR wurde in der Zeile 294 der Datei /httpdocs/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/Gateway/PayUponInvoice/PayUponInvoice.php verursacht. Fehlermeldung: Uncaught TypeError: Argument 4 passed to WooCommercePayPalCommerceWcGatewayGatewayPayUponInvoicePayUponInvoice::WooCommercePayPalCommerceWcGatewayGatewayPayUponInvoice{closure}() must be an instance of WC_Email, bool given, called in /httpdocs/wp-includes/class-wp-hook.php on line 308 and defined in /httpdocs/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/Gateway/PayUponInvoice/PayUponInvoice.php:294
    Stack trace:
    #0 /httpdocs/wp-includes/class-wp-hook.php(308): WooCommercePayPalCommerceWcGatewayGatewayPayUponInvoicePayUponInvoice->WooCommercePayPalCommerceWcGatewayGatewayPayUponInvoice{closure}(Object(AutomatticWooCommerceAdminOverridesOrder), false, false, false)
    
    Plugin Support Syde Niklas

    (@niklasinpsyde)

    This problem should be resolved in the latest version 2.0.1.
    If any issues persist, please open a new thread. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Mark a shop order as complete – Your site is experiencing a technical issue’ is closed to new replies.