ContextInstitute / bfcom

http://bfn.context.org
GNU General Public License v3.0
4 stars 1 forks source link

Upgrading to BuddyPress 4.1 #95

Open rgilman opened 5 years ago

rgilman commented 5 years ago

There is a new version of BuddyPress available. You can read about it at BuddyPress 4.0.0 “Pequod”.

Now that I've updated the BP template files in the master, you should pull the new master and update the BP plugin by going to Admin Dashboard > Plugins.

DavidScottBernstein commented 5 years ago

Done (I think). Got the following error message after trying to update the plugin: Update Failed: ?> {"success":true,"data":{"update":"plugin","slug":"buddypress","oldVersion":"Version 3.2.0","newVersion":"Version 4.0.0","plugin":"buddypress\/bp-loader.php","pluginName":"BuddyPress"}}

After restarting WordPress it says it's running 4.0.0 so I think I'm okay.

iangilman commented 5 years ago

I've now done this as well.

rgilman commented 5 years ago

The BuddyPress team put out a quick bug-fix update, BP 4.1, that doesn't affect any of the templates. I recommend that we all update to 4.1, which you can do as usual by going to Admin Dashboard > Plugins.

iangilman commented 5 years ago

I've updated mine to BP 4.1. @DavidScottBernstein Please do yours as well.

DavidScottBernstein commented 5 years ago

Done. FYI: When updating to BuddyPress 4.1.0 I got this error message: Update Failed: ?> {"success":true,"data":{"update":"plugin","slug":"buddypress","oldVersion":"Version 4.0.0","newVersion":"Version 4.1.0","plugin":"buddypress\/bp-loader.php","pluginName":"BuddyPress"}}

After restarting Wordpress, I found the BuddyPress 4.1.0 plugin was correctly installed. I suspect the error was due to the extra "?>" somewhere on my homepage. I don't think this is a problem we have to be concerned about. When I have time I'll see if I can find the extra "?>" and delete it.

iangilman commented 5 years ago

Interesting; you seem to be consistently getting the same error message. I don't know that it's necessarily due to an extra ?> but I can't say what it is... it hasn't been happening for me.

rgilman commented 5 years ago

I'm suspicious that it's a caching issue. @DavidScottBernstein, do you have something in the upper right of your Local Overview panel that looks like this?

screen shot 2018-12-13 at 9 58 17 am

If you do, you should turn Dev Mode on, like this:

screen shot 2018-12-13 at 9 58 34 am

DavidScottBernstein commented 5 years ago

I tried upgrading Flywheel from version 2.34 but after it completes it still says it's running version 2.34 and prompts me again to upgrade.

The Dev Mode setting on version 2.34 is under preferences -> New Site Defaults in the pane "Preferred Environment Defaults" and was on.

Since everything works after restarting Wordpress I'm not concerned about the error message.