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 1 reply, has 2 voices.

Last updated by Rohan Sadanandan 3 months, 1 week ago.

Assigned support staff: Rohan Sadanandan.

Author Posts
July 9, 2019 at 10:06 am #4169459

dennisL-5

I am trying to: use multistore together with WPML

Link to a page where the issue can be seen: i've disabled WPML String Translation so there's no error visible. When WPML String Translation is active it returns:

Fatal error: Uncaught Error: Call to undefined function icl_get_string_id() in /home/dns13pwsurf/public_html/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-wc-strings.php:335 Stack trace: #0 /home/dns13pwsurf/public_html/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-wc-strings.php(109): WCML_WC_Strings->get_string_language('taxonomy singul...', 'WordPress') #1 /home/dns13pwsurf/public_html/wp-includes/class-wp-hook.php(286): WCML_WC_Strings->translated_attribute_label('finsize', 'finsize', Object(WC_Product_Variation)) #2 /home/dns13pwsurf/public_html/wp-includes/plugin.php(208): WP_Hook->apply_filters('finsize', Array) #3 /home/dns13pwsurf/public_html/wp-content/plugins/woocommerce/includes/wc-attribute-functions.php(211): apply_filters('woocommerce_att...', 'finsize', 'finsize', Object(WC_Product_Variation)) #4 /home/dns13pwsurf/public_html/wp-content/plugins/woocommerce/includes/wc-product-functions.php(372): wc_attribute_label('finsize', Object(WC_Product_Variation)) #5 /home/dns13pwsurf/publi in /home/dns13pwsurf/public_html/wp-content/plugins/woocommerce-multilingual/inc/class-wcml-wc-strings.php on line 335
The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.

July 9, 2019 at 2:28 pm #4171863

Rohan Sadanandan
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello,

Thank you for contacting WPML Support.

As you have disabled WPML & the add-on plugins, I'm not able to get the version information from the debug information.

Could you please confirm whether WPML & the add-on plugins are up to date?

I need to request temporary access (wp-admin and FTP) to your site - preferably to a test site where the problem has been replicated if possible - in order to be of better help. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.
Instructions to send private information are here: hidden link

Privacy and Security when Providing Debug Information for Support:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/

Thanks,
Rohan

The topic ‘[Closed] WPML String Translation gives error’ is closed to new replies.