Forum Replies Created
The import was completed successfully.
Yay, did you use bbPress 2.6-alpha?
The imported topics still remain uncategorised though. I had a look at the support ticket at https://bbpress.trac.wordpress.org/ticket/2380 . I tried the repair tool, but it did not work too.
You need to run each of the repair tools and that should fix those up.
That Trac ticket is quite old and really related to any of these issues.
I had a widget on my theme’s sidebar which displayed the recent posts feed from the forums. The topics were visible there too.
You’ll need to add bbPress “Recent Topics” widget to your theme, do that from the customizer.
I am ready to take the pain to categorise the topics themselves. Is it in an importer bug that the topics were not categorised? How can I categorise them manually?
It shouldn’t be a bug, but I’m not entirely sure what you mean by “I categorise them manually”?
By this do you mean that your topics are not forums?
Do your topics not have topic-tags categorising each topic?
bbp_setup_current_userissue is not caused by bbPress, bbPress alerts you of this issue though because it is important for bbPress. If you have disabled ALL your plugins and the error remains you MUST switch the theme to Twenty Thirteen (or Twenty Fourteen, Fifteen, Sixteen etc).
Once you know what plugin or theme causes the issue then you can contact the author and let them know they need to fix it and problem solved.
Firstly, you should use bbPress 2.6-alpha, it has a heap of importer improvements, you can get it from this page https://bbpress.org/download/
membersare the only SMF tables you need, these might also be prefixed with
Use this to get rid of that silly
p.s. We’ll get that removed from bbPress and/or WordPress proper one of these days ;P
Use bbPress’ “Private Forums”:
* Private – Only logged in registered users with a forum role can see these forums
Excellent, glad that worked.
The full details and code for bbPress’ fix is here if that kind of thing interests you 🙂
Hmm, strange indeed, I’ve not tried Jetpack with an Anonymous forum.
If you want to track this down further creating a ticket on our bug tracking site with some detailed information on how your site is setup, what versions and what features you have enabled of WordPress, bbPress, Jetpack etc and how we’d recreate/simulate your setup.
Also if you find just a Jetpack issue you can create a ticket for that here:
Is the repair tools compatible with php7??
Does it work if you run all the repair tools except “Recalculate the position of each reply”?
bbPress compatible with PHP 7 and HHVM
The warnings you see are from a 3rd party library, these issues would only affect you if you are importing forums from another forum software package.
You can see our Travis CI PHP 7 tests here: https://travis-ci.org/ntwb/bbPress/jobs/147321446
(We don’t have 100% code coverage yet but we are progressing nicely)
Does it work if you use the dropdown from the bottom of the list instead?
It should, theres a bug with thats been fixed for this in the next bbPress release 🙂
Yes, sorry, “Recalculate the position of each reply” is the one I meant, don’t worry about running it. 1) It will take forever and 2) bbPress 1.x never supported “threaded replies” which is what its trying to repair.
There is no wp-cli commands sadly, it’s a great idea though :+1
Running each tool one by one is the only way at this stage, run each of the “low” impact tools first.
Do not run the “Reply menu order” repair tool though, this is pretty broken at the moment
Nice catch, I didn’t even think of BuddyPress and it’s 22.214.171.124 version, nice catch Pascal 🙂
@oldshaghat Ha, there we go, on our bug tracker already, glad we were on the right path at least. Great either your workaround or the one mentioned in the ticket until fixed 🙂
$content_dir (from the constant ‘WP_CONTENT_DIR’) resolves as:
content_url gives mydomain/wp-content
and the file location starts out as :
That last path, I’d expect that to be
wp-contentwhich is before
Plugins are “typically” installed unto the
wp-contentdirectory, WordPress has some constants available to change these, typically
WP_PLUGIN_URLare not used anywhere near as much, maybe the Openshift configuration has these defined in the
wp-config.phpfile in the root directory?
This probably needs further investigation by bbPress, mainly to check the constants
WP_PLUGIN_URLso these can be used standalone when
WP_CONTENT_URLare not used at all.
@oldshaghat can you check in your
wp-config.phpif any of the above constants are defined please?
if it hangs up and I restart, should it continue from where it stopped?
Yes, with a caveat, if the importer is processing
100rows at a time, you may end up with some duplicates as it will re-import that chunk again.
The latest version of bbPress is 2.5.10, 2.6 will be the next major release and 126.96.36.199 does not, nor will probably ever exist…
They’re all available from https://bbpress.org/plugins/legacy/
bbPress queues up its CSS stylelsheet using WordPress’ standard functions
wp_enque_stylesheet()so it shouldnn’t cause any issues.
I’ve never tried Redhat’s Openshift, nor even knew it was a thing until now.
Do they use a “standard” copy of WordPress or is it modified somehow?
What versions of WordPress and bbPress are you having this issue with?
The “Notice: bbp_setup_current_user was called incorrectly.” will be caused by either your theme or a plugin.
Try switching theme to Twenty Fifteen to see if the error is fixed, if not deactivate all your plugins except bbPress and then reactivate each plugin one-by-one until the error appears again, then you’ll know which one is causing the problem.
What do you have your permalinks set to?
Did you run the “repair tools” to repair the forums metadata after your “manual import”?