Skip Navigation

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
- 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 -
- - - - - - -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 5 replies, has 1 voice.

Last updated by Waqas Bin Hasan 6 months, 1 week ago.

Assisted by: Waqas Bin Hasan.

Author Posts
December 7, 2024 at 2:27 am #16487875

barjD

Background of the issue:
Remove a "Shop" page that does not exist, and is not translated, but shows as a live, published translation page

Please see screenshots below.

Main language is English.

Translation langauges are Punjabi and Punjabi Shahmukhi script, "pa" and "pa_sh" respectively.

"Shop" page in English is set to "Draft." It does not have translations under WordPress Dashboard > Pages.

Shop page in "pa_sh" is publiclly available, but with no way to edit the page.

Why would translated pages of the "Shop" page appear and be public, with no way to set them to Draft?

How do we remove these translations that we did not designate for translation?

How do we stop WPML creating translated pages that we did not deliberately set to be translated?

hidden link

hidden link

hidden link

hidden link

hidden link

hidden link

Symptoms:
Translated pages of the 'Shop' page appear and are public, with no way to set them to Draft. A Shop page with a translation language URL is not available as a translated item under WordPress > Pages.

Questions:
Why would translated pages of the 'Shop' page appear and be public, with no way to set them to Draft?
How do we remove these translations that we did not designate for translation?
How do we stop WPML creating translated pages that we did not deliberately set to be translated?

December 8, 2024 at 2:14 pm #16489896

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for contacting WPML forums support. Before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps. This will help speed up the support process.

1) Please publish this draft shop page and translate it. After that, please go to WooCommerce-> Settings and check the selected shop page ID to make sure that it's the correct page.

2) It's not related to the issue, but according to your Debug.info, the WP memory limit needs to be increased. PHP memory is fine, but WordPress uses 40Mb as default. The minimum requirements for WPML are 128 MB. (Kindly check this page https://wpml.org/home/minimum-requirements/)

You can increase it by adding the following code in your wp-config.php file right before the /* That's all, stop editing! Happy publishing. */ line:

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

Best regards,
Osama

December 10, 2024 at 3:02 am #16495695

barjD

Hello:

I took the page out of draft and published it:

hidden link

I added a translation into Punjabi:
hidden link

These are the English dashboard settings for the Shop page under WooCommerce > Settings > Products

hidden link

These are the Punjabi dashboard settings for the Shop page under WooCommerce > Settings > Products

hidden link

Note: I need to set these pages to draft because they are not needed at all. We only use the payment functionality in WooCommerce, to work with another plugin. Our Shop is empty. We don't want anyone reaching this page, nor any search bots to index it.

Our memory limit is set to 256mb:
hidden link

December 10, 2024 at 12:21 pm #16498147

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting the support. I'm assigned this ticket and 'll try my best to help you further on the matter.

Since you've published the page and translation as of your last message, can you now set these to draft and see if it works?

To set a translation to the draft, you can switch from top admin bar to the other language and set the status of the desired page accordingly.

If that doesn't work, can you please try the following?

1) Take a full backup of your site and database before proceeding. It is highly advised to try these on a dev or staging site first, so your live site isn't compromised.
2) Deactivate all plugins except WPML and String Translation.
3) Switch to a standard WordPress theme like 2021 or 2024.
4) Check for the issue if it still happens.
5) Then start activating plugins one by one while keep checking for the issue. This way you 'll be able to pinpoint a conflict when & where it starts creating the problem.
6) If after activating all plugins you see that it still works fine, then switch to your theme and see if that's causing it.

Please let me know and I'll try my best to help you further on the matter.

Regards.

December 17, 2024 at 1:26 am #16519370

barjD

I have performed this test and found that the issue occurs with the Genesis Connect Plugin by StudioPress. It causes WooCommerce Shop pages that are in both the original and translated langauges to be published even after they have been set to "Draft."

However, I am in touch with WP Engine, which owns StudioPress, to further troubleshoot the issue. I have not yet heard back from them.

December 17, 2024 at 12:04 pm #16521548

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Sure, please take your time and feel free to share the information, so we can proceed further accordingly.

The topic ‘[Closed] Remove translated Shop page that was not translated and wasn’t manually created’ is closed to new replies.