Critical error after saving changes
-
Hi,
When I try to save after inputting the Merchant Id/Secret Key, I get a message that says “There has been a critical error on this website”.
See log belowfatal-errors-2023-05-17-c45fc9088d6301276382c4add96f11e1.log
2023-05-17T03:14:21+00:00 CRITICAL Uncaught Error: Call to undefined function Afterpay\SDK\HTTP\curl_init() in /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/vendor/afterpay-global/afterpay-sdk-php/src/HTTP/Request.php:91
Stack trace: 0 /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/vendor/afterpay-global/afterpay-sdk-php/src/HTTP/Request/GetConfiguration.php(27): Afterpay\SDK\HTTP\Request->__construct() 1 /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/class/WC_Gateway_Afterpay.php(1984): Afterpay\SDK\HTTP\Request\GetConfiguration->__construct() 2 /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/class/Cron/Afterpay_Plugin_Cron.php(113): WC_Gateway_Afterpay->get_configuration() 3 /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/class/Cron/Afterpay_Plugin_Cron.php(76): Afterpay_Plugin_Cron::update_payment_limits() 4 /home/resinate/public_html/wp-includes/class-wp-hook.php(306): Afterpay_Plugin_Cron::fire_jobs() 5 /home/resinate/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) 6 /home/resinate/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 7 /home/resinate/public_html/wp-content/plugins/woocommerce/includes/admin/settings/class-wc-settings-payment-gateways.php(303): do_action('woocommerce_upd…') 8 /home/resinate/public_html/wp-includes/class-wp-hook.php(308): WC_Settings_Payment_Gateways->save('') 9 /home/resinate/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) 10 /home/resinate/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 11 /home/resinate/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-settings.php(77): do_action('woocommerce_set…') 12 /home/resinate/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-menus.php(151): WC_Admin_Settings::save() 13 /home/resinate/public_html/wp-includes/class-wp-hook.php(308): WC_Admin_Menus->save_settings('') 14 /home/resinate/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) 15 /home/resinate/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 16 /home/resinate/public_html/wp-settings.php(645): do_action('wp_loaded') 17 /home/resinate/public_html/wp-config.php(98): require_once('/home/resinate/…') 18 /home/resinate/public_html/wp-load.php(50): require_once('/home/resinate/…') 19 /home/resinate/public_html/wp-admin/admin.php(34): require_once('/home/resinate/…') 20 {main} thrown in /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/vendor/afterpay-global/afterpay-sdk-php/src/HTTP/Request.php on line 91 2023-05-17T03:17:29+00:00 CRITICAL Uncaught Error: Call to undefined function Afterpay\SDK\HTTP\curl_init() in /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/vendor/afterpay-global/afterpay-sdk-php/src/HTTP/Request.php:91
Stack trace: 0 /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/vendor/afterpay-global/afterpay-sdk-php/src/HTTP/Request/GetConfiguration.php(27): Afterpay\SDK\HTTP\Request->__construct() 1 /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/class/WC_Gateway_Afterpay.php(1984): Afterpay\SDK\HTTP\Request\GetConfiguration->__construct() 2 /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/class/Cron/Afterpay_Plugin_Cron.php(113): WC_Gateway_Afterpay->get_configuration() 3 /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/class/Cron/Afterpay_Plugin_Cron.php(76): Afterpay_Plugin_Cron::update_payment_limits() 4 /home/resinate/public_html/wp-includes/class-wp-hook.php(306): Afterpay_Plugin_Cron::fire_jobs() 5 /home/resinate/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) 6 /home/resinate/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 7 /home/resinate/public_html/wp-content/plugins/woocommerce/includes/admin/settings/class-wc-settings-payment-gateways.php(303): do_action('woocommerce_upd…') 8 /home/resinate/public_html/wp-includes/class-wp-hook.php(308): WC_Settings_Payment_Gateways->save('') 9 /home/resinate/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) 10 /home/resinate/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 11 /home/resinate/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-settings.php(77): do_action('woocommerce_set…') 12 /home/resinate/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-menus.php(151): WC_Admin_Settings::save() 13 /home/resinate/public_html/wp-includes/class-wp-hook.php(308): WC_Admin_Menus->save_settings('') 14 /home/resinate/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) 15 /home/resinate/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 16 /home/resinate/public_html/wp-settings.php(645): do_action('wp_loaded') 17 /home/resinate/public_html/wp-config.php(98): require_once('/home/resinate/…') 18 /home/resinate/public_html/wp-load.php(50): require_once('/home/resinate/…') 19 /home/resinate/public_html/wp-admin/admin.php(34): require_once('/home/resinate/…') 20 {main} thrown in /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/vendor/afterpay-global/afterpay-sdk-php/src/HTTP/Request.php on line 91 2023-05-17T03:37:30+00:00 CRITICAL Uncaught Error: Call to undefined function Afterpay\SDK\HTTP\curl_init() in /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/vendor/afterpay-global/afterpay-sdk-php/src/HTTP/Request.php:91
Stack trace: 0 /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/vendor/afterpay-global/afterpay-sdk-php/src/HTTP/Request/GetConfiguration.php(27): Afterpay\SDK\HTTP\Request->__construct() 1 /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/class/WC_Gateway_Afterpay.php(1984): Afterpay\SDK\HTTP\Request\GetConfiguration->__construct() 2 /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/class/Cron/Afterpay_Plugin_Cron.php(113): WC_Gateway_Afterpay->get_configuration() 3 /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/class/Cron/Afterpay_Plugin_Cron.php(76): Afterpay_Plugin_Cron::update_payment_limits() 4 /home/resinate/public_html/wp-includes/class-wp-hook.php(306): Afterpay_Plugin_Cron::fire_jobs() 5 /home/resinate/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) 6 /home/resinate/public_html/wp-includes/plugin.php(565): WP_Hook->do_action(Array) 7 /home/resinate/public_html/wp-cron.php(188): do_action_ref_array('afterpay_do_cro…', Array) 8 {main} thrown in /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/vendor/afterpay-global/afterpay-sdk-php/src/HTTP/Request.php on line 91 2023-05-17T03:49:58+00:00 CRITICAL Uncaught Error: Call to undefined function Afterpay\SDK\HTTP\curl_init() in /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/vendor/afterpay-global/afterpay-sdk-php/src/HTTP/Request.php:91
Stack trace: 0 /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/vendor/afterpay-global/afterpay-sdk-php/src/HTTP/Request/GetConfiguration.php(27): Afterpay\SDK\HTTP\Request->__construct() 1 /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/class/WC_Gateway_Afterpay.php(1984): Afterpay\SDK\HTTP\Request\GetConfiguration->__construct() 2 /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/class/Cron/Afterpay_Plugin_Cron.php(113): WC_Gateway_Afterpay->get_configuration() 3 /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/class/Cron/Afterpay_Plugin_Cron.php(76): Afterpay_Plugin_Cron::update_payment_limits() 4 /home/resinate/public_html/wp-includes/class-wp-hook.php(306): Afterpay_Plugin_Cron::fire_jobs() 5 /home/resinate/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) 6 /home/resinate/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 7 /home/resinate/public_html/wp-content/plugins/woocommerce/includes/admin/settings/class-wc-settings-payment-gateways.php(303): do_action('woocommerce_upd…') 8 /home/resinate/public_html/wp-includes/class-wp-hook.php(308): WC_Settings_Payment_Gateways->save('') 9 /home/resinate/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) 10 /home/resinate/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 11 /home/resinate/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-settings.php(77): do_action('woocommerce_set…') 12 /home/resinate/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-menus.php(151): WC_Admin_Settings::save() 13 /home/resinate/public_html/wp-includes/class-wp-hook.php(308): WC_Admin_Menus->save_settings('') 14 /home/resinate/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) 15 /home/resinate/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 16 /home/resinate/public_html/wp-settings.php(645): do_action('wp_loaded') 17 /home/resinate/public_html/wp-config.php(104): require_once('/home/resinate/…') 18 /home/resinate/public_html/wp-load.php(50): require_once('/home/resinate/…') 19 /home/resinate/public_html/wp-admin/admin.php(34): require_once('/home/resinate/…') 20 {main} thrown in /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/vendor/afterpay-global/afterpay-sdk-php/src/HTTP/Request.php on line 91 2023-05-17T03:58:19+00:00 CRITICAL Uncaught Error: Call to undefined function Afterpay\SDK\HTTP\curl_init() in /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/vendor/afterpay-global/afterpay-sdk-php/src/HTTP/Request.php:91
Stack trace: 0 /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/vendor/afterpay-global/afterpay-sdk-php/src/HTTP/Request/GetConfiguration.php(27): Afterpay\SDK\HTTP\Request->__construct() 1 /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/class/WC_Gateway_Afterpay.php(1984): Afterpay\SDK\HTTP\Request\GetConfiguration->__construct() 2 /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/class/Cron/Afterpay_Plugin_Cron.php(113): WC_Gateway_Afterpay->get_configuration() 3 /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/class/Cron/Afterpay_Plugin_Cron.php(76): Afterpay_Plugin_Cron::update_payment_limits() 4 /home/resinate/public_html/wp-includes/class-wp-hook.php(306): Afterpay_Plugin_Cron::fire_jobs() 5 /home/resinate/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) 6 /home/resinate/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 7 /home/resinate/public_html/wp-content/plugins/woocommerce/includes/admin/settings/class-wc-settings-payment-gateways.php(303): do_action('woocommerce_upd…') 8 /home/resinate/public_html/wp-includes/class-wp-hook.php(308): WC_Settings_Payment_Gateways->save('') 9 /home/resinate/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) 10 /home/resinate/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 11 /home/resinate/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-settings.php(77): do_action('woocommerce_set…') 12 /home/resinate/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-menus.php(151): WC_Admin_Settings::save() 13 /home/resinate/public_html/wp-includes/class-wp-hook.php(308): WC_Admin_Menus->save_settings('') 14 /home/resinate/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) 15 /home/resinate/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 16 /home/resinate/public_html/wp-settings.php(645): do_action('wp_loaded') 17 /home/resinate/public_html/wp-config.php(104): require_once('/home/resinate/…') 18 /home/resinate/public_html/wp-load.php(50): require_once('/home/resinate/…') 19 /home/resinate/public_html/wp-admin/admin.php(34): require_once('/home/resinate/…') 20 {main} thrown in /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/vendor/afterpay-global/afterpay-sdk-php/src/HTTP/Request.php on line 91 2023-05-17T03:59:35+00:00 CRITICAL Uncaught Error: Call to undefined function Afterpay\SDK\HTTP\curl_init() in /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/vendor/afterpay-global/afterpay-sdk-php/src/HTTP/Request.php:91
Stack trace: 0 /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/vendor/afterpay-global/afterpay-sdk-php/src/HTTP/Request/GetConfiguration.php(27): Afterpay\SDK\HTTP\Request->__construct() 1 /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/class/WC_Gateway_Afterpay.php(1984): Afterpay\SDK\HTTP\Request\GetConfiguration->__construct() 2 /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/class/Cron/Afterpay_Plugin_Cron.php(113): WC_Gateway_Afterpay->get_configuration() 3 /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/class/Cron/Afterpay_Plugin_Cron.php(76): Afterpay_Plugin_Cron::update_payment_limits() 4 /home/resinate/public_html/wp-includes/class-wp-hook.php(306): Afterpay_Plugin_Cron::fire_jobs() 5 /home/resinate/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) 6 /home/resinate/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 7 /home/resinate/public_html/wp-content/plugins/woocommerce/includes/admin/settings/class-wc-settings-payment-gateways.php(303): do_action('woocommerce_upd…') 8 /home/resinate/public_html/wp-includes/class-wp-hook.php(308): WC_Settings_Payment_Gateways->save('') 9 /home/resinate/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) 10 /home/resinate/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 11 /home/resinate/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-settings.php(77): do_action('woocommerce_set…') 12 /home/resinate/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-menus.php(151): WC_Admin_Settings::save() 13 /home/resinate/public_html/wp-includes/class-wp-hook.php(308): WC_Admin_Menus->save_settings('') 14 /home/resinate/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) 15 /home/resinate/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 16 /home/resinate/public_html/wp-settings.php(645): do_action('wp_loaded') 17 /home/resinate/public_html/wp-config.php(104): require_once('/home/resinate/…') 18 /home/resinate/public_html/wp-load.php(50): require_once('/home/resinate/…') 19 /home/resinate/public_html/wp-admin/admin.php(34): require_once('/home/resinate/…') 20 {main} thrown in /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/vendor/afterpay-global/afterpay-sdk-php/src/HTTP/Request.php on line 91 2023-05-17T04:00:15+00:00 CRITICAL Uncaught Error: Call to undefined function Afterpay\SDK\HTTP\curl_init() in /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/vendor/afterpay-global/afterpay-sdk-php/src/HTTP/Request.php:91
Stack trace: 0 /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/vendor/afterpay-global/afterpay-sdk-php/src/HTTP/Request/GetConfiguration.php(27): Afterpay\SDK\HTTP\Request->__construct() 1 /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/class/WC_Gateway_Afterpay.php(1984): Afterpay\SDK\HTTP\Request\GetConfiguration->__construct() 2 /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/class/Cron/Afterpay_Plugin_Cron.php(113): WC_Gateway_Afterpay->get_configuration() 3 /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/class/Cron/Afterpay_Plugin_Cron.php(76): Afterpay_Plugin_Cron::update_payment_limits() 4 /home/resinate/public_html/wp-includes/class-wp-hook.php(306): Afterpay_Plugin_Cron::fire_jobs() 5 /home/resinate/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) 6 /home/resinate/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 7 /home/resinate/public_html/wp-content/plugins/woocommerce/includes/admin/settings/class-wc-settings-payment-gateways.php(303): do_action('woocommerce_upd…') 8 /home/resinate/public_html/wp-includes/class-wp-hook.php(308): WC_Settings_Payment_Gateways->save('') 9 /home/resinate/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) 10 /home/resinate/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 11 /home/resinate/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-settings.php(77): do_action('woocommerce_set…') 12 /home/resinate/public_html/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-menus.php(151): WC_Admin_Settings::save() 13 /home/resinate/public_html/wp-includes/class-wp-hook.php(308): WC_Admin_Menus->save_settings('') 14 /home/resinate/public_html/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) 15 /home/resinate/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array) 16 /home/resinate/public_html/wp-settings.php(645): do_action('wp_loaded') 17 /home/resinate/public_html/wp-config.php(104): require_once('/home/resinate/…') 18 /home/resinate/public_html/wp-load.php(50): require_once('/home/resinate/…') 19 /home/resinate/public_html/wp-admin/admin.php(34): require_once('/home/resinate/…') 20 {main} thrown in /home/resinate/public_html/wp-content/plugins/afterpay-gateway-for-woocommerce/vendor/afterpay-global/afterpay-sdk-php/src/HTTP/Request.php on line 91The page I need help with: [log in to see the link]
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Critical error after saving changes’ is closed to new replies.