• [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://www.ads-software.com/plugins/w3-total-cache/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Found any solution?

    I’m having the same issue here.

    Did either of you find a resolution?

    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..

    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.

    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.