• Resolved PatJ

    (@patj)


    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)
  • 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.