Title: PHP Warning: BrowserCache.php on line 191
Last modified: August 22, 2016

---

# PHP Warning: BrowserCache.php on line 191

 *  [Be Dark](https://wordpress.org/support/users/b_dark/)
 * (@b_dark)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/php-warning-browsercachephp-on-line-191/)
 *     ```
       [29-Oct-2014 01:21:02 UTC] PHP Warning:  preg_match(): Unknown modifier 'p' in /home/xxxxx/public_html/wp-content/plugins/w3-total-cache/lib/W3/Plugin/BrowserCache.php on line 191
       [29-Oct-2014 01:21:02 UTC] PHP Warning:  preg_match(): Unknown modifier 'w' in /home/xxxxx/public_html/wp-content/plugins/w3-total-cache/lib/W3/Plugin/BrowserCache.php on line 191
       ```
   
 * who can i fix it?
 * [https://wordpress.org/plugins/w3-total-cache/](https://wordpress.org/plugins/w3-total-cache/)

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

 *  [dhunink](https://wordpress.org/support/users/dhunink/)
 * (@dhunink)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/php-warning-browsercachephp-on-line-191/#post-5430559)
 * Found any solution?
 *  [DFC005](https://wordpress.org/support/users/dfc005/)
 * (@dfc005)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/php-warning-browsercachephp-on-line-191/#post-5430567)
 * I’m having the same issue here.
 * Did either of you find a resolution?
 *  [dhunink](https://wordpress.org/support/users/dhunink/)
 * (@dhunink)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/php-warning-browsercachephp-on-line-191/#post-5430568)
 * Nope, and believe me: I’ve tried.
    Sadly the team of W3 Total Cache is not responding
   on any of the questions regarding this issue..
 *  [DFC005](https://wordpress.org/support/users/dfc005/)
 * (@dfc005)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/php-warning-browsercachephp-on-line-191/#post-5430569)
 * That’s a shame. I found my error_log was around 20gig the other day, filled with
   the above error.
 * Might have to have quick look myself into the issue.
 *  [DFC005](https://wordpress.org/support/users/dfc005/)
 * (@dfc005)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/php-warning-browsercachephp-on-line-191/#post-5430570)
 * I was able to suppress this error from happening by changing the following. Doesn’t
   seem have had any adverse side effects (yet!).
 * Change Line 191 in BrowserCache.php from…
 * `if (trim($exception) && preg_match('/' . $exception . '/',$test_url))`
 * to…
 * `if (trim($exception) && preg_match('/' . preg_quote($exception, '/') . '/',$
   test_url))`

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

The topic ‘PHP Warning: BrowserCache.php on line 191’ is closed to new replies.

 * ![](https://ps.w.org/w3-total-cache/assets/icon-256x256.png?rev=1041806)
 * [W3 Total Cache](https://wordpress.org/plugins/w3-total-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/w3-total-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/w3-total-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/w3-total-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/w3-total-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/w3-total-cache/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [DFC005](https://wordpress.org/support/users/dfc005/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/php-warning-browsercachephp-on-line-191/#post-5430570)
 * Status: not resolved