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
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

This topic contains 6 replies, has 3 voices.

Last updated by Long Nguyen 1 year, 5 months ago.

Assisted by: Long Nguyen.

Author Posts
December 13, 2023 at 4:01 pm #15057279

nicolaeA-2

Hello
If I try to modify a translated page, it won't let me save the changes.
Errors:

Updating failed..png
December 13, 2023 at 9:23 pm #15059119

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

While one of my teammates takes care of your ticket, I will provide you with the first debugging steps.

You probably getting a fatal error. First, you need to see what the errors are. Guessing what might be the problem and trying different solutions may lead to even more trouble. The first step is to enable debugging. You can do this by adding a few lines to the site’s wp-config.php file. With the error log enabled, you will see what the actual problem is.

To enable it, open your wp-config.php file and look for define(‘WP_DEBUG’, false);. Change it to:

define('WP_DEBUG', true);

In order 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 );

In this case, the errors will be saved to a debug.log log file inside the /wp-content/directory.

https://wpml.org/documentation/support/debugging-wpml/

Let us know what you see after the debug mode has been enabled.

December 14, 2023 at 9:59 am #15062065

nicolaeA-2

I modified the file "wp-config.php" but the error is the same.
I can't find it, it doesn't exist, debug.log log file inside the /wp-content/directory.
what to do?
I can't save the changes to a translated page.
For example, changes to the title, seo, description/content, give an error and do not save.
Error: Publishing failed.
Before there was the error: No route matching URL and request method found

December 14, 2023 at 2:13 pm #15064209

nicolaeA-2

I discovered the error: by deactivating the "WPML TRANSLATOR" plugin, the error disappears, and the changes made to the page can be saved.
When reactivating this plugin, the error reappears.
Error: Publishing failed.
Error: No route matching URL and request method found

What could be the solution to the problem?

December 14, 2023 at 7:35 pm #15068407

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Is the issue occurring when all plugins except WPML are disabled? It is likely that a third-party plugin is causing this behavior. Remember to backup your database before making any changes.

December 15, 2023 at 8:31 am #15070163

nicolaeA-2

Hello Andrey,
I disabled all plugins except WPML, the error persists with the active "WPML String Translation" plugin, if I disable this plugin the error disappears and I can modify and save a page translated into another language such as Romanian, Russian, Italian, etc. Please solve this problem, I need my website functional.
I have only had problems with this WPML and I hope to solve it once.
Error:
Updating failed. No route was found matching the URL and request method.

Updating failed. No route was found matching the URL and request method..png
December 18, 2023 at 4:42 am #15080277

Long Nguyen
WPML Supporter since 02/2022

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi Nicolae,

Thank you for contacting WPML support, I'd be happy to help you with this issue.

According to the debug log, I see you're using the Advanced Translation Editor (ATE) to translate the content on your site. So I recommend you edit the property post in the default language English > Make a small change to the post title/content > Save > Update the translation post in ATE.

If you still want to edit the translation post manually, please try to go to WPML > String Translation > Search for the slug "properties" > Delete it and recheck this issue.
❌ IMPORTANT: Please backup your database and website before proceeding ❌

Refer documentation https://wpml.org/documentation/getting-started-guide/string-translation/#how-to-delete-a-string
and this ticket https://wpml.org/ru/forums/topic/houzez-%d0%bf%d1%80%d0%b8-%d1%81%d0%be%d0%b7%d0%b4%d0%b0%d0%bd%d0%b8%d0%b8-%d0%be%d0%b1%d1%8a%d0%b5%d0%ba%d1%82%d0%b0-%d0%be%d1%88%d0%b8%d0%b1%d0%ba%d0%b0-no-route-was-found-matching-the-url-and-requ/

Look forward to your reply.
Thanks

The topic ‘[Closed] Updating failed.’ is closed to new replies.