This thread is resolved. Here is a description of the problem and solution.
Problem:
Translated versions of pages were redirecting to the default language for all the pages and posts.
Solution:
After detailed investigation, I found that "SEOPress Pro" plugin was creating this issue. Deactivating the plugin resolved the issue and everything went back to normal.
Note that "SEOPress" plugin is compatible with WPML, which was also active in the site, but the Pro version wasn't. So asked the client to contact plugin author since their base version is already working.
Relevant Documentation:
https://wpml.org/plugin/seopress/
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.
Tagged: Compatibility
This topic contains 8 replies, has 2 voices.
Last updated by darkoP-9 1 year, 8 months ago.
Assisted by: Waqas Bin Hasan.
Author | Posts |
---|---|
March 3, 2023 at 5:43 pm #13166237 | |
darkoP-9 |
Hi, pages: are translated and i see their strings ok. I don`t know why are they showing only default language. |
March 4, 2023 at 9:10 am #13169191 | |
darkoP-9 |
Hi, same thing on other website: Pages are translated, strings are ok. Yesterday was displaying fine. Please fix the issue. Pages: |
March 6, 2023 at 6:39 am #13175565 | |
Waqas Bin Hasan Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Hi, Thank you for contacting the support. I see that the "WP Memory Limit" is set to 40M. WPML requires a memory limit of at least 128MB while 256MB is recommended. See https://wpml.org/home/minimum-requirements/ for detailed information. You can set WP Memory Limit in your wp-config.php file by adding following code: define( 'WP_MEMORY_LIMIT', '128M' ); define( 'WP_MAX_MEMORY_LIMIT', '256M' ); Remember to add these lines before the line where it says: See https://wordpress.org/support/article/editing-wp-config-php/#increasing-memory-allocated-to-php for details. Increasing WP Memory may help improve the performance. Secondly, check following guides and see if you are not missing anything: - https://wpml.org/documentation/theme-compatibility/divi-builder/ If everything is in order, try the following troubleshooting options (see https://wpml.org/documentation/support/wpml-troubleshooting-options/ for details): Before running any steps, create a backup of your website and database. - Clear the Cache in WPML If none of the above helps, try the followings: IMPORTANT: Take full backup of your website and database beforehand. It is highly advised to try the following on a staging/dev site first, so your live website isn't compromised. - Deactivate all plugins except WPML and its addons and check for the issue. Please let me know if this helps resolve the issue. Or I'll try my best to further assist you on the matter. Regards. |
March 6, 2023 at 8:34 am #13176041 | |
darkoP-9 |
Hi, thank you very much for you reply. 1. I have added memory limit lines I haven`t seen any js errors in console. Please watch the video and you will understan what is the issue and how to fix it. Kind regards, |
March 6, 2023 at 11:21 am #13177843 | |
Waqas Bin Hasan Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Hi, Thank you for the updates. May I ask for admin access to your website to check the issue in detail? You can create a separate admin user for this purpose, which can be deleted afterwards. Also provide following detail to investigate/observe the issue: - detailed steps to reproduce the issue Remember to take full backup of your website and database before proceeding. However, a staging/test site is highly recommended, because I may need to try some changes/fixes on the site, which may cause conflicts with the live site otherwise. Please confirm it in your next reply or let me know if you do not agree with the mentioned. I've set your next reply as private to share this information safely. IMPORTANT: If you don't see the section for providing access information, do not write in the message box or the information may appear as public. See https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/ for details on privacy and security. Before continuing on the site, I'll also need your confirmation and approval on each of the followings: 1) Is this a Live/Production or Staging/Dev site? Please confirm, thanks. |
March 6, 2023 at 1:05 pm #13179105 | |
Waqas Bin Hasan Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Hi, Thank you for providing the access and confirmations. I was able to pinpoint the problem which is not coming from WPML because activating only WPML plugins does not create the said issue. However, I went through the same steps as mentioned in my earlier message (https://wpml.org/forums/topic/2-translated-pages-showing-original-language/#post-13175565) about activating/deactivating plugins and found that "SEOPress Pro" plugin is creating this issue. I've deactivated the said plugin and pages are loading fine with their respective translated counterparts. Note that "SEOPress" is compatible with WPML (https://wpml.org/plugin/seopress/) but the Pro version isn't on the list. Using only "SEOPress" works just fine among every other thing. I advise you to contact the theme/plugin author and request a compatibility update. Since their standard (non-pro) version is already compatible, they should be able to fix the Pro version as well, or at-least they can provide some relevant insights which I can then refer to our compatibility team. Regards. |
March 6, 2023 at 2:08 pm #13179597 | |
darkoP-9 |
Hi, i have check out website Taxi Pio and it is ok now. What about other website: Camp mandarino, i have done steps like you said in first post and i have deactivate temporarly seo pro. Please watch the video: Website was fully funkcional and without any problems two days ago. After updating images(like the one that is mising on the: hidden link), default language was only showing on those pages where i have update image. Please can you tell me how is that possible? Database conection should`t be lost if i did`t change password and username.. after updating one image on the website it should`t mess with wpml. hidden link |
March 7, 2023 at 6:26 am #13185121 | |
Waqas Bin Hasan Supporter
Languages: English (English ) Timezone: Asia/Karachi (GMT+05:00) |
Hi, Thank you for confirming that original issue is resolved. Since the other issue is different than the one addressed in opening message, I recommend opening a separate ticket because as per forum policy we can only handle one issue per ticket. So others looking for a particular solution can find it easily. However, as a tip, I see that you simply closed the tab while you were in the Advanced Translation Editor. So I'll advise to edit the translation again and click the "Complete" button to save and mark the translation as completed. Because when you open ATE the status is changed to in-progress and any change in under progress translation isn't reflected on the frontend. But if this doesn't help, please open a separate ticket. Regards. |
March 7, 2023 at 7:56 am #13185941 | |
darkoP-9 |
Thank you good man. You helped! Kind regards, |