Title: Syntax Error in plugin
Last modified: August 22, 2016

---

# Syntax Error in plugin

 *  Resolved [mmlevin](https://wordpress.org/support/users/mmlevin/)
 * (@mmlevin)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/syntax-error-in-plugin/)
 * I am running 4.1, which has introduced a bug from this plugin. I notice that 
   all sorts of sites, all over the place, that use this plugin are experiencing
   this. Here is the error message I get on pages:
    Warning: preg_match(): Delimiter
   must not be alphanumeric or backslash in /home/weglev/public_html/wp-content/
   plugins/who-hit-the-page-hit-counter/count_who_hit.php on line 430
 * I’ve looked at the code and cannot figure out what it wants, but I think that
   the /i modifier causes the i to be treated as a delimiter instead of a modifier.
   Not sure, but that’s my opinion.
 * [https://wordpress.org/plugins/who-hit-the-page-hit-counter/](https://wordpress.org/plugins/who-hit-the-page-hit-counter/)

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

 *  [dwieder](https://wordpress.org/support/users/dwieder/)
 * (@dwieder)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/syntax-error-in-plugin/#post-5681523)
 * I had a user report the same problem. For now I have disabled this plugin. Hope
   it gets resolved soon.
 *  Plugin Author [Lindeni Mahlalela](https://wordpress.org/support/users/mahlamusa/)
 * (@mahlamusa)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/syntax-error-in-plugin/#post-5681583)
 * The preg_match() issue has been fixed on version 1.4.1

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

The topic ‘Syntax Error in plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/who-hit-the-page-hit-counter_864476.
   svg)
 * [Who Hit The Page - Hit Counter](https://wordpress.org/plugins/who-hit-the-page-hit-counter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/who-hit-the-page-hit-counter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/who-hit-the-page-hit-counter/)
 * [Active Topics](https://wordpress.org/support/plugin/who-hit-the-page-hit-counter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/who-hit-the-page-hit-counter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/who-hit-the-page-hit-counter/reviews/)

## Tags

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

 * 2 replies
 * 3 participants
 * Last reply from: [Lindeni Mahlalela](https://wordpress.org/support/users/mahlamusa/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/syntax-error-in-plugin/#post-5681583)
 * Status: resolved