Error: Using deprecated function has_cap
-
Great plugin. Thanks for creating it.
I think I have found a bug.
As soon as I activate the plugin, I get an error at the top of all my /wp-admin/ screens that says:
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 /nas/wp/www/cluster-1372/site/wp-includes/functions.php on line 3006
I searched all your plugin files for
has_cap
but couldn’t find it anywhere. But it’s pretty clear that it’s your plugin that is causing the error, because as soon as I deactivate it, the error goes away. I have debugging enabled on my test site.If you need any further info, or would like help testing, please let me know.
- The topic ‘Error: Using deprecated function has_cap’ is closed to new replies.