Title: Deprecated roles?
Last modified: September 3, 2026

---

# Deprecated roles?

 *  [Sokon](https://wordpress.org/support/users/sokon/)
 * (@sokon)
 * [2 days, 21 hours ago](https://wordpress.org/support/topic/deprecated-roles/)
 * Hello,
 * i use your wonderful plugin. After the last update of the plugin, there is no
   content in the plugin settings and so on. I get this php error: 
   **Deprecated**:
   Function has_cap was called with an argument that is **deprecated** since version
   2.0.0! Usage of user levels is deprecated. Use capabilities instead. in **/home/
   xxx/html/xxx/wp-includes/functions.php** on line **5737**
 * How to resolve that?
 * Looking forward to your answer 🙂
 * Best regards

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [dimitrycleantalk](https://wordpress.org/support/users/dimitrycleantalk/)
 * (@dimitrycleantalk)
 * [2 days, 21 hours ago](https://wordpress.org/support/topic/deprecated-roles/#post-19010937)
 * Hello [@sokon](https://wordpress.org/support/users/sokon/),
 * I have forwarded the details to our development team. We will send you an update
   within 1-2 business days, or sooner if any results become available.
 * Please wait.
 *  Plugin Support [amagsumov](https://wordpress.org/support/users/amagsumov/)
 * (@amagsumov)
 * [2 days, 8 hours ago](https://wordpress.org/support/topic/deprecated-roles/#post-19011250)
 * Hello [@sokon](https://wordpress.org/support/users/sokon/),
 * Our developers have confirmed that the CleanTalk plugin does not use the `has_cap`
   function.
 * To investigate why the plugin settings are missing on your site, we will need
   to examine your website. Please open a support ticket with us so we can investigate
   further: [https://cleantalk.org/my/support/open](https://cleantalk.org/my/support/open)
 * Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdeprecated-roles%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/security-malware-firewall/assets/icon-256x256.gif?rev=3518712)
 * [Security Plugin, Firewall & Malware Scanner with Auto Removal](https://wordpress.org/plugins/security-malware-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/security-malware-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/security-malware-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/security-malware-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/security-malware-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/security-malware-firewall/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [amagsumov](https://wordpress.org/support/users/amagsumov/)
 * Last activity: [2 days, 8 hours ago](https://wordpress.org/support/topic/deprecated-roles/#post-19011250)
 * Status: not resolved