Skip Navigation

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

Problem:
The client was unable to save the Divi Theme Homepage on their multisite and encountered a 'save failed' error. The issue disappeared when the WPML plugin was deactivated. Deleting the translated page did not resolve the issue.

Solution:
We imported the client's site locally for testing and did not encounter any issues with a 512MB memory limit. The error logs from the live site indicated a PHP fatal error due to the memory limit being exhausted. To solve this, we recommended that the client request their hosting provider to increase the PHP memory limit. Additionally, we advised the client to increase the WordPress memory limit by adding the following line to their wp-config.php file:

define( 'WP_MEMORY_LIMIT', '512M' );

The wp-config.php file can be accessed and edited via SFTP. The current WordPress memory limit can be confirmed under WPML -> Support in the Info section. For more information on editing the wp-config.php file and adjusting memory limits, we provided a documentation link:

https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

If this solution does not seem relevant, please open a new support ticket at WPML support forum.

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.

This topic contains 15 replies, has 2 voices.

Last updated by janH-80 1 year, 3 months ago.

Assisted by: Mateus Getulio.

Author Posts
January 25, 2024 at 12:31 pm #15226058

janH-80

Thanks for the elaboration Mateus. Just for your info: I never touched php.ini and .htaccess. Nonetheless changing memory limit to 512M in wp_config solved the problem. According to your statement this should not work since php.ini and htaccess both limit it to 256M and would override setting in wp_conifg. Now I wonder if the reading from WPML debug was not correct or there is a setting on the host side that is not reflected in WPML debug. Also, in my WP install I could neither find a php.ini nor .htaccess.

January 26, 2024 at 3:53 pm #15231094

janH-80

No response?