We're trying to update one of our pages in the original language but noticed that the changes were not applied to all of the duplicates. Only some of the languages have been updated. There is a 502 error on the post.php request when we update the page and it looks like the request times out. This issue is happening on many of our pages. We believe this is timing out since we have a large number of duplicates. Pages with a small number of duplicates seem to be updating fine. With our current host, we have a server timeout of 1 minute and we cannot increase this.
We were wondering what exactly happens on the WPML side when you update a page that has translations and duplicates.
Could you please increase your Memory Limit and WP Memory limit to 256M? 128M is the minimum required by WPML.
Your current values are:
PHP MemoryLimit 512M
WP Memory Limit 40M
Add this code to your wp-config.php to increase WP memory:
define('WP_MEMORY_LIMIT', '256M');
Paste it just before:
/ That's all, stop editing! Happy blogging. /
Now, revise the current value at WPML > Support > WordPress.
These settings can be limited directly by your hosting provider, so I recommend you contact and ask them to modify them directly.
If you can get even higher values It would be great.
https://wpml.org/home/minimum-requirements/
Note: WPML needs a minimum WP Memory limit of 128M to work only under a minimal environment, which means, with a default theme and no other plugins installed.
If this will still not solve the issue, please verify if those problems in fact disappear if you disable WPML, as the issue seems to affect original content and could be related to the theme or another plugin.
We increased the memory limit to 512M and the problem still persists.
The issue we're having is that when we update a page in our default language, we can see the change in the default language and only some of its duplicates. However, we want all of the duplicates to be updated properly.
From our understanding, when you update a page in the default language, WPML goes and copies the content and custom fields into the pages that are its duplicates. Is this correct? And is there more happening when you update the page?
I am sadly unable to tell what exactly happens inside the database if you duplicate the content, but in fact, the duplicates should always update themselves once the original content gets edited and saved.
Now, you are saying that the changes neither show up on the original content. As I mentioned earlier, this could mean that the issue is maybe not directly related to WPML.
I would like to request temporary access (wp-admin and FTP) to the website to investigate the issue further - ideal would be access to a Staging site on which I can disable plugins or switch the theme for testing.
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.
Id you can not provide access to a Staging site, I will 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.
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.
We really think this is an issue with the publishing process taking too long and exceeding the server timeout set by our hosting provider. Is there anything we can do to speed up the WPML publishing process?