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: Exception
This topic contains 6 replies, has 2 voices.
Last updated by Marcel 4 days, 16 hours ago.
Assisted by: Marcel.
Author | Posts |
---|---|
December 16, 2024 at 7:29 pm #16518708 | |
gregoryT-4 |
Background of the issue: Symptoms: Questions: |
December 16, 2024 at 8:11 pm #16518779 | |
Andrey Supporter Languages: English (English ) Russian (Русский ) Timezone: Europe/Kyiv (GMT+02:00) |
While one of my teammates addresses your ticket, I will outline the initial debugging steps for you. Did the issue occur after you updated to WPML 4.6.15 with Elementor 3.26.0? What are the results if you test with a new page or any other existing page? If you have a staging site, please conduct a test with only WPML and Elementor activated. |
December 16, 2024 at 8:42 pm #16518941 | |
gregoryT-4 |
Hi Andrey, Yes, the issue started to occur after updating to WPML 4.6.15 with Elementor & Elementor Pro 3.26.0. Elementor won't load on any existing page after we click Edit with Elementor. Previously under WPML 4.6.14 and Elementor 3.25.x & Elementor Pro 3.25.x, everything worked well. Since you mentioned testing with only WPML and Elementor, I looked at the PHP error logs more, it appears there's an issue with Rank Math 1.0.234 & Rank Math Pro 3.0.77 (the latest released versions) and Elementor 3.26.0. Perhaps related to the Scheme Deletions as described in the Elementor 3.26 release document. hidden link The fatal errors are shown below. After disabling the two plugins: Rank Math SEO and Rank Math SEO Pro plugins, Elementor will properly load on the website and the WPML errors in the PHP log seem to go away. PHP Fatal error: Uncaught Error: Class "Elementor\Core\Schemes\Typography" not found in /wp-content/plugins/seo-by-rank-math-pro/includes/3rdparty/elementor/class-widget-breadcrumbs.php:149 Stack trace: #0 /wp-content/plugins/elementor/includes/base/controls-stack.php(2386): RankMathPro\Elementor\Widget_Breadcrumbs->register_controls() #1 /wp-content/plugins/elementor/includes/base/widget-base.php(1050): Elementor\Controls_Stack->init_controls() #2 /wp-content/plugins/elementor/includes/base/controls-stack.php(569): Elementor\Widget_Base->init_controls() #3 /wp-content/plugins/elementor/includes/base/widget-base.php(184): Elementor\Controls_Stack->get_stack() #4 /wp-content/plugins/elementor/includes/managers/widgets.php(391): Elementor\Widget_Base->get_stack(false) #5 [internal function]: Elementor\Widgets_Manager->ajax_get_widget_types_controls_config(Array, Object(Elementor\Core\Common\Modules\Ajax\Module)) #6 /wp-content/plugins/elementor/core/common/modules/ajax/module.php(176): call_user_func(Array, Array, Object(Elementor\Core\Common\Modules\Ajax\Module)) #7 /wp-includes/class-wp-hook.php(324): Elementor\Core\Common\Modules\Ajax\Module->handle_ajax_request('') #8 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #9 /wp-includes/plugin.php(517): WP_Hook->do_action(Array) #10 /wp-admin/admin-ajax.php(192): do_action('wp_ajax_element...') #11 {main} thrown in /wp-content/plugins/seo-by-rank-math-pro/includes/3rdparty/elementor/class-widget-breadcrumbs.php on line 149 PHP Warning: simplexml_load_string(): Entity: line 140: parser error : Opening and ending tag mismatch: br line 140 and strong in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 PHP Warning: simplexml_load_string(): olor: #603594;color: #603594;<strong style="">2. Written Reflection<br></strong> in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 PHP Warning: simplexml_load_string(): ^ in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 |
December 17, 2024 at 8:34 am #16520273 | |
Marcel Supporter
Languages: English (English ) German (Deutsch ) Timezone: Europe/Madrid (GMT+01:00) |
Hi, yes, Elementor has removed an old class that caused a fatal error in our integration. Fortunately, our tests detected this issue before release, and we were able to create a fix in WPML 4.6.15. However, other plugins and themes may encounter the same issue if they haven't addressed it in time. Based on the error log, it seems that the problem originates from Rank Math's code. I recommend reaching out to the Rank Math support team and sharing the fatal error details with them. Regarding the PHP warning "simplexml_load_string()", please let us know if it persists afterward. Best regards, |
December 17, 2024 at 5:04 pm #16523017 | |
gregoryT-4 |
Hi Marcel, Rank Math released Rank Math Pro 3.0.77.1 to fix the issue. After installing this update, the fatal error goes away and Elementor loads properly when clicking Edit with Elementor. Apologies for not looking more closely at the PHP error log before opening this ticket with WPML. For the simplexml_load_string() issue with WPML, it does persist after installing the Rank Math Pro update. I looked at the PHP error logs and it appears the simplexml_load_string() issue began on December 2nd, before Elementor 3.26.0 was released. Below is an example from the PHP error log showing this problem today. Should I open a different ticket for this issue or continue responding here? [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): Entity: line 140: parser error : Opening and ending tag mismatch: br line 140 and strong in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): olor: #603594;color: #603594;<strong style="">2. Written Reflection<br></strong> in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): ^ in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): Entity: line 144: parser error : Opening and ending tag mismatch: br line 144 and p in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): 上學術提升之旅Separator TextSeparator TextSend inquiry諮詢課程 </p> in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): ^ in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): Entity: line 144: parser error : Opening and ending tag mismatch: br line 144 and p in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): �意寫作;電影;表演藝術:音樂與舞蹈;互動與多媒體。</p> in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): ^ in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): Entity: line 144: parser error : Opening and ending tag mismatch: br line 144 and p in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): >4. 比賽結果</strong><br>比賽得獎者將於 2025 年 11 月公佈。 </p> in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): ^ in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): Entity: line 144: parser error : Sequence ']]>' not allowed in content in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): �500美元</li><li>珍珠獎:250美元</li><li>榮譽獎:100美元</li></ul> in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): ^ in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): Entity: line 144: parser error : Opening and ending tag mismatch: p line 144 and target in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): /li><li>珍珠獎:250美元</li><li>榮譽獎:100美元</li></ul>]]></target in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): ^ in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): Entity: line 145: parser error : Opening and ending tag mismatch: p line 144 and trans-unit in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): </trans-unit> in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): ^ in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): Entity: line 324: parser error : Opening and ending tag mismatch: strong line 140 and body in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): </body> in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): ^ in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): Entity: line 325: parser error : Opening and ending tag mismatch: br line 140 and file in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): </file> in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): ^ in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): Entity: line 326: parser error : Opening and ending tag mismatch: br line 139 and xliff in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): </xliff> in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): ^ in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): Entity: line 326: parser error : Premature end of data in tag target line 136 in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): </xliff> in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): ^ in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): Entity: line 326: parser error : Premature end of data in tag trans-unit line 134 in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): </xliff> in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): ^ in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): Entity: line 326: parser error : Premature end of data in tag body line 17 in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): </xliff> in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): ^ in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): Entity: line 326: parser error : Premature end of data in tag file line 3 in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): </xliff> in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): ^ in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): Entity: line 326: parser error : Premature end of data in tag xliff line 2 in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): </xliff> in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 [17-Dec-2024 16:07:07 UTC] PHP Warning: simplexml_load_string(): ^ in /wp-content/plugins/sitepress-multilingual-cms/classes/xliff/class-wpml-tm-xliff-reader.php on line 21 |
December 17, 2024 at 9:22 pm #16523619 | |
gregoryT-4 |
Hi Marcel, I wanted to further share additional information related to the PHP Warnings above. I checked with the user who is doing the translations on the website. The user told me she tried to translate the page with the Chinese text shown in the PHP Warnings above on December 2nd. However, she received an error in WPML and was unable to complete the translation. It looks like the PHP Warnings in the log contain this same Chinese text from the same page that failed to translate on December 2nd. |
December 18, 2024 at 8:09 am #16524479 | |
Marcel Supporter
Languages: English (English ) German (Deutsch ) Timezone: Europe/Madrid (GMT+01:00) |
Hi, thanks for the info! Yes, please create a separate ticket for this issue. So far, we haven't received any other reports, and since SimpleXML is a server component, this might be specific to your installation. Could you also include screenshots of the error message your user encountered? Thank you! Best regards, |