WP-United v0.8.5 (and earlier) with WordPress 3.0

Filed under: Troubleshooting — Jhong at 5:50 pm on Saturday, June 19, 2010

WordPress 3.0 is out and WP-United v0.9 is not yet ready.

I will push out an interim of WP-United soon that will work better with WordPress 3.0. However, if you have already upgraded your WordPress, you will receive errors about make_clickable due to a few formatting changes in WordPress files (or a blank page).

To fix these, go to your phpBB root folder and open wp-united/wp-integration-class.php.

Go to line 341. It should look like this:

$cSet = str_replace('require (ABSPATH . WPINC . ' . "'/$fName","$cFor // ",$cSet);

Replace that line with the following code:

$finds = array(
'require (ABSPATH . WPINC . ' . "'/$fName",
'require( ABSPATH . WPINC . ' . "'/$fName"
);
$cSet = str_replace($finds,"$cFor // ",$cSet);

Then clear your cache (phpBB ACP -> Purge Cache).

This will fix your errors and allow you to use or install WP-United v0.8.5 with WordPress 3.0.

screenshot

phpBB inside WordPress 3

However, please note:

  • I haven’t done detailed testing yet with the new default theme (although it seems to integrate fine for me with CSS Magic on.)
  • The new WordPresss multi-user blog features won’t work with WP-United yet
  • Unlikely, but some other features may be broken — if you find them, please let me know

16 Comments »

Comment by manoj

21 June 2010 @ 11:31 pm

Can’t wait for v0.9! One question though – Will v0.9 be able to harness the multi-user features of WP3.0?

Comment by Jhong

22 June 2010 @ 2:24 am

Manoj — that is my plan, but it depends on how long it takes to put it all together.

My plan is to remove the current “per user blogs” feature from WP-United and instead use the multi-site blogs feature.

Comment by reem

22 June 2010 @ 3:05 am

> “I will push out an interim of WP-United soon that will work better with WordPress 3.0. ”

The migration process to v0.9 will include bot the upgrade from v0.8.5 as well as the above mentioned interem release ?

Comment by Jhong

22 June 2010 @ 9:10 am

To be honest I’m still not sure about the interim release as the above fix seems to be working well with WordPress 3 for now. The other remaining bugs in v0.8.5 are fairly minor.

I think if I just focus on v0.9, I can get that out quicker than having to produce two versions.

Maybe a pre-release version of v0.9 without the multi-site/multi-user blogs support will come first.

I’m not 100% sure yet as while a lot of v0.9 is completed, a lot of it is still on the cutting board. I’ll have a clearer picture in a couple of days when I try to make it installable.

Comment by nonegiven

23 June 2010 @ 11:17 am

Good news …

how does this pre- v0.9 release play with the latest Buddypress?

Has anyone tried?

Thank you.

Comment by nonegiven

23 June 2010 @ 11:19 am

Reading again, I guess I had better ask a different separate questions:

• does it work with a single user WP+BP as it does not work with a multi-user WP?

Comment by Jhong

23 June 2010 @ 5:50 pm

Haven’t tried with BuddyPress (yet). I’d be interested in feedback if you try it.

Comment by Worzel

27 June 2010 @ 7:05 pm

Thanks for the great work you are doing. Looking forward to trying out v0.9.

Comment by t0kneneng

13 July 2010 @ 10:09 am

Hi jhong thanks for the wonderful tool, I have this error on my site after upgrade to wp 3.0 and your new release Fatal error: Call to undefined function get_pagination() in /home/.seurat/h_t0kneneng/t0neneng.net/wp-content/themes/t0kneneng/index.php on line 99

How to fix this?

Comment by FrankPereiro

13 July 2010 @ 9:37 pm

I still have this problem even with the file updated.

Comment by FrankPereiro

14 July 2010 @ 7:37 am

I’ve followed the instructions here but still get this error message:


Fatal error: Cannot redeclare make_clickable() (previously declared in /home/frankpereiro/planeta-beisbol.com/pizarra/includes/functions_content.php:643) in /home/frankpereiro/planeta-beisbol.com/wp-includes/formatting.php on line 1373

Comment by FrankPereiro

14 July 2010 @ 8:55 am

I went trough all the install again and got this error:

Fatal error: Cannot redeclare wp_unregister_globals() (previously declared in /home/frankpereiro/planeta-beisbol.com/wp-includes/load.php:16) in /home/frankpereiro/planeta-beisbol.com/wp-includes/load.php on line 31

Comment by FrankPereiro

14 July 2010 @ 9:01 am

Funny thing, I disabled all my plugins and it worked!!!

Now I have to figure which plugin was bugging the wp-united install…

Comment by rogb.us

22 July 2010 @ 4:24 am

Wow, this sounds exciting, thank you!!! I’ll donate sometime after I get install it on a new site! :)

Comment by Corey.O

2 August 2010 @ 2:42 pm

Hi Jhong, how long until the new release?

Comment by fm2011

8 August 2010 @ 6:34 pm

Io have a problem, at last step there is this mistake:

“ERROR! WP-United could not apply the integration settings
The server did not complete the request. It returned a blank page. Please temporarily enable PHP error display so we can see what the error is, or try increasing your server’s memory limit. Then, click Retry.Automatic plugin fixes are disabled. Click here to try again with them enabled »”

RSS feed for comments on this post.

Leave a comment

You must be logged in to post a comment.