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 5 replies, has 2 voices.
Last updated by Prosenjit Barman 1 year, 8 months ago.
Assisted by: Prosenjit Barman.
Author | Posts |
---|---|
October 7, 2023 at 2:40 pm #14532961 | |
michaelL-16 |
I run a ecommerce/blog website using the latest wp version, Woomart and WooCommerce, using Elementor. 1. The website will regularly try to access a page from my website or a page on my wp dashboard and get the “503 Service Unavailable” notice. 2. Links redirecting to default page. Many pages of my website have button with a href tag for a static link. Most of these links I cannot find my string translation page from WPML even though I already imported the strings of all my plugins and themes. Is there some way to change these links? |
October 9, 2023 at 9:40 am #14537675 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello There, I understand the issues you're having and will try my best to assist you in this matter. 1) "503 Service unavailable" error: The "503 Service Unavailable" error is a server-side error indicating that the server is not ready to handle the request. This issue may happen if anything on your site is consuming most of the resources on your server. Could you please check what happens if you keep other plugins disabled except for WPML and its add-ons? If that solves the issue, start activating plugins one by one and continue to check if the issue reappears or not. In this way, you'll be able to pinpoint the plugin that is causing the issue. You can also reach out to the Hosting provider/administrator and request them to check what mainly causing the issue. They can access the server error log, which should help pinpoint the problematic plugin or the primary cause of the issue. 2) Translating links: If you have added custom links to any post, please check the guide below to understand the process of translating links. 3) Strings show in the default language even after translating it: String may not appear translated if that is not registered for translation or some other reason. Could you please follow the steps mentioned in the Guide below and check if that helps to display the translated strings in the Frontend? I hope the instructions above will help. But, if you still need further assistance, feel free to let me know. I will be happy to help. Best regards, |
October 9, 2023 at 1:15 pm #14540021 | |
michaelL-16 |
Thanks for you prompt reply. I have deactivated all plugins, yet the 503 error issues is still there so your recommendation did not resolve my issue. I am hosting myself, and am unfamiliar with the serverside operations. Would be great if you could provide some support on this side since these issues arised since the installation of WPML. Translating Links: Strings not found: Can you help me check these questions? The below is account: [Information removed] |
October 10, 2023 at 5:05 am #14543777 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hi There, Since this is a public forum, please don't disclose any sensitive information related to your site by sharing it directly in public response. If we need any information, we will enable private fields so that you can securely share them. I hope you can understand. 503 Error: - https://wpml.org/documentation/support/debugging-wpml/ If you're managing the server on your own, you can check the server log also. Since you're using an Apache server, you should find the error log in the 'var/log/apache2/error.log' folder, but the folder varies depending on the OS. Please check the link below to learn more. - hidden link If you identify any errors that are logged due to that 503 error, please share the full error log in the next response. I will check and let you know what to do next. Translating links: Looking forward to your response. Best regards, |
October 10, 2023 at 6:14 am #14544595 | |
michaelL-16 |
Thanks for the quick reply. I checked the log files and found someting off regarding the WPML plugin as shown in the log output below: WPML Plugin Errors: PHP Fatal error: Uncaught Error: Class 'WPML_Config' not found in /var/www/html/wp-content/plugins/sitepress-multilingual-cms/inc/translation-management/translation-management.class.php:248 WooCommerce Multilingual Plugin Errors: PHP Fatal error: Uncaught Error: Class 'WCML_Locale' not found in /var/www/html/wp-content/plugins/woocommerce-multilingual/classes/class-woocommerce-wpml.php:265 I also activated the wordpress debug log, but I just did it so it didn't log anything as of now. The link is the homepage (hidden link) and the link to translate is on the BUY NOW button on the banner above the crease (link: hidden link) |
October 11, 2023 at 3:37 am #14554545 | |
Prosenjit Barman WPML Supporter since 03/2023
Languages: English (English ) Timezone: Asia/Dhaka (GMT+06:00) |
Hello There, As mentioned in the error log, the fatal error arises from missing files, and most of the time, installing the plugin again solves the issue. Please follow the steps below and I hope it will help. - Take a full backup of the site. I hope the issue will be resolved after that. If you receive any errors in the log file even after installing the updated version manually, please let me know. I will be happy to help. Link translation: - Please go to WPML > String Translation I already have done the French translation and it works fine. Please let me know if there is anything else you need help with. I will be happy to assist. Best regards, |