 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
|
 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.
|
 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
|
 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
|
 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.
|