Title: Setting WP_DEBUG&#8217;, true causes error
Last modified: December 16, 2018

---

# Setting WP_DEBUG’, true causes error

 *  [dforth](https://wordpress.org/support/users/dforth/)
 * (@dforth)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/setting-wp_debug-true-causes-error/)
 * Hi,
 * When I set wp-config.php: define(‘WP_DEBUG’, true);
 * It causes the following error message:
 * <b>Notice</b>: has_cap was called with an argument that is **deprecated** since
   version 2.0.0! Usage of user levels is deprecated. Use capabilities instead. 
   in <b>C:\Bitnami\wordpress-4.9.8-3\apps\wordpress\htdocs\wp-includes\functions.
   php</b> on line <b>4088</b><br />
 * Any ideas on why?
 * Thanks,
    –Dave

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

 *  [Geoffrey Shilling](https://wordpress.org/support/users/geoffreyshilling/)
 * (@geoffreyshilling)
 * Volunteer Moderator
 * [7 years, 5 months ago](https://wordpress.org/support/topic/setting-wp_debug-true-causes-error/#post-10994342)
 * This may be a plugin or theme conflict. Please attempt to disable all plugins,
   and use one of the default (Twenty*) themes. If the problem goes away, enable
   them one by one to identify the source of your troubles.
 * If you can install plugins, install “Health Check”: [https://wordpress.org/plugins/health-check/](https://wordpress.org/plugins/health-check/)
   On the troubleshooting tab, you can click the button to disable all plugins and
   change the theme for you, while you’re still logged in, **without affecting normal
   visitors to your site**.
 *  Thread Starter [dforth](https://wordpress.org/support/users/dforth/)
 * (@dforth)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/setting-wp_debug-true-causes-error/#post-10994637)
 * Hi Geoffrey,
 * Thanks, it was a plugin conflict.
    Health Check plugin is very useful.
 * Thanks afgain,
    –Dave

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

The topic ‘Setting WP_DEBUG’, true causes error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [dforth](https://wordpress.org/support/users/dforth/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/setting-wp_debug-true-causes-error/#post-10994637)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
