Tagged: Configuration
- AuthorPosts
- September 17, 2021 at 8:16 am #42866KarlGuest
Hello, on local host, I have debug configured to be TRUE in wp-config.
With W3 Total Cache active, I see this message:
Warning: preg_match(): Compilation failed: quantifier does not follow a repeatable item at offset 0 in C:\wwwroot\fin-calcs4\wp-content\plugins\w3-total-cache\PgCache_ContentGrabber.php on line 952
Version 2.1.8 | By BoldGrid | View details
September 17, 2021 at 8:47 am #42872Marko VasiljevicKeymasterHello Karl,
Thank you for your question and I am happy to assist you with this.
It seems you have an invalid regex in Performance>Page Cache>Advanced>”Never Cache following pages” filed.
Can you please share which URis are excluded from page caching in that field?
Thanks!September 17, 2021 at 11:19 am #42873KarlGuestThanks for the reply Marko.
I don’t think I’ve added any. Here’s what’s there:
wp-.*\.php
index\.php
*?tve=true
*?cpo_options=1
*?et_fb=1September 17, 2021 at 11:21 am #42879Marko VasiljevicKeymasterHello Karl,
wp-.*\.php index\.php
These are default values. W3 Total Cache does not cache pages with query strings by default so you should remove the following:
*?tve=true *?cpo_options=1 *?et_fb=1
Make sure to save all settings and purge the cache once the lines above are removed.
Thanks! - AuthorPosts
- The topic ‘W3 total cache – invalid regex’ is closed to new replies.