Impossible to activate Mailchimp WooCommerce
-
Hi,
Intro
I’ve been using Mailchimp for Woo together with MC4WP, but now I have an issue that makes impossible to activate the extension. When I try to activate it, I got the following PHP Fatal Error:Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "activate_mailchimp_woocommerce" not found or invalid function name in /wp-includes/class-wp-hook.php on line 303 ( ! ) TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "activate_mailchimp_woocommerce" not found or invalid function name in wp-includes/class-wp-hook.php on line 303 Call Stack # Time Memory Function Location 1 0.0000 394096 {main}( ) .../plugins.php:0 2 2.7443 53704120 do_action( $hook_name = 'activate_mailchimp-for-woocommerce/mailchimp-woocommerce.php' ) .../plugins.php:193 3 2.7443 53704496 WP_Hook->do_action( $args = [0 => ''] ) .../plugin.php:470 4 2.7443 53704496 WP_Hook->apply_filters( $value = '', $args = [0 => ''] ) .../class-wp-hook.php:327
I tried to remove and reinstall the plugin. The uninstall process also failed when using the plugin page from wordpress with the following error:
PHP Fatal error: Uncaught Error: Class "MailChimp_WooCommerce_MailChimpApi" not found in /wp-content/plugins/mailchimp-for-woocommerce/uninstall.php:43 Stack trace: #0 /wp-content/plugins/mailchimp-for-woocommerce/uninstall.php(58): mailchimp_woocommerce_uninstall() #1 /wp-admin/includes/plugin.php(1248): include_once('...') #2 /wp-admin/includes/plugin.php(965): uninstall_plugin() #3 /wp-admin/includes/ajax-actions.php(4598)
In order to uninstall I have to remove the plugin folder from
wp-content/plugins
.Configuration
- PHP FPM v8.0.14
- WordPress v5.8.2
- WooCommerce v5.9.0
- MC4WP v4.8.6
- MailChimp for WooCommerce v2.5.4
Could you help please ? Thanks in advance.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Impossible to activate Mailchimp WooCommerce’ is closed to new replies.