• Resolved golempas

    (@golempas)


    Hello

    I have this message with SG slider when i try to open it after the insertion in different sidebar.

    Fatal error: Call to undefined function sanitize_hex_color() in […]wp-content/themes/sg-window/inc/widget-slider.php on line 448

    Do you have an idea ?

    I love you theme

    Sincerely

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author cats_456

    (@cats_456)

    golempas, thanks!

    I see this error under Appearance > Widgtes too. I forgot to add $this pointer to that function in widget-slider.php, line 448 ->

    $instance['text_color'] = $this->sanitize_hex_color( $new_instance['text_color'] ); ;

    I use mainly new widget’s interface under Customize > Widgets, this function exists by default in the customizer only and doesn’t generate errors there.

    fixed version in this ticket -> https://themes.trac.www.ads-software.com/ticket/26326

    Thread Starter golempas

    (@golempas)

    THank you
    works well

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error with SG slider’ is closed to new replies.