• Resolved mdczaplicki

    (@mdczaplicki)


    Hello,

    On version 4.2.1 of Mailchimp for Woocommerce I’m experiencing a 500 error on cart checkout page.

    The list of the plugins in admin panel also doesn’t work, just returns 500.

    I’ve managed to disable faulty plugin using recovery mode. Now it works.

    This is the error log from Woocommerce:


    2024-07-29T09:48:34+00:00 Critical Uncaught Error: Call to undefined function curl_init() in /mnt/customers/customers-3g3m02/89501cb9-e012-475e-8771-d7587fecda8e/wp-content/wp-content/plugins/mailchimp-for-woocommerce/includes/api/class-mailchimp-api.php:2326
    Additional context
    {
    "error": {
    "type": 1,
    "file": "/mnt/customers/customers-3g3m02/89501cb9-e012-475e-8771-d7587fecda8e/wp-content/wp-content/plugins/mailchimp-for-woocommerce/includes/api/class-mailchimp-api.php",
    "line": 2326
    },
    "backtrace": [
    "",
    "#0 /mnt/customers/customers-3g3m02/89501cb9-e012-475e-8771-d7587fecda8e/wp-content/wp-content/plugins/mailchimp-for-woocommerce/includes/api/class-mailchimp-api.php(784): MailChimp_WooCommerce_MailChimpApi->get()",
    "#1 /mnt/customers/customers-3g3m02/89501cb9-e012-475e-8771-d7587fecda8e/wp-content/wp-content/plugins/mailchimp-for-woocommerce/includes/api/class-mailchimp-api.php(767): MailChimp_WooCommerce_MailChimpApi->getStore()",
    "#2 /mnt/customers/customers-3g3m02/89501cb9-e012-475e-8771-d7587fecda8e/wp-content/wp-content/plugins/mailchimp-for-woocommerce/bootstrap.php(431): MailChimp_WooCommerce_MailChimpApi->getStoreIfAvailable()",
    "#3 /mnt/customers/customers-3g3m02/89501cb9-e012-475e-8771-d7587fecda8e/wp-content/wp-content/plugins/mailchimp-for-woocommerce/includes/class-mailchimp-woocommerce-deactivation-survey.php(186): mailchimp_get_store_id()",
    "#4 /mnt/customers/customers-3g3m02/89501cb9-e012-475e-8771-d7587fecda8e/wp-content/wp-includes/class-wp-hook.php(324): Mailchimp_Woocommerce_Deactivation_Survey->js()",
    "#5 /mnt/customers/customers-3g3m02/89501cb9-e012-475e-8771-d7587fecda8e/wp-content/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()",
    "#6 /mnt/customers/customers-3g3m02/89501cb9-e012-475e-8771-d7587fecda8e/wp-content/wp-includes/plugin.php(517): WP_Hook->do_action()",
    "#7 /mnt/customers/customers-3g3m02/89501cb9-e012-475e-8771-d7587fecda8e/wp-content/wp-admin/admin-header.php(146): do_action()",
    "#8 /mnt/customers/customers-3g3m02/89501cb9-e012-475e-8771-d7587fecda8e/wp-content/wp-admin/plugins.php(624): require_once('...')",
    "#9 {main}",
    "thrown"
    ]
    }
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author ryanhungate

    (@ryanhungate)

    @mdczaplicki it is a requirement that you have CURL installed on your server. This looks like something might have gone wrong with a recent PHP update on your machine? Can you please make sure that your hosting provider / server admin knows to have this running in your PHP build?

    Thread Starter mdczaplicki

    (@mdczaplicki)

    After updating PHP to 8.2 – it works. CURL is indeed installed. Seems to work now. Thanks!

    Plugin Author ryanhungate

    (@ryanhungate)

    @mdczaplicki Thanks for reporting back, that’s good to hear.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.