• Resolved Sebastian Pisula

    (@sebastianpisula)


    I found in WooCommerce logs the issue:

    05-02-2022 @ 14:28:07 - scheduled action 435948 (subscription payment retry) failed to finish processing due to the following error: Uncaught Error: Undefined constant "Getresponse\WordPress\CURLOPT_URL" in /var/www/html/web/app/plugins/getresponse-integration/gr-core/classes/class-gr-api.php:419
    Stack trace:
    #0 /var/www/html/web/app/plugins/getresponse-integration/gr-core/classes/class-gr-api.php(81): Getresponse\WordPress\Api->call()
    #1 /var/www/html/web/app/plugins/getresponse-integration/getresponse/customer/classes/class-gr-customer-service.php(151): Getresponse\WordPress\Api->get_contacts()
    #2 /var/www/html/web/app/plugins/getresponse-integration/getresponse/customer/classes/class-gr-customer-service.php(113): Getresponse\WordPress\CustomerService->load_customer_from_api()
    #3 /var/www/html/web/app/plugins/getresponse-integration/gr-woocommerce/classes/class-gr-woocommerce-service.php(61): Getresponse\WordPress\CustomerService->get_customer()
    #4 /var/www/html/web/app/plugins/getresponse-integration/gr-woocommerce/gr-woocommerce-actions.php(100): Getresponse\WordPress\WoocommerceService->update_order()
    #5 /var/www/html/web/wp/wp-includes/class-wp-hook.php(307): gr_update_order()
    #6 /var/www/html/web/wp/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #7 /var/www/html/web/wp/wp-includes/plugin.php(474): WP_Hook->do_action()
    #8 /var/www/html/web/app/plugins/woocommerce/includes/class-wc-order.php(364): do_action()
    #9 /var/www/html/web/app/plugins/woocommerce/includes/class-wc-order.php(222): WC_Order->status_transition()
    #10 /var/www/html/web/app/plugins/woocommerce/includes/class-wc-order.php(334): WC_Order->save()
    #11 /var/www/html/web/app/plugins/woocommerce-gateway-stripe/includes/compat/trait-wc-stripe-subscriptions.php(357): WC_Order->update_status()
    #12 /var/www/html/web/app/plugins/woocommerce-gateway-stripe/includes/compat/trait-wc-stripe-subscriptions.php(301): WC_Stripe_Payment_Gateway->process_subscription_payment()
    #13 /var/www/html/web/app/plugins/woocommerce-gateway-stripe/includes/compat/trait-wc-stripe-subscriptions.php(186): WC_Stripe_Payment_Gateway->process_subscription_payment()
    #14 /var/www/html/web/wp/wp-includes/class-wp-hook.php(307): WC_Stripe_Payment_Gateway->scheduled_subscription_payment()
    #15 /var/www/html/web/wp/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #16 /var/www/html/web/wp/wp-includes/plugin.php(474): WP_Hook->do_action()
    #17 /var/www/html/web/app/plugins/woocommerce-subscriptions/includes/gateways/class-wc-subscriptions-payment-gateways.php(97): do_action()
    #18 /var/www/html/web/app/plugins/woocommerce-subscriptions/includes/payment-retry/class-wcs-retry-manager.php(350): WC_Subscriptions_Payment_Gateways::trigger_gateway_renewal_payment_hook()
    #19 /var/www/html/web/wp/wp-includes/class-wp-hook.php(307): WCS_Retry_Manager::maybe_retry_payment()
    #20 /var/www/html/web/wp/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #21 /var/www/html/web/wp/wp-includes/plugin.php(522): WP_Hook->do_action()
    #22 /var/www/html/web/app/plugins/woocommerce/packages/action-scheduler/classes/actions/ActionScheduler_Action.php(22): do_action_ref_array()
    #23 /var/www/html/web/app/plugins/woocommerce/packages/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php(65): ActionScheduler_Action->execute()
    #24 /var/www/html/web/app/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_QueueRunner.php(162): ActionScheduler_Abstract_QueueRunner->process_action()
    #25 /var/www/html/web/app/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_QueueRunner.php(132): ActionScheduler_QueueRunner->do_batch()
    #26 /var/www/html/web/wp/wp-includes/class-wp-hook.php(307): ActionScheduler_QueueRunner->run()
    #27 /var/www/html/web/wp/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #28 /var/www/html/web/wp/wp-includes/plugin.php(522): WP_Hook->do_action()
    #29 phar:///usr/bin/wp/vendor/wp-cli/cron-command/src/Cron_Event_Command.php(343): do_action_ref_array()
    #30 phar:///usr/bin/wp/vendor/wp-cli/cron-command/src/Cron_Event_Command.php(265): Cron_Event_Command::run_event()
    #31 [internal function]: Cron_Event_Command->run()
    #32 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php(100): call_user_func()
    #33 [internal function]: WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}()
    #34 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php(491): call_user_func()
    #35 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(417): WP_CLI\Dispatcher\Subcommand->invoke()
    #36 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(440): WP_CLI\Runner->run_command()
    #37 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1237): WP_CLI\Runner->run_command_and_exit()
    #38 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php(28): WP_CLI\Runner->start()
    #39 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php(78): WP_CLI\Bootstrap\LaunchRunner->process()
    #40 phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php(27): WP_CLI\bootstrap()
    #41 phar:///usr/bin/wp/php/boot-phar.php(11): include('...')
    #42 /usr/bin/wp(4): include('...')
    #43 {main}
    thrown

    WordPress 5.9.3
    GetResponse for WordPress 5.5.18
    WooCommerce 5.3.1
    WooCommerce Subscriptions 4.1.0
    WooCommerce Stripe Gateway 6.3.0

Viewing 1 replies (of 1 total)
  • Plugin Author GetResponse

    (@getresponse)

    Thank you for reporting the issue. We are working on a new version of the plugin where this will be resolved

Viewing 1 replies (of 1 total)
  • The topic ‘Undefined constant “Getresponse\WordPress\CURLOPT_URL”’ is closed to new replies.