when I debug, the message appears has_cap.
when I activate the plugin wp-firewall-2
This should be associated with this http://codex.wordpress.org/Plugin_API/Filter_Reference/user_has_cap
"Passing in a numeric WP_User to has_cap on objects has been deprecated. Passing a numeric deprecated option will generate a warning if debugging mode is enabled via wp_config.php"
"Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead."
How to fix this?