Title: has_cap error
Last modified: February 8, 2018

---

# has_cap error

 *  Resolved [PatJ](https://wordpress.org/support/users/patj/)
 * (@patj)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/has_cap-error-2/)
 * I’m using events manager (latest version 5.8.1.3) on my development copy of my
   website which has wp_debug_log enabled and I’m getting a raft of error notices
   from this plugin.
 * _PHP Notice: has\_cap was called with an argument that is **deprecated** since
   version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
 * I only have to go to my main page to generate these errors and When I disable
   events manager the error doesn’t happen. The main sidebar of my site has the 
   events widget and ical link
    It is thoroughly annoying because I am trying to
   debug my own plugin and theme developments and have to disable a plugin which
   is core to my website to avoid the ‘noise’ cluttering up my debug.log.

Viewing 1 replies (of 1 total)

 *  [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * (@caimin_nwl)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/has_cap-error-2/#post-9953617)
 * There should be a file name / path following that debug message. Can you paste
   it? Feel free to mask any sensitive info. Thanks.

Viewing 1 replies (of 1 total)

The topic ‘has_cap error’ is closed to new replies.

 * ![](https://ps.w.org/events-manager/assets/icon-256x256.png?rev=3550347)
 * [Events Manager - Calendar, Bookings, Tickets, and more!](https://wordpress.org/plugins/events-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/events-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-manager/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [caimin_nwl](https://wordpress.org/support/users/caimin_nwl/)
 * Last activity: [8 years, 4 months ago](https://wordpress.org/support/topic/has_cap-error-2/#post-9953617)
 * Status: resolved