• Resolved samflink

    (@samflink)


    Hi,

    When I enable the plugin there is no problem. Everything works OK. However, when I try to adjust widgets or adjust any of the theme parts, wordpress “crashes” and gives an error message.

    The Error is caused by:
    An error of type E_COMPILE_ERROR was caused in line 23 of the file …..
    themes/vw-health-coach-pro/inc/customize/controls/alpha-color-picker.php.

    Error message: Cannot declare class Customize_Alpha_Color_Control, because the name is already in use

    It seems that the same class name is used twice.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Danish Ali Malik

    (@danish-ali)

    Hi @samflink,

    sorry for the late reply, I just confirmed that I am already using the ! class_exists( 'Customize_Alpha_Color_Control' ) condition before declaring the class. Can you please run the theme/plugin conflict test and find which plugin is causing the issue?

    Thread Starter samflink

    (@samflink)

    I’ve re-enabled the Easy Social Feed plugin and did some troubleshooting: It seems that my theme uses the alpha-color-picker when customizing the theme itself.

    As a workaround I’ve edited the theme files and renamed the alpa-color class declaration so it doesn’t conflict by having two classes with the same name.

    For the long term solution I’ve filed a support request with the developer of the theme.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Customize_Alpha_Color_Control – Plugin causes appearance-customize to crash’ is closed to new replies.