Title: PHP error (preg_match)
Last modified: January 29, 2021

---

# PHP error (preg_match)

 *  Resolved [Chris J. Zähller](https://wordpress.org/support/users/seezee/)
 * (@seezee)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/php-error-preg_match/)
 * Seeing this in my error logs:
 * `PHP Warning: preg_match(): Unknown modifier '1' in /var/www/html/wp-content/
   plugins/blackhole-bad-bots/inc/blackhole-helpers.php on line 101`
 * Thought you should know.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-error-preg_match%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/php-error-preg_match/#post-13977790)
 * Thanks will get it fixed up next version.
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/php-error-preg_match/#post-14038566)
 * Looking into this, I am not seeing any `preg_match()` or similar on line 101 
   of said file. Just wondering which version of the plugin you are using, and if
   in Multisite environment?
 *  Thread Starter [Chris J. Zähller](https://wordpress.org/support/users/seezee/)
 * (@seezee)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/php-error-preg_match/#post-14038619)
 * It was whatever the latest version was eleven days ago, and it’s not multisite.
 * I just checked the logs again, and the error stopped after 2020-08-13, so apparently
   an update fixed it.
 * Closing ticket.
    -  This reply was modified 5 years, 3 months ago by [Chris J. Zähller](https://wordpress.org/support/users/seezee/).
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/php-error-preg_match/#post-14038638)
 * Thanks for investigating, [@seezee](https://wordpress.org/support/users/seezee/).
   Glad to hear the issue is resolved. Feel free to re-open should it resurface.
 *  Thread Starter [Chris J. Zähller](https://wordpress.org/support/users/seezee/)
 * (@seezee)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/php-error-preg_match/#post-14038657)
 * Di nada. Sorry I didn’t check those dates. Could have saved us both the trouble.

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

The topic ‘PHP error (preg_match)’ is closed to new replies.

 * ![](https://ps.w.org/blackhole-bad-bots/assets/icon-256x256.png?rev=1471215)
 * [Blackhole for Bad Bots](https://wordpress.org/plugins/blackhole-bad-bots/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/blackhole-bad-bots/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/blackhole-bad-bots/)
 * [Active Topics](https://wordpress.org/support/plugin/blackhole-bad-bots/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/blackhole-bad-bots/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/blackhole-bad-bots/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [preg_match](https://wordpress.org/support/topic-tag/preg_match/)

 * 5 replies
 * 2 participants
 * Last reply from: [Chris J. Zähller](https://wordpress.org/support/users/seezee/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/php-error-preg_match/#post-14038657)
 * Status: resolved