Skip to content Skip to sidebar

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

Problem:
If you're experiencing issues saving a page in the main language (English) on your Divi5 staging site while WPML is activated, and find that deactivating WPML allows you to save the page, this might be due to a specific error that needs further investigation.
Solution:
We recommend enabling WordPress debugging to identify any WPML-related errors that could be causing this issue. Here are the steps you should follow:
1. Edit your wp-config.php file to enable debugging. Insert these lines before the comment /* That's all, stop editing! Happy publishing. */:

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );

2. Replicate the error by trying to save the page again.
3. Check the debug.log file located in your /wp-content directory for any WPML-related errors.
4. Copy and paste the full error message here for further assistance.

If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. Additionally, if you need further assistance, 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.

Tagged: 

This topic contains 2 replies, has 0 voices.

Last updated by jurrieE 1 day, 16 hours ago.

Assisted by: Andrey.

Author Posts
April 20, 2026 at 1:18 pm #17981131

jurrieE

This is a Divi5 staging site for hidden link The pages are all set to independent translation with no sync. When I try to save a page in the main language (English) it fails. See screenshot. When I deactivate WPML, I can save the page. What could be wrong here?
Have a great day!

April 20, 2026 at 9:13 pm #17982213

Andrey
WPML Supporter since 06/2013

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

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

Thank you for contacting WPML support.

To better understand your situation, could you please enable debugging, replicate the issue, and share the full error message from your debug.log file?

Here are the steps:
1. Enable WordPress debugging by editing your wp-config.php file. Add (or modify, if these lines already exist) the following lines before the comment /* That's all, stop editing! Happy publishing. */:

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );

2. Replicate the error.
3. Check the debug.log file (located in the /wp-content/debug.log) for any WPML-related errors.
4. Copy and paste the full error message here.

April 21, 2026 at 4:27 am #17982476

jurrieE

Thank you for your answer Andrey!

Suddenly, the problem disappeared. I can now save the pages in the main languages, after enabling debug in wp-config. Here is de latest log:

[21-Apr-2026 04:19:40 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the

caldera-forms

domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the

init

action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/vhosts/staticdata.nl/swap.staticdata.nl/wp-includes/functions.php on line 6131
[21-Apr-2026 04:19:41 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the

caldera-forms

domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the

init

action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/vhosts/staticdata.nl/swap.staticdata.nl/wp-includes/functions.php on line 6131

Have a great day!

April 21, 2026 at 12:05 pm #17984064

jurrieE

Caldera were my favorite forms, but I have to get rid of it I suppose.
Thank you, have a great day!