Title: Deprecated found
Last modified: March 1, 2023

---

# Deprecated found

 *  Resolved [cfm168](https://wordpress.org/support/users/cfm168/)
 * (@cfm168)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/deprecated-found-2/)
 * Hello,
 * I have WP6.1.1. and running php8.1. It seems deprecated related to this plugin:
 * Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string
   is deprecated in /home/SorryHided/SorryHided.com/wp-content/plugins/cleantalk-
   spam-protect/lib/Cleantalk/Antispam/EmailEncoder.php on line 356
 * Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string
   is deprecated in /home/SorryHided/SorryHided.com/wp-content/plugins/cleantalk-
   spam-protect/lib/Cleantalk/Antispam/EmailEncoder.php on line 356
 * Deprecated: preg_replace_callback(): Passing null to parameter #3 ($subject) 
   of type array|string is deprecated in /home/SorryHided/SorryHided.com/wp-content/
   plugins/cleantalk-spam-protect/lib/Cleantalk/Antispam/EmailEncoder.php on line
   133
 * Please advise and how to fix it. Thanks in advance!

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

 *  Plugin Support [sergecleantalk](https://wordpress.org/support/users/sergecleantalk/)
 * (@sergecleantalk)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/deprecated-found-2/#post-16518607)
 * Hello,
 * Is the Cleantalk plugin version the latest? Please update it if not and deactivate
   the plugin with the “Complete deactivation” option enabled, clear website cache,
   and then activate it again.
    1. Enter the Antispam by Cleantalk plugin settings. (WordPress Dashboard -> Settings-
       > Antispam by Cleantalk -> Advanced settings)
    2. Check the last settings “Complete deactivation” and save changes.
    3. Deactivate the plugin on the “Plugins” page in WordPress Dashboard.
    4. Clear website cache.
    5. Then activate the plugin.
    6. Proceed to the plugin’s settings. (See item 1.)
 * Did it help?
 *  Thread Starter [cfm168](https://wordpress.org/support/users/cfm168/)
 * (@cfm168)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/deprecated-found-2/#post-16519108)
 * Hello [@sergecleantalk](https://wordpress.org/support/users/sergecleantalk/),
 * Thank you for quick response. I have the latest version 6.4.1. I did follow your
   instructions. Will see if the issue removed.
 *  [SergeM](https://wordpress.org/support/users/serge00/)
 * (@serge00)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/deprecated-found-2/#post-16519829)
 * You are welcome! Inform us anytime.
 *  Plugin Support [sergecleantalk](https://wordpress.org/support/users/sergecleantalk/)
 * (@sergecleantalk)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/deprecated-found-2/#post-16528774)
 * Hello,
 * We haven’t received your reply in a few days, so I’m going to mark this topic
   as “resolved”.
   If you have any further questions, you can start a new topic anytime.

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

The topic ‘Deprecated found’ is closed to new replies.

 * ![](https://ps.w.org/cleantalk-spam-protect/assets/icon-256x256.png?rev=1637702)
 * [Spam protection, Honeypot, Anti-Spam by CleanTalk](https://wordpress.org/plugins/cleantalk-spam-protect/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cleantalk-spam-protect/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cleantalk-spam-protect/)
 * [Active Topics](https://wordpress.org/support/plugin/cleantalk-spam-protect/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cleantalk-spam-protect/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cleantalk-spam-protect/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [sergecleantalk](https://wordpress.org/support/users/sergecleantalk/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/deprecated-found-2/#post-16528774)
 * Status: resolved