Support » Fixing WordPress » How to Fix WordPress deprecated

  • Hi there guys I got a problem with WordPress and its seems like very new to me. I cant see WordPress admin backend when I try to access it all I see is white blank page and when I start it in debug mode I see only one error i.e. add_custom_background is deprecated since version 3.4!. Please help.

    Thanks Guys

Viewing 4 replies - 1 through 4 (of 4 total)
  • Try:
    – switching to the Twenty Eleven theme by renaming your current theme’s folder inside wp-content/themes and adding “-old” to the end of the folder name using FTP or whatever file management application your host provides.

    resetting the plugins folder by FTP or phpMyAdmin.

    Thanks Esmi for you quick attention – Yes I can Login now and I guess the problem with is with theme. But how can I Fix as most of the work is completed and only one error is creating problem with my theme. – Notice: add_custom_background is deprecated since version 3.4! Use add_theme_support( ‘custom-background’, $args ) instead. in /home2/speakwi4/public_html/wp-includes/functions.php. Is there any easy fix??

    I replace the deprecated and edit the code to —> if ( function_exists(‘add_custom_background’)) {add_theme_support(‘custom-background’);}

    I don’t see any error now but still I see the admin backend page blank. Help will be appreciated.

    I was able to quickly fix a similar problem by taking the “functions.php” file from the newest twenty eleven theme and replacing the functions.php file in my custom theme. This only works if your theme’s functions.php file had not been customized.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to Fix WordPress deprecated’ is closed to new replies.