Skip to content Skip to sidebar

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client is unable to save changes to the translation preferences for posts and taxonomies in the WPML settings. After attempting to save, the settings revert to their previous state.
Solution:
We were unable to replicate the issue on a local copy of the client's site. We can edit and save any translation preference setting in WPML > Settings without any problems. Since the issue appears to be specific to the client's server, we recommend that you provide us with access so we can investigate the issue further.
The solution here was server related:
Set the value for “max_allowed_packet” configuration from 1M to 64M in the “my.ini” file.
Please note that the solution provided might be irrelevant if it's outdated or not applicable to your case. If the issue persists, we highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If none of these steps resolve the issue, please open a new support ticket with us.

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: 

This topic contains 6 replies, has 3 voices.

Last updated by Andreas W. 1 year, 8 months ago.

Assisted by: Andreas W..

Author Posts
January 30, 2024 at 1:00 pm #15243829

juergF

Hello, my problem is that I am not able to change the translation preferences of my posts and taxonomies. If I go to “WPML → Settings” and scroll down to the radio buttons that let me change between “Translatable, only show translated items”, “Translatable, use translation if available or fallback to default language” and “Not translatable”, my changes don’t get saved after I press the “Save” button. After the automatic page load, all settings are as they were before the change.

January 30, 2024 at 1:41 pm #15244119

Bruno Kos
WPML Supporter since 12/2018

Languages: English (English ) German (Deutsch ) French (Français )

Timezone: Europe/Zagreb (GMT+02:00)

Please upload Duplicator package into Dropbox, Google Drive or similar service and send us the URL.

Please exclude all the media files, etc, to keep the package minimal.

January 31, 2024 at 6:40 pm #15251285

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

I am writing to you to let you know that I requested access to your Google Drive to download the site package.

To save time on this matter, I would like to offer to have a closer look at the problem and request temporary access (wp-admin and FTP) to the website to investigate this issue further.

You can find the required fields below the comment section when you log in to leave the next reply. The information you provide is private, which means only you and I can see and access it.

IMPORTANT
Please be sure to make a backup copy of the website and database before allowing us access.
If you can't see the wp-admin / FTP fields, your post and website credentials are set as PUBLIC. DO NOT publish the data unless you see the required wp-admin / FTP fields.

I may have to install a plugin called "All In One WP Migration" to make a copy of the website where I can investigate the issue further.

However, I would also be very grateful if you could provide a staging site or copy of the website from your server yourself for this purpose.

If you have any questions about creating such a staging site, you can consult your hosting provider. Just take note that WPML should be registered on this site again.

If you are unable to provide such a copy of the site for testing, please let me know on this ticket.

The private response form looks like this:
hidden link

Next time you reply, click "I still need assistance."

Video:
hidden link

Please note that we are obliged to request this information individually on each ticket. We may not access any access information not specifically submitted on this ticket in the private response form.

Best regards
Andreas

February 1, 2024 at 9:08 am #15253346

juergF

Hello Andreas, thank you for taking over the task. I granted you access to the archive today at 08:00 UTC.

Thank you also for offering your help by accessing our live site. However, I am limited to providing the Duplicator archive, since our staging site is only accessible from our company’s intranet, and I am not allowed to provide you access to our live site for security reasons. I hope that we can find a solution using Duplicator.

February 1, 2024 at 3:25 pm #15255653

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hello,

The migration of the duplicator package failed and I can not get the site to run.

I would appreciate it if you could instead create a package with the plugin "All In One WP Migration" and send me a download link.

Best regards
Andreas

February 2, 2024 at 9:41 am #15258293

juergF

I created an archive using All In One WP Migration and gave you access to the file. You find the link here: hidden link

The login credentials are the same as before.

February 2, 2024 at 4:38 pm #15260299

Andreas W.
WPML Supporter since 12/2018

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

I can sadly not confirm any issue on my local copy of your site.

I can edit and save any translation preference setting on WPML > Settings without issues.

Your site is running on localhost only or do you have a way to provide me access, as this issue seems only to occur on your server?

February 5, 2024 at 1:17 pm #15266299

juergF

Hello again

I want to tell you that I was able to resolve the issue.
First I realized that not only the translation options for posts/taxonomies/fields, but any WPML settings in general were not being saved in the first place.

Using the WP debug tool, I was able to fund out that the reason was that the database entry for the WPML settings grew too large for my MySQL server to handle. This could be resolved by changing the “max_allowed_packet” configuration from 1M to 64M in the “my.ini” file.

Thank you very much for your cooperation and your support.