Search

bbPress Showcase » Plugins by _ck_

Leaderboard

RSS

  1. pastorbobsforum
    pastorbobsforum

    member
    Joined: Aug '10
    Posts: 12

    offline

    Hello.

    I get this error when I activate the plugin
    Warning: ob_start() [ref.outcontrol]: output handler 'ob_gzhandler' cannot be used twice in /***/forum/my-plugins/bb-gzip-webpage-compression/bb-gzip.php on line 33

    If a deactivate bbPress Web Compression (bb-gzip) everything works fine.

    Any idea on how to fix this?

    Posted 1 year ago #
  2. _ck_
    _ck_

    senior admin
    Joined: Jul '06
    Posts: 908

    offline

    It's probably because of how I have to send headers when making the leaderboard views, somehow it's being called twice, maybe if you are using 1.x instead of 0.9

    Easiest workaround is probably to edit bb-gzip and put this before the last }

    remove_action('bb_send_headers', 'bb_web_compress',50);

    so it looks like this

    remove_action('bb_send_headers', 'bb_web_compress',50);
    }
    add_action('bb_send_headers', 'bb_web_compress',50);
    Posted 1 year ago #
  3. pastorbobsforum
    pastorbobsforum

    member
    Joined: Aug '10
    Posts: 12

    offline

    Hello.

    I am using bbPress 1.0.2 and your solution worked perfectly. Thank you.

    I guess than now you can update your plugin's status as compatible with the latest version of bbpress.

    Regards,
    Bob

    Posted 1 year ago #

RSS feed for this topic

Post a reply to “Leaderboard”

You must log in to post.

keep _ck_ coding >> donate $5 <<     Theme Switcher:
35 users online from in the past 30 minutes. 15 bots 20 guests
7,245 views today 8,426 yesterday 16,043 peak. Most at once 50 today 62 yesterday 131 peak. Visited today: Amylawrence, guava, JeffreyCasivant, wigbuy123, gdfddfs, nandao, _ck_, summerfortun
2,288 posts in 394 topics over 66 months by 430 of 2,167 members. Latest: watchessaleus, wigbuy123, JeffreyCasivant