Title: Longstanding Errors
Last modified: August 14, 2018

---

# Longstanding Errors

 *  Resolved [mleder](https://wordpress.org/support/users/mleder/)
 * (@mleder)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/longstanding-errors/)
 * Using WP stock 2017 WP theme (that comes with the install).
    Latest version. 
   running nginx. Error Logs – does this all day long. Any ideas/shortcuts where
   to look, b4 I spend hours troubleshooting this (like turning off all plugins 
   and turning on one by one).
 * Thanks!
 * `2018/08/14 14:38:23 [error] 20351#20351: *1123 FastCGI sent in stderr: “PHP 
   message: PHP Notice: register_sidebar_widget is **deprecated** since version 
   2.8.0! Use wp_register_sidebar_widget() instead. in /var/www/html/_rosalind-sedacca/
   childcentereddivorce.com/wwwroot/wp-includes/functions.php on line 3853
 * PHP message: PHP Notice: register_widget_control is **deprecated** since version
   2.8.0! Use wp_register_widget_control() instead. in /var/www/html/_rosalind-sedacca/
   childcentereddivorce.com/wwwroot/wp-includes/functions.php on line 3853″ while
   reading response header from upstream, client: 108.162.216.134, server: childcentereddivorce.
   com, request: “GET /wp-admin/themes.php HTTP/1.1”, upstream: “fastcgi://unix:/
   var/run/php-fpm/php-fpm.sock:”, host: “www.childcentereddivorce.com”
 * 2018/08/14 14:38:29 [error] 20351#20351: *1133 FastCGI sent in stderr: “PHP message:
   PHP Notice: register_sidebar_widget is **deprecated** since version 2.8.0! Use
   wp_register_sidebar_widget() instead. in /var/www/html/_rosalind-sedacca/childcentereddivorce.
   com/wwwroot/wp-includes/functions.php on line 3853
 * PHP message: PHP Notice: register_widget_control is **deprecated** since version
   2.8.0! Use wp_register_widget_control() instead. in /var/www/html/_rosalind-sedacca/
   childcentereddivorce.com/wwwroot/wp-includes/functions.php on line 3853″ while
   reading response header from upstream, client: 162.158.75.242, server: childcentereddivorce.
   com, request: “GET /wp-admin/themes.php?action=activate&stylesheet=twentyseventeen&
   _wpnonce=2793cc1cb5 HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php-fpm/php-
   fpm.sock:”, host: “www.childcentereddivorce.com”
 * 2018/08/14 14:38:29 [error] 20351#20351: *1135 FastCGI sent in stderr: “PHP message:
   PHP Notice: register_sidebar_widget is **deprecated** since version 2.8.0! Use
   wp_register_sidebar_widget() instead. in /var/www/html/_rosalind-sedacca/childcentereddivorce.
   com/wwwroot/wp-includes/functions.php on line 3853
 * PHP message: PHP Notice: register_widget_control is **deprecated** since version
   2.8.0! Use wp_register_widget_control() instead. in /var/www/html/_rosalind-sedacca/
   childcentereddivorce.com/wwwroot/wp-includes/functions.php on line 3853″ while
   reading response header from upstream, client: 162.158.75.242, server: childcentereddivorce.
   com, request: “GET /wp-admin/themes.php?activated=true HTTP/1.1”, upstream: “
   fastcgi://unix:/var/run/php-fpm/php-fpm.sock:”, host: “www.childcentereddivorce.
   com”
 * 2018/08/14 14:38:36 [error] 20351#20351: *1137 FastCGI sent in stderr: “PHP message:
   PHP Notice: register_sidebar_widget is **deprecated** since version 2.8.0! Use
   wp_register_sidebar_widget() instead. in /var/www/html/_rosalind-sedacca/childcentereddivorce.
   com/wwwroot/wp-includes/functions.php on line 3853
 * PHP message: PHP Notice: register_widget_control is **deprecated** since version
   2.8.0! Use wp_register_widget_control() instead. in /var/www/html/_rosalind-sedacca/
   childcentereddivorce.com/wwwroot/wp-includes/functions.php on line 3853
 * PHP message: PHP Notice: Constant WP_USE_THEMES already defined in /var/www/html/
   _rosalind-sedacca/childcentereddivorce.com/wwwroot/index.php on line 14″ while
   reading response header from upstream, client: 162.158.74.7, server: childcentereddivorce.
   com, request: “GET / HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php-fpm/php-
   fpm.sock:”, host: “www.childcentereddivorce.com”‘

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Joy](https://wordpress.org/support/users/joyously/)
 * (@joyously)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/longstanding-errors/#post-10590868)
 * Could php-fpm be pulling from the wrong place somehow? Or are you using a child
   theme?
    There is no reference to those deprecated functions in Twenty Seventeen.
   And I’m not sure why you would continually see a GET request for activating the
   theme. The last notice listed about duplicate definition of WP_USE_THEMES could
   happen, but is unlikely. You should check the wp-config.php file to see, but 
   it could be an indication that something is loading from the wrong place.
 *  Thread Starter [mleder](https://wordpress.org/support/users/mleder/)
 * (@mleder)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/longstanding-errors/#post-10591231)
 * No child theme being used with 2017.
 * Only thing different between this site and about a dozen others I host is this
   in the wp-config.php:
 * `error_reporting(E_ALL); ini_set(‘display_errors’, 1);
    define(‘WP_DEBUG’, true);
   define(‘WP_DEBUG_LOG’, true); define(‘WP_DEBUG_DISPLAY’, true);’
 * Also all sites use common includes for php-fpm calls in the nginx configurations,
   in other words they are all structured the same.
 *  Thread Starter [mleder](https://wordpress.org/support/users/mleder/)
 * (@mleder)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/longstanding-errors/#post-10593558)
 * I found the problem, one plugin that had bad code; I have since removed it, and
   no errors.
 * For the benefit of others, here’s an easy way to figure out where the wrong code
   is:
    1) To your local dev machine, download the entire wp-content folder and 
   all subdirectories. 2) I use windows, installed and ran Find and Replace. 3) 
   Do an exact match find on ‘register_sidebar_widget’ from the wp-content dir. 
   Include subdirectories. Exclude .log files. 4) Within a minute, crawled nearly
   11,000 files and found three matches, all in one plugin. 5) Disabled the plugin
   on the live site. Clear the error log files. Browsed the site normally. 6) No
   more errors!
 * Thanks for your help.
    -  This reply was modified 7 years, 9 months ago by [mleder](https://wordpress.org/support/users/mleder/).

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Longstanding Errors’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [mleder](https://wordpress.org/support/users/mleder/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/longstanding-errors/#post-10593558)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
