• Resolved adriantbb

    (@adriantbb)


    Hi, we have a problem on one of our websites with minify option enabled, this message is appearing in every post.
    PHP message: PHP Warning: preg_match(): Compilation failed: unmatched parentheses at offset 39 in /var/www/clients/client1/web6/web/wp-content/plugins/w3-total-cache/Minify_Plugin.php on line 977

    I debugged a little on Minify_Plugin.php line 977 and find that $expr is returning sitemap_index.xmlmain-sitemap.xslsitemap?\.xml?[a-z0-9_\-]*sitemap[a-z0-9_\-]*\xml|xsl)?
    It’s closing a parentheses but never opens it.

    We have last wordpress version and last plugin version.
    Can you help us ? Thanks

    • This topic was modified 2 years, 12 months ago by adriantbb.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @adriantbb

    Thank you for reaching out and I am happy to assist you with this.
    Can you please share if you added something to Performance>Minify>Advanced>Never minify the following pages:

    Thanks!

    Thread Starter adriantbb

    (@adriantbb)

    Hi @vmarko,

    Code in that configuration was wrong, didn’t know that exists.

    It’s solved, thank you and have a great day.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Minify php warning’ is closed to new replies.