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 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: Europe/Kyiv (GMT+03:00)
Tagged: Exception
This topic contains 14 replies, has 0 voices.
Last updated by saraS-30 57 minutes ago.
Assisted by: Andrey.
Author | Posts |
---|---|
July 1, 2025 at 6:08 pm #17189772 | |
saraS-30 |
Background of the issue: Symptoms: Questions: |
July 1, 2025 at 6:35 pm #17189897 | |
Andrey WPML Supporter since 06/2013 Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+03:00) |
Thank you for contacting WPML support. The slug is most likely being generated automatically from the title. This behavior is controlled in WPML → Settings, under the “Translated documents options” section, specifically the “Auto-generate from title (default)” option. To manage slugs manually, follow these steps: |
July 1, 2025 at 8:26 pm #17190162 | |
saraS-30 |
hello there i followed the steps but now it shows "404 the page is not found" |
July 1, 2025 at 9:58 pm #17190266 | |
Andrey WPML Supporter since 06/2013 Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+03:00) |
Another option is as follows: |
July 2, 2025 at 8:20 am #17191393 | |
saraS-30 |
hello there, i found it already like this modified but still doesnt work the same page " 404 " appears |
July 2, 2025 at 9:19 am #17191803 | |
Andrey WPML Supporter since 06/2013 Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+03:00) |
Could you please try deleting the translation of the thank you page and then clear it from the trash as well? After that, retranslate the page from scratch. Additionally, please try deactivating all plugins except WPML and its add-ons, then test if the page works correctly. This will help determine if the issue is caused by a plugin conflict. |
July 2, 2025 at 10:36 am #17192315 | |
saraS-30 |
i tried but nothing changed, it happend before and i remember the supporter did something to the sitting and it worked but i dont know how to do it again |
July 2, 2025 at 1:19 pm #17193328 | |
Andrey WPML Supporter since 06/2013 Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+03:00) |
I need to request temporary access (wp-admin and FTP) to your site—preferably to a test site where the problem has been replicated if possible—in order to be of better help. When you log in to leave your next reply, you will find the needed fields below the comment area. The information you will enter is private, meaning only you and I can see and access it. |
July 3, 2025 at 3:03 pm #17198116 | |
Andrey WPML Supporter since 06/2013 Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+03:00) |
I have reviewed this issue, and it appears that the translation of the thank you page cannot be saved. I am seeing the following in WPML → Support → Advanced Translation Editor Error Logs: Active record statement invalid: Mysql2::Error: The MySQL server is running with the --read-only option so it cannot execute this statement {"errorData":{"status":500,"title":"Active record statement invalid","detail":"Mysql2::Error: The MySQL server is running with the --read-only option so it cannot execute this statement"}} Could you grant all the necessary privileges to the MySQL user that the site uses? Also, please enable debugging by adding the following lines to your site’s wp-config.php file. This will allow us to identify the exact issue: define('WP_DEBUG', true); define('WP_DEBUG_LOG', true); define('WP_DEBUG_DISPLAY', false); Once enabled, attempt to complete the thank-you page translation again; any errors will be logged to a debug.log file located in the /wp-content/ directory. Please check this file and share the relevant error messages. I also noticed that your site, "Thank you" Site Template, is not translated. |
July 6, 2025 at 7:54 am #17204645 | |
saraS-30 |
hello there please check the screenshot i can assure you everything is translated 100%, as for adding the debug i am not sure how exactly could u please show me, thanks |
July 7, 2025 at 12:28 pm #17208685 | |
Andrey WPML Supporter since 06/2013 Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+03:00) |
Thank you for your feedback. The login doesn't work anymore. Once you have completed the translations, do you see the pencil icon in the language sidebar when editing the page in the original language? The pencil icon indicates that the translation is completed. Regarding the debugging in WP. You can add a few lines to the site’s wp-config.php file. It is located in the root of your site's installation. To enable it, open your wp-config.php file and look for define('WP_DEBUG', false);. Change it to: define('WP_DEBUG', true); To enable the error logging to a file on the server, you need to add yet one more similar line: define( 'WP_DEBUG_LOG', true ); and define('WP_DEBUG_DISPLAY', false); The errors will be saved to a debug.log file inside the /wp-content/debug.log. |
July 8, 2025 at 6:10 pm #17215866 | |
saraS-30 |
hello can u please provide another private section to add the tempo access because i was unable to update the current one, also is it neccesary to do the debug thing? cuz i still didnt understand how |
July 9, 2025 at 9:05 am #17217781 | |
Andrey WPML Supporter since 06/2013 Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+03:00) |
Sure. The following reply is private. Please also include FTP details. |
July 9, 2025 at 2:41 pm #17219904 | |
Andrey WPML Supporter since 06/2013 Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+03:00) |
Thank you for the details. I’ve tested this further and created a “Test Thank You” page using the same template. Interestingly, the issue seems to occur when the translated page uses the exact same slug as the original (e.g., test-thank-you). Changing even a single character in the slug allows the page to function properly. Could you please try temporarily deactivating all plugins except WPML and see if the issue persists? If the problem continues, I’d like to create a local copy of your site for deeper investigation. If that’s acceptable, please install the Duplicator plugin so I can proceed with generating a site package. |
July 12, 2025 at 9:44 am #17229996 | |
saraS-30 |
hello there i tried that but nothing changed, how about my staging site it is a copy from my main site |