Title: Errors in debug mode
Last modified: August 21, 2016

---

# Errors in debug mode

 *  Resolved [Jacob N. Breetvelt](https://wordpress.org/support/users/opajaap/)
 * (@opajaap)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/errors-in-debug-mode-6/)
 * I was planning to use this plugin, but, since i am a plugin developer, i run 
   all my sites in debug mode ( define(‘WP_DEBUG’, true); ) in wp-config.php
 * Unfortunately, this plugin is un-runnable in debug mode, because it still uses
   the old user levels in stead of roles.
 * The following errors appear at the top of the admin screen:
 * Notice: has_cap was called with an argument that is deprecated since version 
   2.0! Usage of user levels by plugins and themes is deprecated. Use roles and 
   capabilities instead. in /mnt/webf/d1/15/51893315/htdocs/opajaap/beta/wp-includes/
   functions.php on line 2925 Notice: has_cap was called with an argument that is
   deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated.
   Use roles and capabilities instead. in /mnt/webf/d1/15/51893315/htdocs/opajaap/
   beta/wp-includes/functions.php on line 2925 Notice: has_cap was called with an
   argument that is deprecated since version 2.0! Usage of user levels by plugins
   and themes is deprecated. Use roles and capabilities instead. in /mnt/webf/d1/
   15/51893315/htdocs/opajaap/beta/wp-includes/functions.php on line 2925 Notice:
   has_cap was called with an argument that is deprecated since version 2.0! Usage
   of user levels by plugins and themes is deprecated. Use roles and capabilities
   instead. in /mnt/webf/d1/15/51893315/htdocs/opajaap/beta/wp-includes/functions.
   php on line 2925 Notice: has_cap was called with an argument that is deprecated
   since version 2.0! Usage of user levels by plugins and themes is deprecated. 
   Use roles and capabilities instead. in /mnt/webf/d1/15/51893315/htdocs/opajaap/
   beta/wp-includes/functions.php on line 2925 Notice: has_cap was called with an
   argument that is deprecated since version 2.0! Usage of user levels by plugins
   and themes is deprecated. Use roles and capabilities instead. in /mnt/webf/d1/
   15/51893315/htdocs/opajaap/beta/wp-includes/functions.php on line 2925 Notice:
   has_cap was called with an argument that is deprecated since version 2.0! Usage
   of user levels by plugins and themes is deprecated. Use roles and capabilities
   instead. in /mnt/webf/d1/15/51893315/htdocs/opajaap/beta/wp-includes/functions.
   php on line 2925
 * If you fixe these, i will use the plugin.
 * [http://wordpress.org/plugins/captcha-on-login/](http://wordpress.org/plugins/captcha-on-login/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Anderson.Makiyama](https://wordpress.org/support/users/andersonmakiyama/)
 * (@andersonmakiyama)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/errors-in-debug-mode-6/#post-3961030)
 * ok man, give a chance to new version 2.0

Viewing 1 replies (of 1 total)

The topic ‘Errors in debug mode’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/captcha-on-login_98c4e2.svg)
 * [Captcha on Login](https://wordpress.org/plugins/captcha-on-login/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/captcha-on-login/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/captcha-on-login/)
 * [Active Topics](https://wordpress.org/support/plugin/captcha-on-login/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/captcha-on-login/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/captcha-on-login/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Anderson.Makiyama](https://wordpress.org/support/users/andersonmakiyama/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/errors-in-debug-mode-6/#post-3961030)
 * Status: resolved