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: Exception
This topic contains 9 replies, has 2 voices.
Last updated by Shekhar Bhandari 1 year, 4 months ago.
Assisted by: Shekhar Bhandari.
Author | Posts |
---|---|
September 21, 2023 at 11:48 am #14438215 | |
tobiasW-41 |
I am trying to change the default language of a post category. As you can see in my first screenshot, the category "uncategorized" is set to Vietnamese as default, which is wrong. It should be German since German is the default language of the site. When I tried to change the original language in the WP category settings, it utterly destroys the entire site. I then get "Internal Server Error" on each link click. How can I change the default language of a category without destroying the site? |
September 22, 2023 at 6:29 am #14443491 | |
Shekhar Bhandari Supporter
Languages: English (English ) Timezone: Asia/Kathmandu (GMT+05:45) |
Hello there, Welcome to WPML support. I'd be happy to help you with this. Can you please open the category translations first and set the translations to be not of the default language category, there should be "This is a translation of" select box, you should select none, while the original category doesn't have any translations you can change the langauge of it. If the similar issue occurs after the above steps, It looks like there is some php error happening on your site which is creating the problem, being so can you please follow the below steps and share me the results. 1. Add the following code to your wp-config.php define('WP_DEBUG', true); define( 'WP_DEBUG_LOG', true ); define( 'WP_DEBUG_DISPLAY', true ); https://wpml.org/documentation/support/debugging-wpml/ 2. Repeat the action of creating the problem. 3. Copy and paste the contents of debug.log (log file inside the /wp-content/ directory) here for me to see. https://wpml.org/documentation/support/debugging-wpml/#how-to-send-debug-log-to-the-supporters Look forward to your reply. Thanks |
September 25, 2023 at 4:42 am #14454307 | |
Shekhar Bhandari Supporter
Languages: English (English ) Timezone: Asia/Kathmandu (GMT+05:45) |
Hello there, To debug this issue further, I would need to check your site settings once, for this I would need temporary access (wp-admin and ftp) to your site. So could you please provide me with those details, you will find the needed fields for this below the comment area when you log in to leave your next reply. This info is private and available to you and WPML supporters only. Note: Look forward to your reply. Thanks |
September 25, 2023 at 6:40 am #14454549 | |
Shekhar Bhandari Supporter
Languages: English (English ) Timezone: Asia/Kathmandu (GMT+05:45) |
The Unkategorisiert has a English translations, I disconnected it and now I can change the language of the category without any issue, please check and confirm. Thanks |
September 25, 2023 at 12:28 pm #14458233 | |
tobiasW-41 |
The entire website is down. Please try to click any link on the website. You will get Internal Server Error. Please act ASAP because our users are already complaining. Thank you. |
September 25, 2023 at 12:31 pm #14458305 | |
Shekhar Bhandari Supporter
Languages: English (English ) Timezone: Asia/Kathmandu (GMT+05:45) |
Hello I can see it, but once I save the permalinks the error is not there, I don't think this is caused by us, I suspect that the server resources are reaching the limit. Please contact your server provider and ask about the frequent internal server error once. Thanks |
September 25, 2023 at 12:36 pm #14458383 | |
tobiasW-41 |
What do you mean with "saving the permalinks"? How do you do that? |
September 25, 2023 at 12:39 pm #14458385 | |
Shekhar Bhandari Supporter
Languages: English (English ) Timezone: Asia/Kathmandu (GMT+05:45) |
Hello there, You can go here and hit "save changes" hidden link Thanks |
September 25, 2023 at 12:43 pm #14458393 | |
tobiasW-41 |
When i check the category translations now, I see 2 "uncategorized": One in German original ("unkategorisiert") and one in English ("uncategorized"). I suppose the second one should not be there, or? |
September 26, 2023 at 4:33 am #14462917 | |
Shekhar Bhandari Supporter
Languages: English (English ) Timezone: Asia/Kathmandu (GMT+05:45) |
Hello there, You can remove the one that is not used. Let me know if this helps. Thanks |