Problem switching from buddypress legacy group forums to bbpress – attachments
-
Hey there,
lost attachment links in posts after switching from legacy group forums to bbpress forums!
Here is what I did: After having upgraded to bp 1.8 I got errors for group forum pages regarding groups created after the update, still using the legacy group forums (only removed server urls):
Warning: substr() expects parameter 1 to be string, array given in ***/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 776 Warning: strpos() expects parameter 1 to be string, array given in ***/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 783 Warning: explode() expects parameter 2 to be string, array given in ***/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php on line 789 Warning: Invalid argument supplied for foreach() in ***/wp-content/plugins
I found out that the group forums were recommended to be replaced by bbpress group forums so I followed this guide: and it worked, except for all attachments were not in the forum posts anymore.
For attachments I had used the U Forum Buddypress Attachments plugin.
Since we need these attachments I was wondering whether anyone had a clue as to how to transplant the existing attachments to the recommended bbpress 2.3 group forums?
Likely would mean to transfer the “U Forum Buddypress Attachments” structure to something like ?
For now, I had to roll back the database to before the switch. So now I do get above error message again, but at least forums with attachments are working!
Any help regarding the move from legacy group forums to bbpress forums with the attachments would be highly appreciated! 🙂
-
Okay, at least I found out roughly whats happening: The buddypress legacy group forums (which I have since I started a community originally with buddypress 1.6x) is working fine in 1.8. However, newly created legacy group forums in 1.8 do give above error notice and the forums do not work at all.
Was this mentioned somewhere in the update notes? If not, it should be, because it created quite some trouble.
Even worse then is what I described above, that I can’t simply switch and convert to the new bbpress 2.3 group forums, since then all attachments are lost to normal user interface (and since we have several hundred documents attached, manually reassigning them somehow is not an option).
For now, I had to switch back to buddypress 1.7.3 where newly created groups have functioning forums and the attachments using U Forum Buddypress Attachments plugin are included.
I had a rough look at the sql database and can’t imagine an easy quick way to migrate attachments from U Forum Buddypress Attachments plugin to e.g. GD bppress attachments, which would work with bbpress 2.3 group forums.
Does anyone have a clue whether and how that would be possible in an automated way? Otherwise I can’t update buddypress without losing functionality of either creating new groups with working forums or losing all previous attachments in posts!
I got almost same issues with 2.0.1
I got almost same issues with 2.0.1
- The topic ‘Problem switching from buddypress legacy group forums to bbpress – attachments’ is closed to new replies.