• Resolved Elliot

    (@mladja11)


    Hello there,

    I have discovered that your plugin is conflicting with Custom Order Statuses plugin.

    It produces a critical error on the order status update. This is what I have captured:

    WooCommerce\PayPalCommerce\WcGateway\Gateway\PayUponInvoice\PayUponInvoice::WooCommerce\PayPalCommerce\WcGateway\Gateway\PayUponInvoice\{closure}(): Argument #4 ($email) must be of type WC_Email, string given, called in /home/mydomainname.com/asdasdasdsdkpvhpubjec/public_html/wp-includes/class-wp-hook.php on line 308
    in /home/mydomainname.com/asdasdasdsdkpvhpubjec/public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-wc-gateway/src/Gateway/PayUponInvoice/PayUponInvoice.php on line 286
    
    Aufrufstapel
    
    WooCommerce\P\W\G\P\PayUponInvoice::WooCommerce\P\W\G\P\{closure}()
    wp-includes/class-wp-hook.php:308
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:332
    WP_Hook::do_action()
    wp-includes/plugin.php:517
    do_action()
    wp-content/plugins/kadence-woocommerce-email-designer/templates/woo/emails/email-order-details.php:142
    include()
    wp-content/plugins/woocommerce/includes/wc-core-functions.php:345
    wc_get_template()
    wp-content/plugins/woocommerce/includes/class-wc-emails.php:421
    WC_Emails::order_details()
    wp-includes/class-wp-hook.php:308
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:332
    WP_Hook::do_action()
    wp-includes/plugin.php:517
    do_action()
    wp-content/plugins/custom-order-statuses-for-woocommerce/templates/emails/4th-pay-for-order.php:18
    include()
    wp-content/plugins/woocommerce/includes/wc-core-functions.php:345
    wc_get_template()
    wp-content/plugins/custom-order-statuses-for-woocommerce/emails/woocos-email.php:186
    WOOCOS_Email::woocos_get_content_html()
    wp-content/plugins/custom-order-statuses-for-woocommerce/emails/woocos-email.php:100
    WOOCOS_Email::woocos_trigger()
    wp-includes/class-wp-hook.php:308
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:332
    WP_Hook::do_action()
    wp-includes/plugin.php:517
    do_action()
    wp-content/plugins/custom-order-statuses-for-woocommerce/email-manager.php:64
    WOOCOS_Email_Manager::woocos_trigger_email_action()
    wp-includes/class-wp-hook.php:308
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:332
    WP_Hook::do_action()
    wp-includes/plugin.php:517
    do_action()
    wp-content/plugins/custom-order-statuses-for-woocommerce/order-status-generator.php:97
    woocos_add_custom_order_status_actions()
    wp-includes/class-wp-hook.php:310
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:332
    WP_Hook::do_action()
    wp-includes/plugin.php:517
    do_action()
    wp-content/plugins/woocommerce/includes/class-wc-order.php:397
    WC_Order::status_transition()
    wp-content/plugins/woocommerce/includes/class-wc-order.php:245
    WC_Order::save()
    wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-data.php:692
    WC_Meta_Box_Order_Data::save()
    wp-includes/class-wp-hook.php:310
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:332
    WP_Hook::do_action()
    wp-includes/plugin.php:517
    do_action()
    wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php:277
    WC_Admin_Meta_Boxes::save_meta_boxes()
    wp-includes/class-wp-hook.php:310
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:332
    WP_Hook::do_action()
    wp-includes/plugin.php:517
    do_action()
    wp-includes/post.php:4717
    wp_insert_post()
    wp-includes/post.php:4819
    wp_update_post()
    wp-admin/includes/post.php:426
    edit_post()
    wp-admin/post.php:227

    I have also notified COS developers, but I think that it ma be important for you.

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

    (@niklasinpsyde)

    Hi @mladja11,

    Thanks for the feedback.
    This compatibility issue should be resolved with this commit.
    Could you please let us know if the problem persists for you with this test version?
    Thanks!

    Kind regards,
    Niklas

    Thread Starter Elliot

    (@mladja11)

    Hi,

    Well yes. It looks like it works now like it is supposed to.

    Thanks.

    I am assuming that you will include this fix in the next update?

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @mladja11,

    Thanks for the feedback.

    Yes, this will be included in the next update, alongside other compatibility improvements and bug fixes. There is a pre-release version available for testing here on GitHub, in case you’d like to give this a try as well.
    This update is expected to be released officially in the coming days, so I’ll mark this thread resolved already.
    If you have any further questions, please feel free to reopen this thread or create a new one. Thanks!

    Kind regards,
    Niklas

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Conflict with Custom Order Statuses for WooCommerce’ is closed to new replies.