Divi WordPress Theme
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

WordPress fix Reply To: Cannot save theme customizations

Discussion in 'Misc WordPress Requests' started by auser0912387, Mar 24, 2018.

  1. auser0912387

    Guest

    Reply To: Cannot save theme customizations, by auser0912387

    I enabled WP_DEBUG in wp-config and got the following error output:

    Notice: add_custom_background is deprecated since version 3.4.0! Use add_theme_support( 'custom-background', $args ) instead. in /home/research/public_html/wp-includes/functions.php on line 3839

    Notice: add_custom_image_header is deprecated since version 3.4.0! Use add_theme_support( 'custom-header', $args ) instead. in /home/research/public_html/wp-includes/functions.php on line 3839

    Warning: Cannot modify header information - headers already sent by (output started at /home/research/public_html/wp-includes/functions.php:3839) in /home/research/public_html/wp-admin/includes/misc.php on line 1114

    Not sure what to do with this information. Line 3839 is just the code for the triggering the error itself:

    trigger_error( sprintf( __('%1$s is <strong>deprecated</strong> since version %2$s! Use %3$s instead.'), $function, $version, $replacement ) );

    and line 1114 on misc.php:

    header( sprintf( 'Referrer-Policy: %s', $policy ) );

    The error says to “Use add_theme_support( ‘custom-header’, $args ) instead.” but I don’t know where that is located and how to “use” it!

    Reply To: Cannot save theme customizations
     
    #1

Share This Page

Monarch Social Sharing Plugin