oliverS-63
Hi there,
I'm currently facing an issue regarding the ATE. After migrating the site to a new Domain, it started showing that there has been a critical error, when trying to update translations.
I already did the following:
-> Updated all Plugins to it's newest versions
-> Deactivated everything except Elementor / WPML Multilingual CMS
-> Went to Support -> Troubleshooting -> Synchronize local job ids withe ATE jobs + Set language information. After that I went ahead and deleted all open jobs from the translation management. Still didn't work.
I activated the debug log. Here is the informatione:
Fatal error: Uncaught Error: Call to undefined function mb_ereg_replace_callback() in /srv/www/2023.lgt-institute.de/wordpress/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-validate-html.php:124 Stack trace: #0 /srv/www/2023.lgt-institute.de/wordpress/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-validate-html.php(34): WPML_TM_Validate_HTML->hide_wp_bugs() #1 /srv/www/2023.lgt-institute.de/wordpress/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/wpml-tm-xliff.php(196): WPML_TM_Validate_HTML->validate() #2 /srv/www/2023.lgt-institute.de/wordpress/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/wpml-tm-xliff.php(169): WPML_TM_XLIFF->validate() #3 /srv/www/2023.lgt-institute.de/wordpress/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/wpml-tm-xliff.php(141): WPML_TM_XLIFF->appendData() #4 /srv/www/2023.lgt-institute.de/wordpress/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-writer.php(133): WPML_TM_XLIFF->setTranslationUnits() #5 /srv/www/2023.lgt-institute.de/wordpress/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-writer.php(68): WPML_TM_Xliff_Writer->generate_xliff() #6 /srv/www/2023.lgt-institute.de/wordpress/wp-content/plugins/sitepress-multilingual-cms/inc/functions-load-tm.php(568): WPML_TM_Xliff_Writer->generate_job_xliff() #7 /srv/www/2023.lgt-institute.de/wordpress/wp-content/plugins/sitepress-multilingual-cms/inc/functions-load-tm.php(541): wpml_tm_get_job_xliff() #8 /srv/www/2023.lgt-institute.de/wordpress/wp-content/plugins/sitepress-multilingual-cms/classes/menu/translation-queue/CloneJobs.php(74): wpml_tm_create_ATE_job_creation_model() #9 /srv/www/2023.lgt-institute.de/wordpress/wp-content/plugins/sitepress-multilingual-cms/classes/editor/Editor.php(251): WPML\TM\Menu\TranslationQueue\CloneJobs->cloneWPMLJob() #10 /srv/www/2023.lgt-institute.de/wordpress/wp-content/plugins/sitepress-multilingual-cms/classes/editor/Editor.php(146): WPML\TM\Editor\Editor->createATECounterpartForExistingWPMLJob() #11 /srv/www/2023.lgt-institute.de/wordpress/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Either.php(207): WPML\TM\Editor\Editor->WPML\TM\Editor\{closure}() #12 /srv/www/2023.lgt-institute.de/wordpress/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Either.php(257): WPML\FP\Right->map() #13 /srv/www/2023.lgt-institute.de/wordpress/wp-content/plugins/sitepress-multilingual-cms/classes/editor/Editor.php(152): WPML\FP\Right->chain() #14 [internal function]: WPML\TM\Editor\Editor->WPML\TM\Editor\{closure}() #15 /srv/www/2023.lgt-institute.de/wordpress/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(154): call_user_func_array() #16 /srv/www/2023.lgt-institute.de/wordpress/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Logic.php(40): WPML\FP\{closure}() #17 [internal function]: WPML\FP\Logic::WPML\FP\{closure}() #18 /srv/www/2023.lgt-institute.de/wordpress/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/functions.php(154): call_user_func_array() #19 /srv/www/2023.lgt-institute.de/wordpress/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Either.php(207): WPML\FP\{closure}() #20 /srv/www/2023.lgt-institute.de/wordpress/wp-content/plugins/sitepress-multilingual-cms/classes/editor/Editor.php(89): WPML\FP\Right->map() #21 /srv/www/2023.lgt-institute.de/wordpress/wp-content/plugins/sitepress-multilingual-cms/classes/menu/translation-queue/class-wpml-translations-queue.php(52): WPML\TM\Editor\Editor->open() #22 /srv/www/2023.lgt-institute.de/wordpress/wp-includes/class-wp-hook.php(310): WPML_Translations_Queue->load() #23 /srv/www/2023.lgt-institute.de/wordpress/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #24 /srv/www/2023.lgt-institute.de/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action() #25 /srv/www/2023.lgt-institute.de/wordpress/wp-admin/includes/class-wp-screen.php(424): do_action() #26 /srv/www/2023.lgt-institute.de/wordpress/wp-admin/includes/screen.php(243): WP_Screen->set_current_screen() #27 /srv/www/2023.lgt-institute.de/wordpress/wp-admin/admin.php(212): set_current_screen() #28 {main} thrown in /srv/www/2023.lgt-institute.de/wordpress/wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-validate-html.php on line 124
Hoping for your assistance!
Best regards!
Bruno Kos
Supporter
Sprachen:
Englisch (English )
Deutsch (Deutsch )
Französisch (Français )
Zeitzone:
Europe/Zagreb (GMT+02:00)
Hi,
Thank you for contacting WPML support!
Can you check this?
https://wpml.org/forums/topic/call-to-undefined-function-mb_ereg_replace_callback/#post-10349045
Regards,
Bruno Kos