Title: PHP Deprecated: preg_replace()
Last modified: January 26, 2024

---

# PHP Deprecated: preg_replace()

 *  Resolved [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/php-deprecated-preg_replace/)
 * Hi,
 * I’m 99% sure this comes from Directorist.
 * [26-Jan-2024 10:07:31 UTC] PHP Deprecated: preg_replace(): Passing null to parameter#
   3 ($subject) of type array|string is deprecated in /home/wp-includes/kses.php
   on line 1744
 * Thanks

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

 *  Plugin Support [Mahfuzul Alam](https://wordpress.org/support/users/mahfuz87/)
 * (@mahfuz87)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/php-deprecated-preg_replace/#post-17375433)
 * Hello [@dimalifragis](https://wordpress.org/support/users/dimalifragis/)
 * Thank you for reporting this issue.
 * We will try to fix this and update it in our next version of the Directorist 
   plugin.
 * Thank you for your cooperation.
 * Kind Regards
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/php-deprecated-preg_replace/#post-17480174)
 * [@mahfuz87](https://wordpress.org/support/users/mahfuz87/) Please take care of
   it.
 * Thanks
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/php-deprecated-preg_replace/#post-17542689)
 * It has been 2+ months and i see that the issue has not been addressed. Not even
   an issue opened at Github. Ignored totally.
 * Thanks
 *  Thread Starter [dimal](https://wordpress.org/support/users/dimalifragis/)
 * (@dimalifragis)
 * [1 year, 12 months ago](https://wordpress.org/support/topic/php-deprecated-preg_replace/#post-17812323)
 * It has been 4 months and still the issue is there. Is that so hard to fix?
 * [09-Jun-2024 16:26:22 UTC] PHP Deprecated: preg_replace(): Passing null to parameter#
   3 ($subject) of type array|string is deprecated in /home/public_html/wp-includes/
   kses.php on line 1745
 *  [rashed848](https://wordpress.org/support/users/rashed848/)
 * (@rashed848)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/php-deprecated-preg_replace/#post-17859913)
 * Hello [dimal](https://wordpress.org/support/users/dimalifragis/) !
   I hope you
   are doing well.
 * We have reported the deprecated issues to our development team, and all of these
   will be addressed promptly in future versions. We understand your concerns and
   appreciate your patience.
 * Significant changes in functionality are coming in version 8, which will result
   in many improvements. As a result, some of the issues you reported on GitHub 
   have not been addressed individually because the upcoming updates will resolve
   them comprehensively.
 * Thank you once again for your understanding and patience.
 * Best regards,

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

The topic ‘PHP Deprecated: preg_replace()’ is closed to new replies.

 * ![](https://ps.w.org/directorist/assets/icon-256x256.gif?rev=3185058)
 * [Directorist: AI-Powered Business Directory, Listings & Classified Ads](https://wordpress.org/plugins/directorist/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/directorist/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/directorist/)
 * [Active Topics](https://wordpress.org/support/plugin/directorist/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/directorist/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/directorist/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [rashed848](https://wordpress.org/support/users/rashed848/)
 * Last activity: [1 year, 11 months ago](https://wordpress.org/support/topic/php-deprecated-preg_replace/#post-17859913)
 * Status: resolved