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.

Tagged: 

This topic contains 3 replies, has 2 voices.

Last updated by Andrey 1 year, 3 months ago.

Assisted by: Andrey.

Author Posts
October 18, 2023 at 3:48 pm #14606751

karolinaV

Hi, we use WCML (without multiple languages) for a half year, now I wanted to add full WPML experience, installed together with String translation plugin and when entering WooCommerce orderes it failed with this fatal error while customer wanted to mark an order as delivered. Do you know, what's going on and how I could easilly fix it?

WordPress verze 6.3.2
Aktuální šablona: Porto Child (verze 1.2)
Aktuální plugin: WooCommerce Multilingual & Multicurrency (verze 5.2.1)
Verze PHP 8.1.23

Podrobnosti chyby
=================
Na řádku č. 26 v souboru /www/hosting/kamnazvyroby.cz/www/wp-content/plugins/woocommerce-multilingual/classes/Tax/Strings/Hooks.php došlo k chybě typu E_ERROR. Chybová zpráva: Uncaught Error: Call to undefined function WCML\Tax\Strings\icl_get_string_id() in /www/hosting/kamnazvyroby.cz/www/wp-content/plugins/woocommerce-multilingual/classes/Tax/Strings/Hooks.php:26
Stack trace:
#0 /www/hosting/kamnazvyroby.cz/www/wp-includes/class-wp-hook.php(310): WCML\Tax\Strings\Hooks->translateLabelString()
#1 /www/hosting/kamnazvyroby.cz/www/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#2 /www/hosting/kamnazvyroby.cz/www/wp-content/plugins/woocommerce/includes/class-wc-tax.php(683): apply_filters()
#3 /www/hosting/kamnazvyroby.cz/www/wp-content/plugins/woocommerce/includes/admin/meta-boxes/views/html-order-items.php(463): WC_Tax::get_rate_label()
#4 /www/hosting/kamnazvyroby.cz/www/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-items.php(40): include('...')
#5 /www/hosting/kamnazvyroby.cz/www/wp-admin/includes/template.php(1443): WC_Meta_Box_Order_Items::output()
#6 /www/hosting/kamnazvyroby.cz/www/wp-admin/edit-form-advanced.php(688): do_meta_boxes()
#7 /www/hosting/kamnazvyroby.cz/www/wp-admin/post.php(206): require('...')
#8 {main}
thrown

And the second question - if I select same domain install with suffix (like /en, /sk etc.) could I use it for development and switch it to full domain when all the content is filed?

Thanks a lot!
Karolina

October 18, 2023 at 10:03 pm #14609061

Andrey
Supporter

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

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

I’m sorry that you ran into trouble with this. It looks like not all the plugins have been installed. We just released the new WPML plugins. Please ensure the latest versions of WPML and WPML String Translations are installed.

You can check the latest released versions under "My Account -> Downloads" on this site. Instructions to update can be found here: http://wpml.org/faq/install-wpml/

Please remember to back up your database first before you proceed.

To help you faster, I've enabled debug information for this support ticket. Please see this link for how to get this information from your site and give it to us:
http://wpml.org/faq/provide-debug-information-faster-support/

October 19, 2023 at 10:29 am #14613873
karolinaV

Hi, I will test it out, but can I please get an answer to the second question?

And the second question - if I select same domain install with suffix (like /en, /sk etc.) could I use it for development and switch it to full domain when all the content is filed?

New threads created by Andrey and linked to this one are listed below:

https://wpml.org/forums/topic/split-if-i-select-same-domain-install-with-suffix/

October 19, 2023 at 1:13 pm #14615441

Andrey
Supporter

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

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

Yes, of course. I opened a new ticket for your new question. This will also help other users with similar problems find solutions when searching the forum.

I'll reply you here:
https://wpml.org/forums/topic/split-if-i-select-same-domain-install-with-suffix/#post-14615439