- 상태
- 해결됨
- 유형
- 버그
- 보고 대상
- WPML Multilingual & Multicurrency for WooCommerce 5.0.0
- 해결된 버전
- 5.0.1
문제 개요
WPML Multilingual & Multicurrency for WooCommerce 5.0.0으로 업데이트했지만 WPML 코어 플러그인 버전이 4.5.2 이전인 경우 다음 오류가 발생합니다:
PHP Fatal error: Uncaught TypeError: Argument 3 passed to WCML_Switch_Lang_Request::__construct() must be an instance of WPML\Core\ISitePress, instance of SitePress given, called in …/wp-content/plugins/woocommerce-multilingual/wpml-woocommerce.php on line 62 and defined in …/wp-content/plugins/woocommerce-multilingual/inc/wcml-switch-lang-request.php:16
임시 해결 방법
WCML 5.0.0으로 업데이트하기 전에 WPML Multilingual CMS 플러그인을 사용 가능한 최신 버전으로 업데이트하세요.