Skip to content Skip to sidebar

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 -
- 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 -

Supporter timezone: Europe/Vienna (GMT+02:00)

This topic contains 3 replies, has 1 voice.

Last updated by Bigul 1 year, 1 month ago.

Assisted by: Bigul.

Author Posts
November 23, 2024 at 4:14 am #16435552

emilR

Background of the issue:
I am trying to display BetterDocs 'docs' or posts both in the frontend and backend. The post count indicates there should be multiple posts, but they are not showing. Deactivating and activating the WPML plugin temporarily resolves the issue until new posts are published. The issue is visible on the homepage in the BetterDocs widgets. The issue is not specific to BetterDocs as it also occurs in the backend. Link to a page where the issue can be seen: hidden link

Symptoms:
Posts are not showing in both frontend and backend despite the post count indicating multiple posts. The issue reoccurs after publishing new posts.

Questions:
Why are the posts not showing in BetterDocs despite the post count indicating they should?
Why does deactivating and activating WPML temporarily resolve the issue?

November 24, 2024 at 7:26 am #16436688

Christopher Amirian
WPML Supporter since 07/2020

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

I will try to answer the question before assigning the ticket to one of my colleagues.

I checked the debug info and the low usage of PHP memory limit by your WordPress installation might be a factor that needs to be fixed first.

The minimum requirement is 128M but I suggest that you increase it to 512M: https://wpml.org/home/minimum-requirements/

You can add this by adding the code below to "wp-config.php" file of your WordPress installation root folder:

/** Memory Limit */
define('WP_MEMORY_LIMIT', '512M');
define( 'WP_MAX_MEMORY_LIMIT', '512M' );

Please add the code above the line below:

/* That's all, stop editing! Happy blogging. */

After that, please follow the steps below:

- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Go to "WordPress Dashboard > WPML > Support > Troubleshooting (link)".
- Click the buttons annotated in the screenshot below one by one and wait for each button process to finish:
https://wpml.org/wp-content/uploads/2020/10/7206941-buttons.png

Check if the problem happens again after a while.

Thanks.

November 28, 2024 at 2:50 am #16452212

emilR

I increased the memory limit but that did not help.

In the troubleshooting options the "set language information" button solves the issue momentarily(like deactivating and activating the WPML plugin), but as soon as a new post is published or translated the issue happens again.

December 2, 2024 at 5:04 am #16464163

Bigul

Hello,

Thank you for the updates. Sorry for the late response because of the weekend. We hope you are following the steps suggested in this documentation - hidden link

Please update the newly created post after a minor edit in the content (to refresh the translation settings), and then its translation after that make sure you are getting the expected or not.

--
Thanks!

Bigul

The topic ‘[Closed] Posts now showing when using BetterDocs’ is closed to new replies.