• Resolved meetkamran

    (@kamran52)


    Fatal error: Uncaught ArgumentCountError: Too few arguments to function wc_stripe_payment_complete_order_status(), 1 passed in /home/server987413/ftp/wordpress/wpn_Wordpress/wp-includes/class-wp-hook.php on line 324 and at least 2 expected in /home/server987413/ftp/wordpress/wpn_Wordpress/wp-content/plugins/woo-stripe-payment/includes/wc-stripe-functions.php:676 Stack trace: #0 /home/server987413/ftp/wordpress/wpn_Wordpress/ wp-includes/class-wp-hook.php(324): wc_stripe_payment_complete_order_status(‘processing’) #1 /home/server987413/ftp/wordpress/wpn_Wordpress/wp-includes/plugin.php(205): WP_Hook->apply_filters(‘processing’, Array) #2 /home/server987413/ftp/wordpress/wpn_Wordpress/wp-content/plugins/flexible-subscriptions/src/Utils/WooCommerce/StatusUtil.php(11): apply_filters(‘woocommerce_pay…’, ‘processing’) #3 /home/server987413/ftp/wordpress/wpn_Wordpress/wp-content/plugins/flexible-subscriptions/src/HookProvider/OrderStatusListener.php(200): WPDesk\FlexibleSubscriptions\Utils\WooCommerce\StatusUtil::get_paid_statuses() #4 /home/server987413/ftp/wordpress/wpn_Wordpress/wp-content/plugins/flexible-subscriptions/src/HookProvider/OrderStatusListener.php(138): WPDesk\FlexibleSubscriptions\HookProvider\OrderStatusListener->is_payment_completed(‘completed’, ‘pending’) #5 /home/server987413/ftp/wordpress/wpn_Wordpress/wp-content/plugins/flexible-subscriptions/src/HookProvider/OrderStatusListener.php( 45): WPDesk\FlexibleSubscriptions\HookProvider\OrderStatusListener->subscription_parent_status_changed(Object(Automattic\WooCommerce\Admin\Overrides\Order), ‘completed’, ‘pending’) #6 /home/server987413/ftp/wordpress/wpn_Wordpress/wp-includes/class-wp-hook.php(324): WPDesk\FlexibleSubscriptions\HookProvider\OrderStatusListener->on_status_changed(6190, ‘completed’, ‘pending’, Object(Automattic\WooCommerce\Admin\Overrides\Order)) #7 /home/server987413/ftp/wordpress/wpn_Wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #8 /home/server987413/ftp/wordpress/wpn_Wordpress/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #9 /home/server987413/ftp/wordpress/wpn_Wordpress/wp-content/plugins/woocommerce/includes/class-wc-order.php(421): do_action(‘woocommerce_ord…’, 6190, ‘completed’, ‘pending’ , Object(Automattic\WooCommerce\Admin\Overrides\Order)) #10 /home/server987413/ftp/wordpress/wpn_Wordpress/wp-content/plugins/woocommerce/includes/class-wc-order.php(253): WC_Order->status_transition() #11 /home/server987413/ftp/wordpress/wpn_Wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-data.php(768): WC_Order->save() #12 /home/server987413/ftp/wordpress/wpn_Wordpress/wp-includes/class-wp-hook.php(326): WC_Meta_Box_Order_Data::save(6190) #13 /home/server987413/ftp/wordpress/wpn_Wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL,Array) #14 /home/server987413/ftp/wordpress/wpn_Wordpress/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #15 /home/server987413/ftp/wordpress/wpn_Wordpress/wp-content/plugins/woocommerce/src/Internal/Admin/Orders/Edit.php(313): do_action(‘woocommerce_pro…’, 6190, Object(Automattic\WooCommerce) \Admin\Overrides\Order)) #16 /home/server987413/ftp/wordpress/wpn_Wordpress/wp-content/plugins/woocommerce/src/Internal/Admin/Orders/Edit.php(153): Automattic\WooCommerce\Internal\Admin\Orders\Edit->handle_order_update() #17 /home/server987413/ftp/wordpress/wpn_Wordpress/wp-content/plugins/woocommerce/src/Internal/Admin/Orders/PageController.php(350 ): Automattic\WooCommerce\Internal\Admin\Orders\Edit->setup(Object(Automattic\WooCommerce\Admin\Overrides\Order)) #18 /home/server987413/ftp/wordpress/wpn_Wordpress/wp-content/plugins/woocommerce/src /Internal/Admin/Orders/PageController.php(366): Automattic\WooCommerce\Internal\Admin\Orders\PageController->prepare_order_edit_form() #19 /home/server987413/ftp/wordpress/wpn_Wordpress/wp-content/plugins/woocommerce/src/Internal/Admin/Orders/PageController.php(167): Automattic\WooCommerce\Internal\Admin\Orders\PageController->setup_action_edit_order() #20 [internal function]: Automattic\WooCommerce\Internal\Admin\Orders\PageController->handle_load_page_action(”) #21 /home/server987413/ftp/wordpress/wpn_Wordpress/wp-content/plugins/woocommerce/src/Internal/Traits/AccessiblePrivateMethods.php(158 ): call_user_func_array(Array, Array) #22 /home/server987413/ftp/wordpress/wpn_Wordpress/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Internal\Admin\Orders\PageController->__call(‘handle_load_pag…’, Array) #23 /home/server987413/ftp/wordpress/wpn_Wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #24 /home/server987413/ftp/wordpress/wpn_Wordpress/wp -includes/plugin.php(517): WP_Hook->do_action(Array) #25 /home/server987413/ftp/wordpress/wpn_Wordpress/wp-admin/admin.php(237): do_action(‘load-woocommerc…’) #26 {main} thrown inphp(366): Automattic\WooCommerce\Internal\Admin\Orders\PageController->prepare_order_edit_form() #19 /home/server987413/ftp/wordpress/wpn_Wordpress/wp-content/plugins/woocommerce/src/Internal/Admin/Orders/ PageController.php(167): Automattic\WooCommerce\Internal\Admin\Orders\PageController->setup_action_edit_order() #20 [internal function]: Automattic\WooCommerce\Internal\Admin\Orders\PageController->handle_load_page_action(”) #21 /home/server987413/ftp/wordpress/wpn_Wordpress/wp-content/plugins/woocommerce/src/Internal/Traits/AccessiblePrivateMethods.php(158): call_user_func_array(Array, Array) #22 /home/server987413/ftp/wordpress/wpn_Wordpress/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Internal\Admin\Orders\PageController->__call(‘handle_load_pag…’, Array) #23 /home/server987413/ftp/wordpress/wpn_Wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #24 /home/server987413/ftp/wordpress/wpn_Wordpress/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #25 /home/server987413/ftp/wordpress/wpn_Wordpress/wp-admin/admin. php(237): do_action(‘load-woocommerc…’) #26 {main} thrown inphp(366): Automattic\WooCommerce\Internal\Admin\Orders\PageController->prepare_order_edit_form() #19 /home/server987413/ftp/wordpress/wpn_Wordpress/wp-content/plugins/woocommerce/src/Internal/Admin/Orders/ PageController.php(167): Automattic\WooCommerce\Internal\Admin\Orders\PageController->setup_action_edit_order() #20 [internal function]: Automattic\WooCommerce\Internal\Admin\Orders\PageController->handle_load_page_action(”) #21 /home/server987413/ftp/wordpress/wpn_Wordpress/wp-content/plugins/woocommerce/src/Internal/Traits/AccessiblePrivateMethods.php(158): call_user_func_array(Array, Array) #22 /home/server987413/ftp/wordpress/wpn_Wordpress/wp-includes/class-wp-hook.php(324): Automattic\WooCommerce\Internal\Admin\Orders\PageController->__call(‘handle_load_pag…’, Array) #23 /home/server987413/ftp/wordpress/wpn_Wordpress/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #24 /home/server987413/ftp/wordpress/wpn_Wordpress/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #25 /home/server987413/ftp/wordpress/wpn_Wordpress/wp-admin/admin. php(237): do_action(‘load-woocommerc…’) #26 {main} thrown in/home/server987413/ftp/wordpress/wpn_Wordpress/wp-content/plugins/woo-stripe-payment/includes/wc-stripe-functions.php on line 676

    A critical error has occurred on the site. Check your site administrator email for instructions. If you continue to have problems, please use the support forums .

    Learn more about troubleshooting WordPress.

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

    (@sebastianrybacki)

    Hello,

    Thank you for reaching out and bringing this issue to our attention. I’ve forwarded the error details to the developer responsible for the Flexible Subscriptions plugin for further analysis and resolution.

    Once I receive feedback or a solution from our developer, I will get back to you promptly. In the meantime, I kindly ask for your patience as we investigate and address the issue.

    If you have any additional information or questions, please don’t hesitate to let us know.

    Best regards,

    Plugin Support krzysztofskorupa

    (@krzysztofskorupa)

    Hi,
    thank you very much for your patience.
    Please download the Beta version from here : https://downloads.wp.xz.cn/plugin/flexible-subscriptions.1.3.0-beta.1.zip
    Please test preferably on staging if everything works as expected.

    If you have any additional questions, please feel free to contact me.

    Regards,

    Plugin Support krzysztofskorupa

    (@krzysztofskorupa)

    Hi,
    I have not received a message for a long time, so let me close the thread.
    If there were any questions, feel free to contact me again.

    Regards,

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Help me to solve this error’ is closed to new replies.