WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. mayuxi
    Member
    Posted 1 year ago #

    Hello!

    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?

    Thanks!

    http://wordpress.org/extend/plugins/bwp-minify/

  2. mayuxi
    Member
    Posted 1 year ago #

    Anybody? Please!

  3. mayuxi
    Member
    Posted 1 year 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

About this Topic