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.

This topic contains 2 replies, has 2 voices.

Last updated by benjaminA-23 1 year, 2 months ago.

Assisted by: Mohamed Sayed.

Author Posts
February 13, 2024 at 2:34 am #15295309

benjaminA-23

Hello WPML support,

I use WordPress and Divi to build my website.
Since I have installed WPML plugin in my website, I can't customize my menu/header anymore On the screenshot : on the left, it's the website with WPML. On the right : another website without WPML where I can do it, circle in pink.
It's really annoying because everything I want to customize can be changed in dashboard ->appearance -> customize -> header&navigation. I know it can be done with css but it's a lot easier and quicker this way. Is there another way I can do it ?

My question is : if I deactivate WPML plugin, i guess the "header&navigation" option in "customize" will be back in dashboard? Can I customize my header and then, when it's done, activate WPML plugin without losing all the translations I've already done in my website?

I have to finish my website quickly for my client and I don't want to waste time and lose everything I've done...

I hope you can help me!
Thank you!

website url : hidden link

customize-header.png
February 13, 2024 at 1:03 pm #15297703

Mohamed Sayed

Hi Benjamin,
Thanks for contacting WPML support.

Installing WPML shouldn't cause this issue, I tested this on a clean installation with the latest versions of WPML and Divi but I can't see the same behavior. Please see here: hidden link

You can also access the testing site from here: hidden link

Also couldn't find similar known issues or reports from other clients. Please try the following:

1. Increase the WordPress Memory Limit. According to your Debug.info, the WP memory limit needs to be increased. PHP memory is fine, but WordPress uses 40Mb as default. Minimum requirements for WPML is 128Mb. (Kindly check this page https://wpml.org/home/minimum-requirements/)

You can increase it by adding the following code in your wp-config.php file, right before the /* That’s all, stop editing! Happy publishing. */ line:

/** Memory Limit */
define('WP_MEMORY_LIMIT', '256M');
define( 'WP_MAX_MEMORY_LIMIT', '256M' );

2. Go to WPML > Support > Troubleshooting page, then click the following:

- Clear the Cache in WPML
- Remove ghost entries from the translation tables
- Set language information
- Fix post type assignment for translations

❌ Please make sure that you have a full database and website backup before trying the above ❌

3. If the above steps didn't help, please provide me with the WordPress debug.log, this will allow us to see if any PHP errors are being produced. More Info: https://wordpress.org/support/article/debugging-in-wordpress/

To enable it, open your wp-config.php file and look for:

define('WP_DEBUG', false);

And change it to:

define('WP_DEBUG', true);
// Enable Debug logging to the /wp-content/debug.log file
define('WP_DEBUG_LOG', true);
// Disable display of errors and warnings which is recommended on a live site.
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors',0);

Then try to reproduce the issue by visiting the customize section and check if any errors were saved to the debug.log log file inside the /wp-content/ directory.
If you can paste your debug.log to https://pastebin.com/ and provide me that link, it would be great!

Kind regards,
Mohamed

February 13, 2024 at 1:58 pm #15297950

benjaminA-23

Thanks you so much Mohamed!
My problem is solved. I saw your video and as you answered that you didn't have the same problem and couldn't find similar known issues or reports from other clients, I knew it was something I did myself... So now it's ok, I can customize my header/menu/navigation again.
Have a nice day!!