WordPress.org

Support

Support » Plugins and Hacks » Doesn't play nicely with other plugins

Doesn't play nicely with other plugins

Viewing 2 replies - 1 through 2 (of 2 total)
  • alpha1beta
    Participant

    @alpha1beta

    This is caused by different plugins using a class of the same name, MCAPI. A prefix should be run to see if that class is already declared (MCAPI line 1) or change the name of this class, so it plays nicely with others.

    alpha1beta
    Participant

    @alpha1beta

    I was able to solve this by dropping this around the MCAPI class.

    if(class_exists('MCAPI') != true){
    class MCAPI {}
    }

    It looks for the class and if its found, ignore the redefinition off it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Doesn't play nicely with other plugins’ is closed to new replies.