First post missing in topic after upgrade to WordPress 4.0 URGENT
I have an urgent problem. After I updated WordPress to 4.0 I noticed, that all the first posts in topic disappeared, so the first “comment” that is seen after opening a topic is actually the first reply..
Did anyone notice this? Does anyone have an idea how to solve this?
Primarily this topic is about an issue with S2Member, S2Member have created an issue to track this here:
If you use the “Search Exclude” plugin, go and subscribe to this topic on their support forum:
If you use the “Relevanssi” plugin, go and subscribe to this topic on their support forum:
If you don’t use any of these plugins please create a new topic:
I have a similar problem after updating to wordpress where the threads in the boards are missing.
I made a quick fix, I added this code into content_single_topic.php under bbpress/templates/default/bbpress
<?php echo "<div style=clear></div>"; ?> <?php echo "<br />"; ?> <?php bbp_topic_content(); ?>
<?php else : ?> <?php bbp_topic_tag_list(); ?> <?php bbp_single_topic_description(); ?> <?php if ( bbp_show_lead_topic() ) : ?> <?php bbp_get_template_part( 'content', 'single-topic-lead' ); ?> <?php endif; ?>
<?php if ( bbp_has_replies() ) : ?> <?php bbp_get_template_part( 'pagination', 'replies' ); ?> <?php bbp_get_template_part( 'loop', 'replies' ); ?> <?php bbp_get_template_part( 'pagination', 'replies' ); ?> <?php endif; ?>
It shows the content, but it is not properly formatted.
Any other fixes?
I’m not able to duplicate this on a vanilla bbPress installation. I’m guessing y’all have a similar plugin running that’s filtering the single topic query.
Compare notes and report back; if there’s a regression in WordPress core, it’s critical that we get it fixed together.
I’ve got the same problem all my topics are just gone but they are still there in the back end they’re just aren’t showing up in the front-end.
I only updated to 4.0 and other than BBpress I don’t have much other plugins installed here’s a list:
I do think it is a conflict with the code and the newer version of WordPress as I only updated wordpress to 4.0 and the errors started to appear.
How come I can’t post any replies, I tried 4 or 5 times now and they don’t appear!
Same problem after updating to 4.0. S2Member is the cause on my end, when I disable it the first/original topic shows, enabled it disappears.
I also have s2member. Of course, I cannot switch it off 🙁
I downgraded to the last WordPress version and BBPress went back to normal (although I had to reset permalinks and repair the forums after downgrading WordPress.)
S2 had a recent update 16th August http://www.s2member.com/changelog/
(s2Member/s2Member Pro) bbPress Forum Compatibility Woohoo! This release of s2Member improves s2Member’s compatibility with bbPress Forums/Topics/Replies. It is now possible to protect a Forum with s2Member, and have all Topics within that Forum protected automatically. No changes necessary to enable this feature. If you protect a bbPress Forum, this is how s2Member will behave automatically. It’s a parent/child relationship that s2Member is now compatible with.
WARNING: If you have been running s2Member together with bbPress in the past, this change may impact you. Any bbPress Forums that are protected by s2Member will now also protect all Topics within that Forum. This improvement also impacts s2Member’s Alt. View Restrictions. If you are using s2Member’s Alt. View Restrictions, any bbPress Topics that live within a protected Forum will automatically be hidden from Alternative Views configured with s2Member.
I’d suggest creating a new forum with some topics and replies to have a play with, see what happens when you protect it with S2Member as a “clean” forum that has never been touched by a previous version of S2 and see how that goes, with some luck the results might help you narrow down a resolution for your existing forums.
Oh! But then again if everything “works” with WordPress 3.9.2 that might be useless advice above, maybe worth checking anyway 😉
@aptharsia Could you please tell us exactly what you have to do to make it work after the downgrade? I am quite in a hurry and would want the site to be broken for too long.
Same issue here … almost. I see:
- In forums I see only sticky topics, the rest are missing
- Within topics I see no replies.
I have removed all bp-default template files from my theme and disabled all plugins to no avail. Could this be an issue with how bbpress loops through topics and replies?
I used this tutorial to downgrade WordPress:
After you downgrade, I had to go to my permalink settings and click save to get the forum to show up again. After that the forum pages worked and topics were being shown correctly. If you have a cache, clear everything. Strangely the freshness of last topic/reply is now wrong but all the topics are there.
Theoretically based on bbPress’ topics, “sticky topics” are the same as standard topics with an extra flag for the type and CSS, I’d expect S2 to handle both these topic types the same way, of course it depends on the if the topic is in the same protected forum or if it is a “global sticky” not in the same forum.
If you have either type of sticky topic I’d suggest you also check if they are protected or are public.
I have a similar problem. After upgrading to 4.0, my forums still show the correct number of topics and posts in the forums listing. However, if I visit any forum, I get the “Oh bother! No topics were found here!” message, and if I visit any existing post I get a reply box but can’t see the post itself.
I’m not running S2Member. The forums are Private.
Ok, the problem seems to be something to do with Relevanssi, the search plugin.
If it’s enabled, my forum content disappears as above. If it’s disabled, all is well.
Would be glad if anybody else can confirm this?
Having a similar problem – upgraded to WP 4.0 (running s2memberpro and bbpress forums plugins) and the text creating each topic has become hidden. The topic and all replies beneath it are visible, but the top entry that created the topic is not.
I am not proficient in coding and would appreciate any help. As our site has premium membership, I cannot disable either the forum nor the member plugins as a work around.
Okay, another data point here.
After receiving an auto-update to WP 4.0, bbPress was a mess. The forum index was visible, but each forum was empty of topics (except for a super sticky topic; for some reason, that was still visible). All topics/replies still visible in wp-admin, and freshness on the front-end reported properly. Basically, everything was still there, but not visible for some reason.
Through process of elimination, I found that the Relevanssi plugin was preventing topics/replies from showing on the front end of the site.
Disabling that plugin fixed that problem. I believe they updated their plugin last night, but the current version still conflicts with bbPress.
After this, I realized that the FIRST/ORIGINAL post in every topic was still missing. Again, through process of elimination, I found that the Search Exclude plugin was creating this problem.
Disabling Search Exclude solved the missing first post problem.
I have no idea what the conflicts are, but I will be adding this reply and a link to this discussion in the support forums for these two plugins.
Yes, I have the same problem as Tyler with Relevanssi (including the latest version), and I’m not running Search Exclude.
Note: I am running the default twenty fourteen theme and having the problem I referenced above.
It looks that the problem is also with s2member. Has anybody contacted them?
I’m lead lead dev for s2Member. I’m not aware of a specific problem at this time. However, I am opening an issue here so that we can investigate this also. I will update once we know more 🙂 See: https://github.com/websharks/s2member/issues/321
Please feel free to post any additional details (e.g. ways to reproduce the issue) at GitHub, should you find any further evidence of this being the fault of s2Member.
@jaswsinc Thanks! I just downgraded to WP 3.9.2. Everything works again.
Can confirm Relevanssi causes this problem.
There is a thread on the plugin’s WordPress support site. The developer has provided a fix that partially fixes the problem. Waiting to hear back on a full solution.
Thanks to kona for starting that thread.
- You must be logged in to reply to this topic.