Forum Replies Created
-
In reply to: Topic and reply content not displaying
[SOLVED]
First I’d like to thank villagora and zaerl for their help!I have realized that the issue was that I had set the CPTs Forums, Topics and Replies to “Translate” in WPML settings. It was probably something I did when I installed bbPress and overlooked the fact after during my debugging.
For anyone else who is trying to run WPML and bbPress together please note that Forums cannot be translated with WPML. Instead, you must create a separate forum for each language.
Cheers!
In reply to: Topic and reply content not displayingWPML gives free licences to developers looking to make their themes or plugins compatible. Given this, it might be acceptable that I give you access to my CMS licence if it fixes the bbPress compatibility issue. What do you think?
In reply to: Topic and reply content not displayingzaerl,
Thank you for your help. Unfortunately, I now get a different but similar error (notice the addition of the ‘FOR’:
WordPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'FORCE INDEX FOR JOIN (PRIMARY, post_parent) WHERE 1=1 AND (wp_posts.ID = 647 OR ' at line 2]
SELECT SQL_CALC_FOUND_ROWS wp_posts.* FROM wp_posts JOIN wp_icl_translations t ON wp_posts.ID = t.element_id AND t.element_type IN ('post_topic') JOIN wp_icl_languages l ON t.language_code=l.code AND l.active=1 FORCE INDEX FOR JOIN (PRIMARY, post_parent) WHERE 1=1 AND (wp_posts.ID = 647 OR wp_posts.post_parent = 647) AND wp_posts.post_type IN ('topic', 'reply') AND (wp_posts.post_status = 'publish' OR wp_posts.post_status = 'closed') AND t.language_code='en' ORDER BY wp_posts.post_date ASC LIMIT 0, 15
I am still learning programming in WP and my SQL skills are pretty much non-existent.
In reply to: Topic and reply content not displayingHi Villagora,
Thank you so much for your reply! You are absolutely right, WPML is causing the problem. I have spent the whole day investigating hoping that I could write something meaningful here, however, that is not the case. I will contact WPML for further support and post back here if I hear anything that could be of use to other people.
Thanks again!
In reply to: Topic and reply content not displayingI hate to bump this, but I would love some direction on this.
At least some troubleshooting steps I have not yet taken.