Title: [Plugin: WordPress.com Stats] Errors in WP debug mode
Last modified: August 19, 2016

---

# [Plugin: WordPress.com Stats] Errors in WP debug mode

 *  [Jacob N. Breetvelt](https://wordpress.org/support/users/opajaap/)
 * (@opajaap)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-wordpresscom-stats-errors-in-wp-debug-mode/)
 * When WP runs in debug mode (`define('WP_DEBUG', true);` in wp-config.php) WordPress.
   com stats produces the following errors:
 *     ```
       Notice: Undefined index: height in /mnt/web7/41/15/.../htdocs/opajaap/test/wordpress/wp-content/plugins/stats/stats.php on line 1013
       ```
   
 * and 3 times:
 *     ```
       Notice: clean_url is deprecated since version 3.0! Use esc_url() instead. in /mnt/web7/41/15/.../htdocs/opajaap/test/wordpress/wp-includes/functions.php on line 3237
       ```
   
 * Activating thr first time in debug mode is not possible because of “headers already
   sent”.
 * Reactivating produces:
 *     ```
       The plugin generated 376 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin.
       ```
   
 * [http://wordpress.org/extend/plugins/stats/](http://wordpress.org/extend/plugins/stats/)

The topic ‘[Plugin: WordPress.com Stats] Errors in WP debug mode’ is closed to new
replies.

 * ![](https://s.w.org/plugins/geopattern-icon/stats.svg)
 * [WordPress.com Stats](https://wordpress.org/plugins/stats/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/stats/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/stats/)
 * [Active Topics](https://wordpress.org/support/plugin/stats/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/stats/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/stats/reviews/)

## Tags

 * [Stats](https://wordpress.org/support/topic-tag/stats/)

 * 0 replies
 * 1 participant
 * Last reply from: [Jacob N. Breetvelt](https://wordpress.org/support/users/opajaap/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-wordpresscom-stats-errors-in-wp-debug-mode/)
 * Status: not resolved