Title: Deprecated code in PHP 8.3
Last modified: December 8, 2025

---

# Deprecated code in PHP 8.3

 *  Resolved [eclev91](https://wordpress.org/support/users/eclev91/)
 * (@eclev91)
 * [6 months ago](https://wordpress.org/support/topic/deprecated-code-in-php-8-3/)
 *     ```wp-block-code
        Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /wp-content/plugins/cleantalk-spam-protect/lib/Cleantalk/ApbctWP/ContactsEncoder/Exclusions/ExclusionsService.php on line 155
       ```
   
 * Seeing a lot of this particular error. Would love to see that cleaned up.

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

 *  Plugin Support [katereji](https://wordpress.org/support/users/katereji/)
 * (@katereji)
 * [6 months ago](https://wordpress.org/support/topic/deprecated-code-in-php-8-3/#post-18748141)
 * Hello [@eclev91](https://wordpress.org/support/users/eclev91/)
 * We have fixed the error. Please install the fix-version: [https://github.com/CleanTalk/wordpress-antispam/releases/download/fix-version/cleantalk-spam-protect.zip](https://github.com/CleanTalk/wordpress-antispam/releases/download/fix-version/cleantalk-spam-protect.zip).
 * All changes will be included in the next stable release.
 *  Plugin Support [sergecleantalk](https://wordpress.org/support/users/sergecleantalk/)
 * (@sergecleantalk)
 * [5 months, 3 weeks ago](https://wordpress.org/support/topic/deprecated-code-in-php-8-3/#post-18755257)
 * Hello.
   We haven’t heard back from you 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
   or contact us via our private Ticket System: [https://cleantalk.org/my/support/open](https://cleantalk.org/my/support/open).

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-code-in-php-8-3%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/cleantalk-spam-protect/assets/icon-256x256.gif?rev=3539767)
 * [Anti-Spam by CleanTalk. Spam protection](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/)

 * 2 replies
 * 3 participants
 * Last reply from: [sergecleantalk](https://wordpress.org/support/users/sergecleantalk/)
 * Last activity: [5 months, 3 weeks ago](https://wordpress.org/support/topic/deprecated-code-in-php-8-3/#post-18755257)
 * Status: resolved