Skip Navigation

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

Problem:
The client experienced a blank page when switching to the Arabic language on their website. This issue was traced back to a compatibility problem with the Divi Event Calendar plugin, which is not yet compatible with Divi 5.
Solution:
If you're experiencing a similar issue, we suggest checking for any plugin compatibility issues with your theme or other plugins. Additionally, if the problem persists, consider enabling debugging to identify the exact error. You can do this by modifying your

wp-config.php

file:

define('WP_DEBUG', true);

define('WP_DEBUG_LOG', true);

This will log errors to a debug.log file in your /wp-content/ directory. For more detailed instructions on debugging, visit https://wpml.org/documentation/support/debugging-wpml/.

If this solution does not apply to your case, or if it seems outdated, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. We highly recommend opening a new support ticket if the issue persists.

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 4 replies, has 0 voices.

Last updated by Andrey 1 week, 4 days ago.

Assisted by: Andrey.

Author Posts
June 18, 2025 at 1:05 pm #17146549

rogerv-6

Hi Andrey,

I just bought more credits then the problem was solved 😉

But i encountered another problem. The website is translated in English, Turkish, Polish and Arabic language. But when i switch to the Arabic language the site goed blank (see screenshot).
I hid the Arabic language in the switcher for now. Do you haver any idea what the problem could be?

Like to hear from you.

Roger

June 18, 2025 at 1:14 pm #17146557

Andrey
WPML Supporter since 06/2013

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

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

It seems that you may have removed it from the language switcher.

There might be a critical error present on a page.

I recommend trying the following steps first:

1. Make a slight modification to the original page.
2. Save the changes.
3. Revert your changes.
4. Go to the WPML translation editor and complete the translation for Arabic.

If the issue persists, you will need to enable debugging to identify the actual error on the page.

You can add a few lines to the site’s wp-config.php file. With the error log enabled, you will see the actual problem.

To enable it, open your wp-config.php file and look for define('WP_DEBUG', false);. Change it to:

define('WP_DEBUG', true);

To enable the error logging to a file on the server, you need to add yet one more similar line:

define( 'WP_DEBUG_LOG', true );

The errors will be saved to a debug.log file inside the /wp-content/directory.

https://wpml.org/documentation/support/debugging-wpml/

Let me know what you see after the debug mode has been enabled.

June 18, 2025 at 3:09 pm #17147412

rogerv-6

Hi Andrey,

I placed the code in the wp-config file. I've placed Arabic in the language switcher. And when i switch to Arab. I get this notice.

Fatal error: Uncaught ValueError: Unknown format specifier "$" in /data/sites/web/bureaugelijkebehandelingnl/www/wp-content/plugins/the-events-calendar/src/Tribe/iCal.php:71 Stack trace: #0 /data/sites/web/bureaugelijkebehandelingnl/www/wp-content/plugins/the-events-calendar/src/Tribe/iCal.php(71): sprintf('...', '...', '...') #1 /data/sites/web/bureaugelijkebehandelingnl/www/wp-includes/class-wp-hook.php(322): Tribe__Events__iCal->set_feed_link() #2 /data/sites/web/bureaugelijkebehandelingnl/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #3 /data/sites/web/bureaugelijkebehandelingnl/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #4 /data/sites/web/bureaugelijkebehandelingnl/www/wp-includes/general-template.php(3192): do_action('...') #5 /data/sites/web/bureaugelijkebehandelingnl/www/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend-header-template.php(11): wp_head() #6 /data/sites/web/bureaugelijkebehandelingnl/www/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend.php(220): require_once('...') #7 /data/sites/web/bureaugelijkebehandelingnl/www/wp-content/themes/Divi/includes/builder/frontend-builder/theme-builder/frontend.php(251): et_theme_builder_frontend_override_partial('...', '', '...') #8 /data/sites/web/bureaugelijkebehandelingnl/www/wp-includes/class-wp-hook.php(326): et_theme_builder_frontend_override_header(NULL) #9 /data/sites/web/bureaugelijkebehandelingnl/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #10 /data/sites/web/bureaugelijkebehandelingnl/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #11 /data/sites/web/bureaugelijkebehandelingnl/www/wp-includes/general-template.php(38): do_action('...', NULL, Array) #12 /data/sites/web/bureaugelijkebehandelingnl/www/wp-content/themes/Divi/page.php(3): get_header() #13 /data/sites/web/bureaugelijkebehandelingnl/www/wp-includes/template-loader.php(106): include('...') #14 /data/sites/web/bureaugelijkebehandelingnl/www/wp-blog-header.php(19): require_once('...') #15 /data/sites/web/bureaugelijkebehandelingnl/www/index.php(17): require('...') #16 {main} thrown in /data/sites/web/bureaugelijkebehandelingnl/www/wp-content/plugins/the-events-calendar/src/Tribe/iCal.php on line 71

The other languages are fine, Turkish, Polish, English.

Let me know what you can make of this.

Roger

Scherm­afbeelding 2025-06-18 om 17.05.22.png
June 19, 2025 at 8:19 am #17149182

rogerv-6

Goodmorning Andrey,

I found the problem. The Divi Event Calendar plugin which is not compatible with Divi 5 yet is the source of the problem. When i switch of the plugin the Arabic language works.

For me this problem is solved.

Thank you.

Roger

June 19, 2025 at 10:55 am #17150047

rogerv-6

Thank you

June 19, 2025 at 12:07 pm #17150564

Andrey
WPML Supporter since 06/2013

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

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

Thank you for your feedback. I am glad that the issue was solved. Have a nice day.