跳转至内容 跳转至侧边栏

標籤: 

本主题包含 0 則回覆 ,有 1 嗓音 。

最后由 Rick Hunnersen 1 years, 2 months前 更新。

协助者:: Noman.

作者 帖子
6 5 月, 2024 于 12:47 下午 #15597364

Rick Hunnersen

When I try to translate a product after importing them, the WooCommerce Multilanguage Plugin returns a critical error:

Error 1:

Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Shared/st/strategy/shortcode/class-wpml-pb-register-shortcodes.php on line 151

Error 2:

Fatal error: Uncaught TypeError: array_filter(): Argument #1 ($array) must be of type array, string given in /plugins/woocommerce-multilingual/inc/translation-editor/class-wcml-editor-ui-product-job.php:612

I can't translate anything now...

I use the classic editor and I don't want to switch to the new one since the UX is horrible and doesn't translate quite as easily as the classic one. However, when I switch to the new one, I can translate the product. So I'm guessing that the issue lays somewhere there.

Also, when I don't import products and manually make them, I can then translate them in the classic editor. Very strange.

Do you the solution?