This thread is resolved. Here is a description of the problem and solution.
Problem:
When trying to translate products with WooCommerce Multilingual, the following error appears:
An error of type E_ERROR was caused in line 124 of the file ......./wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-validate-html.php Error message: Uncaught Error: Call to undefined function mb_ereg_replace_callback() in ......./wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-validate-html.php:124
Solution:
The 'Multibyte String' PHP extension was not being enabled on the server. We recommend that you contact your hosting support and ask them to enable the 'Multibyte String' PHP extension. This extension is necessary for WPML to work properly. Please check the WPML’s Minimum Requirements.
For more information on the 'Multibyte String' PHP extension, you can visit the PHP manual at https://www.php.net/manual/en/book.mbstring.php.
If this solution doesn't look relevant, please open a new support ticket in our forum at https://wpml.org/forums/forum/english-support/.
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 11 months ago.
Assisted by: Mohamed Sayed.