Better WordPress Minify
[resolved] Conflict with Simple Press forums (3 posts)

  1. mayuxi
    Posted 3 years ago #


    Simple Press forum (http://simple-press.com/) doesn't work with BWP-Minify (problem occurs only on forum page). It cause browser "freeze" for few minutes, till "stop this script" window show up. I tried to add all possible exclusion to script area, now there is no "freeze", but still a lot of same error message in the header (around 10):
    Warning: Invalid argument supplied for foreach() in /wp-content/plugins/bwp-minify/includes/class-bwp-minify.php on line 627

    Is it possible to totally disable BWP-Minify for Simple Press? For example with this trick?



  2. mayuxi
    Posted 3 years ago #

    Anybody? Please!

  3. mayuxi
    Posted 3 years ago #

    Anyway, my friend helped me to find a temp. solution, a hard fix, for my problem:

    add this in bwp-minify.php before main code of plugin

    // disable plugin on forum pages (by wangwei)
    if (preg_match('<code>^/forum/</code>', $_SERVER['REQUEST_URI'])) return;

    you may change /forum/ to any page, you want to disable BWPM

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Better WordPress Minify
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic