• Resolved tofuSCHNITZEL

    (@tofuschnitzel)


    Hi,
    after updating from 1.3.7 to 1.3.8 I cannot open wp-admin anymore. following PHP error is logged:

    PHP Fatal error: Cannot declare class MCAPI, because the name is already in use in /var/www/vhosts/lucias-laden.at/shop/wp-content/plugins/woocommerce-mailchimp/classes/api/class-MCAPI.php on line 3″

    PHP used: 7.0.10 via php-fpm

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Adam Anderly

    (@anderly)

    Do you have another MailChimp plugin installed? It sounds like this is a conflict with another plugin that is using a MCAPI class.

    • This reply was modified 8 years, 2 months ago by Adam Anderly.
    Thread Starter tofuSCHNITZEL

    (@tofuschnitzel)

    Hi,
    yes the theme I use, has a toolkit (kutetheme-toolkit) that uses MCAPI.
    But it declares it like this:
    if( ! class_exists( 'MCAPI' ) ){
    so there shouldn’t be a problem…
    also with 1.3.7 everything is fine…

    edit:
    I’ve seen you removed this check in 1.3.8

    • This reply was modified 8 years, 2 months ago by tofuSCHNITZEL.
    Plugin Author Adam Anderly

    (@anderly)

    I just published version 1.3.9 which renames the MCAPI class to prevent collisions with other plugins who may have a MCAPI class, too.

    I just upgraded to the latest version (Version: 2.0.2) and received the following error:
    Parse error: syntax error, unexpected ‘list’ (T_LIST), expecting identifier (T_STRING) in /home/******/public_html/store/wp-content/plugins/woocommerce-mailchimp/includes/class-ss-wc-mailchimp-handler.php on line 91
    I have MailChimp for WordPress also installed.
    Thanks
    John B

    Plugin Author Adam Anderly

    (@anderly)

    I just published version 2.0.4 to fix this. Please update and try again.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘PHP error after update to 1.3.8’ is closed to new replies.