Title: Errors: has_cap deprecated   Strict Standards warning
Last modified: August 30, 2016

---

# Errors: has_cap deprecated Strict Standards warning

 *  [Pär Thernström](https://wordpress.org/support/users/eskapism/)
 * (@eskapism)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/errors-has_cap-deprecated-strict-standards-warning/)
 * Hi,
    I tried the plugin and I believe I found two errors. I do have WP_DEBUG 
   enabled on my server.
 * **Error 1**
    Using PHP 5.3.
 * After activating the plugin I start getting this message:
 * `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.`
 * **Error 2**
    Started showing when using a PHP version higher than 5.3, for example
   5.4.42 or 5.5.26:
 * `Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback,
   non-static method Anderson_Makiyama_Captcha_On_Login::check_blocked_ips_befor_all()
   should not be called staticall...`
 * Let me know if I can help debug this in any way.
 * [https://wordpress.org/plugins/captcha-on-login/](https://wordpress.org/plugins/captcha-on-login/)

The topic ‘Errors: has_cap deprecated Strict Standards warning’ 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/)

 * 0 replies
 * 1 participant
 * Last reply from: [Pär Thernström](https://wordpress.org/support/users/eskapism/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/errors-has_cap-deprecated-strict-standards-warning/)
 * Status: not resolved