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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: America/Los_Angeles (GMT-08:00)

This topic contains 5 replies, has 2 voices.

Last updated by Bobby 3 months ago.

Assisted by: Bobby.

Author Posts
August 23, 2024 at 6:29 pm #16099407

patricG

Background of the issue:
Hi there,
I'm facing 3 issues related to WPML on my site.
01. My site's Dutch shop page layout is broken. When I try to switch language to Dutch it shows a critical error. The page URL is: hidden link
02. I can't translate the "Brand" word in single product pages. I've translated all "Brand" strings but it remains the same.
03. I can't translate "Tracking Order" and "Help Center" in the mobile account menu. I've translated all strings for "Help Center" and can't find the "Tracking Order" string in the WPML string translation.

Please watch the attached screen record to understand the issues better and let me know how I can solve these.
Screen record: hidden link

Thank you.

Symptoms:

Questions:

August 23, 2024 at 8:53 pm #16099578

Bobby
Supporter

Languages: English (English )

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

Hi there,

We try to keep each ticket thread to 1 issue, in this ticket I will be focusing on the fatal error as this is a show-stopper issue and I invite you to either open a new ticket for the string translations or we can split it afterward into its own.

Looks like the fatal error is happening with German only

In the console, I can see an err 500
Failed to load resource: the server responded with a status of 500 ()

I would need to see the details of the error.
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.

August 28, 2024 at 6:51 pm #16116761

patricG

here is the error we get, with the enabled error settings:

Deprecated: Creation of dynamic property Kirki\Field\Repeater::$compiler is deprecated in /var/www/vhosts/nois.ch/httpdocs/wp-content/plugins/kirki/kirki-packages/compatibility/src/Field.php on line 305

Deprecated: Creation of dynamic property Kirki\Field\Repeater::$compiler is deprecated in /var/www/vhosts/nois.ch/httpdocs/wp-content/plugins/kirki/kirki-packages/compatibility/src/Field.php on line 305

Deprecated: Creation of dynamic property Kirki\Field\Repeater::$compiler is deprecated in /var/www/vhosts/nois.ch/httpdocs/wp-content/plugins/kirki/kirki-packages/compatibility/src/Field.php on line 305

Deprecated: Creation of dynamic property Kirki\Field\Repeater::$compiler is deprecated in /var/www/vhosts/nois.ch/httpdocs/wp-content/plugins/kirki/kirki-packages/compatibility/src/Field.php on line 305

Deprecated: Creation of dynamic property Kirki\Field\Repeater::$compiler is deprecated in /var/www/vhosts/nois.ch/httpdocs/wp-content/plugins/kirki/kirki-packages/compatibility/src/Field.php on line 305

Deprecated: Creation of dynamic property Kirki\Field\Repeater::$compiler is deprecated in /var/www/vhosts/nois.ch/httpdocs/wp-content/plugins/kirki/kirki-packages/compatibility/src/Field.php on line 305

Deprecated: Creation of dynamic property Kirki\Field\Repeater::$compiler is deprecated in /var/www/vhosts/nois.ch/httpdocs/wp-content/plugins/kirki/kirki-packages/compatibility/src/Field.php on line 305

Deprecated: Creation of dynamic property Kirki\Field\Repeater::$compiler is deprecated in /var/www/vhosts/nois.ch/httpdocs/wp-content/plugins/kirki/kirki-packages/compatibility/src/Field.php on line 305

Deprecated: Creation of dynamic property Kirki\Field\Repeater::$compiler is deprecated in /var/www/vhosts/nois.ch/httpdocs/wp-content/plugins/kirki/kirki-packages/compatibility/src/Field.php on line 305

Deprecated: Creation of dynamic property Kirki\Field\Repeater::$compiler is deprecated in /var/www/vhosts/nois.ch/httpdocs/wp-content/plugins/kirki/kirki-packages/compatibility/src/Field.php on line 305

Deprecated: Creation of dynamic property Kirki\Field\Repeater::$compiler is deprecated in /var/www/vhosts/nois.ch/httpdocs/wp-content/plugins/kirki/kirki-packages/compatibility/src/Field.php on line 305

Deprecated: Creation of dynamic property Kirki\Field\Repeater::$compiler is deprecated in /var/www/vhosts/nois.ch/httpdocs/wp-content/plugins/kirki/kirki-packages/compatibility/src/Field.php on line 305

Deprecated: Creation of dynamic property Kirki\Fiel

Fatal error: Uncaught ValueError: Unknown format specifier "v" in /var/www/vhosts/nois.ch/httpdocs/wp-content/themes/motta/inc/woocommerce/catalog.php:682 Stack trace: #0 /var/www/vhosts/nois.ch/httpdocs/wp-content/themes/motta/inc/woocommerce/catalog.php(682): printf() #1 /var/www/vhosts/nois.ch/httpdocs/wp-includes/class-wp-hook.php(324): Motta\WooCommerce\Catalog->result_count() #2 /var/www/vhosts/nois.ch/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #3 /var/www/vhosts/nois.ch/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #4 /var/www/vhosts/nois.ch/httpdocs/wp-content/themes/motta/inc/woocommerce/catalog.php(641): do_action() #5 /var/www/vhosts/nois.ch/httpdocs/wp-includes/class-wp-hook.php(324): Motta\WooCommerce\Catalog->catalog_toolbar() #6 /var/www/vhosts/nois.ch/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #7 /var/www/vhosts/nois.ch/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #8 /var/www/vhosts/nois.ch/httpdocs/wp-content/themes/motta/woocommerce/archive-product.php(49): do_action() #9 /var/www/vhosts/nois.ch/httpdocs/wp-includes/template-loader.php(106): include('...') #10 /var/www/vhosts/nois.ch/httpdocs/wp-blog-header.php(19): require_once('...') #11 /var/www/vhosts/nois.ch/httpdocs/index.php(17): require('...') #12 {main} thrown in /var/www/vhosts/nois.ch/httpdocs/wp-content/themes/motta/inc/woocommerce/catalog.php on line 682

Bildschirmfoto 2024-08-28 um 20.50.38.png
Bildschirmfoto 2024-08-28 um 20.50.34.png
August 28, 2024 at 7:06 pm #16116850

patricG

i could remove the Deprecated: Creation of dynamic property Kirki\Field\Repeater::$compiler is deprecated in /var/www/vhosts/nois.ch/httpdocs/wp-content/plugins/kirki/kirki-packages/compatibility/src/Field.php on line 305

errors by downgrading from PHP 8.2.2 to 8.0.30

but now still get:

Fatal error: Uncaught ValueError: Unknown format specifier "v" in /var/www/vhosts/nois.ch/httpdocs/wp-content/themes/motta/inc/woocommerce/catalog.php:682 Stack trace: #0 /var/www/vhosts/nois.ch/httpdocs/wp-content/themes/motta/inc/woocommerce/catalog.php(682): printf() #1 /var/www/vhosts/nois.ch/httpdocs/wp-includes/class-wp-hook.php(324): Motta\WooCommerce\Catalog->result_count() #2 /var/www/vhosts/nois.ch/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #3 /var/www/vhosts/nois.ch/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #4 /var/www/vhosts/nois.ch/httpdocs/wp-content/themes/motta/inc/woocommerce/catalog.php(641): do_action() #5 /var/www/vhosts/nois.ch/httpdocs/wp-includes/class-wp-hook.php(324): Motta\WooCommerce\Catalog->catalog_toolbar() #6 /var/www/vhosts/nois.ch/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #7 /var/www/vhosts/nois.ch/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #8 /var/www/vhosts/nois.ch/httpdocs/wp-content/themes/motta/woocommerce/archive-product.php(49): do_action() #9 /var/www/vhosts/nois.ch/httpdocs/wp-includes/template-loader.php(106): include('...') #10 /var/www/vhosts/nois.ch/httpdocs/wp-blog-header.php(19): require_once('...') #11 /var/www/vhosts/nois.ch/httpdocs/index.php(17): require('...') #12 {main} thrown in /var/www/vhosts/nois.ch/httpdocs/wp-content/themes/motta/inc/woocommerce/catalog.php on line 682

August 30, 2024 at 9:30 am #16123897

patricG

Do you have a solution for our problem?

August 30, 2024 at 9:16 pm #16126351

Bobby
Supporter

Languages: English (English )

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

Hi there,

Thank you for sharing the error log with me.

I have reviewed it and can confirm that these errors are not related to WPML.

The deprecated errors are coming from the plugin kirki.

The fatal error is originating from the theme Motta.

Fatal error: Uncaught ValueError: Unknown format specifier "v" in /var/www/vhosts/nois.ch/httpdocs/wp-content/themes/motta/inc/woocommerce/catalog.php:682

I have, however, seen a similar issue in the past, try this:

Go to plugins->deactivate WPML or WPML String Translation --> does the error resolve?

The topic ‘[Closed] My shop breaks when switch language and issue with some strings translation’ is closed to new replies.