Skip to content
This repository has been archived by the owner on Feb 23, 2019. It is now read-only.

Compilation failed: nothing to repeat at offset 0 in BrowserCache_Plugin.php on line 247 #545

Open
mahakala opened this issue Dec 3, 2017 · 1 comment

Comments

@mahakala
Copy link

mahakala commented Dec 3, 2017

[03-Dec-2017 15:35:53 UTC] PHP Warning: preg_match(): Compilation failed: nothing to repeat at offset 0 in /htdocs/wp-content/plugins/w3-total-cache/BrowserCache_Plugin.php on line 247

@nigrosimone
Copy link
Collaborator

nigrosimone commented Dec 3, 2017

this error is caused by preg_match on https://github.com/szepeviktor/w3-total-cache-fixed/blob/v0.9.5.x/BrowserCache_Plugin.php#L247, you should investigate on the content of $exceptions.

$exceptions can be setted by browsercache.replace.exceptions or the result of get_replace_querystring_extensions():

public function get_replace_querystring_extensions( $config ) {

In both cases, is a user config. See your: admin panel > browser cache settings ... something is wrong.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants