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.

Our next available supporter will start replying to tickets in about 3.44 hours from now. Thank you for your understanding.

This topic contains 5 replies, has 2 voices.

Last updated by franck 4 years, 5 months ago.

Assisted by: Bobby.

Author Posts
April 7, 2020 at 1:38 pm #5857889

franck

Hi
I am trying to update the parent page from backend of default language.
But it is not updating.
If I deactivate the WPML plugin and update the parent page then it works.

Thanks.

April 8, 2020 at 6:26 pm #5869089

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi There,

Do you see any errors when trying to update your default language page with WPML activated?

1. Right click=>Inspect->View console, are there any console errors logged?

2. You can see how to enable debug logging here:
https://wpml.org/documentation/support/debugging-wpml/

Go in your wp-config.php file and look for define(‘WP_DEBUG’, false);. Change it to:
define('WP_DEBUG', true);

Edit your wp-config.php file and add these lines, just before it says 'stop editing here':

ini_set('log_errors',TRUE);
ini_set('error_reporting', E_ALL);
ini_set('error_log', dirname(__FILE__) . 'https://cdn.wpml.org/error_log.txt');

This will create an error_log.txt file in your site's root directory. Please send me its contents.

3. Please update your WPML version to the latest version and let me know your results
https://wpml.org/downloads/

April 9, 2020 at 12:48 pm #5876151

franck

Hi Bobby,

Thanks for replying.

1. I checked the console. There were errors. But it was related to hubspot plugin we have used. (Updated the screenshot for your reference)

2. Here is the error log. (But I don't see any error related to WPML)

[09-Apr-2020 12:31:55 UTC] PHP Warning: Use of undefined constant php - assumed 'php' (this will throw an Error in a future version of PHP) in /home/clients/1ffbddc493869d463aaa896c120e700e/ehg/wp-content/themes/ehg-theme/templates/header.php on line 40
[09-Apr-2020 12:31:56 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (1) in /home/clients/1ffbddc493869d463aaa896c120e700e/ehg/wp-includes/functions.php on line 4552
[09-Apr-2020 12:31:56 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (1) in /home/clients/1ffbddc493869d463aaa896c120e700e/ehg/wp-includes/functions.php on line 4552
[09-Apr-2020 12:31:56 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (1) in /home/clients/1ffbddc493869d463aaa896c120e700e/ehg/wp-content/plugins/really-simple-ssl/class-mixed-content-fixer.php on line 111
[09-Apr-2020 12:32:04 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (1) in /home/clients/1ffbddc493869d463aaa896c120e700e/ehg/wp-includes/functions.php on line 4552
[09-Apr-2020 12:32:04 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (1) in /home/clients/1ffbddc493869d463aaa896c120e700e/ehg/wp-includes/functions.php on line 4552
[09-Apr-2020 12:32:13 UTC] PHP Warning: Use of undefined constant php - assumed 'php' (this will throw an Error in a future version of PHP) in /home/clients/1ffbddc493869d463aaa896c120e700e/ehg/wp-content/themes/ehg-theme/templates/header.php on line 40
[09-Apr-2020 12:32:13 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (1) in /home/clients/1ffbddc493869d463aaa896c120e700e/ehg/wp-includes/functions.php on line 4552
[09-Apr-2020 12:32:13 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (1) in /home/clients/1ffbddc493869d463aaa896c120e700e/ehg/wp-includes/functions.php on line 4552
[09-Apr-2020 12:32:13 UTC] PHP Notice: ob_end_flush(): failed to send buffer of zlib output compression (1) in /home/clients/1ffbddc493869d463aaa896c120e700e/ehg/wp-content/plugins/really-simple-ssl/class-mixed-content-fixer.php on line 111

3. Yes, I updated the plugins to its latest version. But still no luck.

Thanks.

console-erros.png
April 9, 2020 at 5:00 pm #5878403

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Thank you for the information

I would like to request temporary access (wp-admin and FTP) to your site to test the issue.
(preferably to a test site where the problem has been replicated if possible)

**Before we proceed I recommend taking FULL BACKUP of your database and your website.**
I often use the Duplicator plugin for this purpose: http://wordpress.org/plugins/duplicator/

You will find the needed fields for this below the comment area when you log in to leave your next reply.
The information you enter is private which means only you and I have access to it.

NOTE: If access to the live site is not possible and the staging site does not exist please provide me with a duplicator package created with the duplicator plugin.

Thank you,
Bobby

April 14, 2020 at 6:45 pm #5907375

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi There,

I did a few tests with some other pages and it worked as expected when saving them.

The issue with the page EHG Traiteur Genève. is that the French page was set as the translation of the English page and the English were set as the default.

I have fixed this now and it seems to update as expected.

Let me know your results, please.

Screen Shot 2020-04-14 at 11.45.19 AM.png
Screen Shot 2020-04-14 at 11.42.24 AM.png
Screen Shot 2020-04-14 at 11.40.07 AM.png
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.