• Resolved Diabolique

    (@diabolique)


    Hello,

    There is a following error when I go to WP Customize

    Fatal error: Cannot redeclare sanitize_hex_color() (previously declared in wp-content/plugins/chat/chat.php:2606) in wp-includes/class-wp-customize-manager.php on line 1624

    Theme contains following code

    $wp_customize->add_section( 'DD_colors_section' , array(
        'title'       => 'Colors',
        'priority'    => 31,
        'description' => 'Change colors of theme.',
    ) );
    
    $wp_customize->add_setting( 'DD_signupbg',
    	array(
    	'default' => '#f8ff45',
    	'sanitize_callback' => 'sanitize_hex_color'
    ));
    
    $wp_customize->add_control( new WP_Customize_Color_Control ( $wp_customize, 'DD_signupbg', array(
    	'label'      => 'Top Sign Up link Background.',
        'priority' => 1,
        'section'  => 'DD_colors_section',
        'settings' => 'DD_signupbg',
    ) ) );

    https://www.ads-software.com/plugins/chat/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Bojan Radonic – WPMU DEV Support

    (@wpmudev-support4)

    Hey there Diabolique,

    How are you doing today?

    I’ve tested this on my sandbox site and I managed to recreate the issue. I’ve reported this to our developer so he can investigate this further and fix in the following update for the plugin.

    Thank you for taking time to report this ??

    Best regards,
    Bojan

    Samik2

    (@samik2)

    Hello ??

    Any update on this ?

    Hey Samik2,

    Sorry this one seems to slipped through the gaps, I’ve talked to our developer and we’ll fixed this as soon as possible. I’ll update the thread as soon as this is fixed.

    I apologize about the delay ??

    Cheers,
    Bojan

    Hey there guys,

    Just wanted to let you know that we’ve released the update with a fix for this one.

    Please update the plugin and let me know if you run into any other issues.

    Cheers,
    Bojan

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Conflict with WP Customize’ is closed to new replies.