WPML
상태
개발자가 해결함
관련 플러그인/테마
Consulting
주제 태그
Compatibility, Elementor Custom Widgets

문제 개요

WPML 및 Elementor와 함께 Consulting 테마사이드바 위젯(stm_sidebar)을 사용할 때 다음과 같은 PHP 경고가 발생할 수 있습니다:

Warning: Undefined array key "elements" in /wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/class-wpml-elementor-translate-ids.php on line 120

Warning: foreach() argument must be of type array|object, null given in /wp-content/plugins/sitepress-multilingual-cms/addons/wpml-page-builders/classes/Integrations/Elementor/class-wpml-elementor-translate-ids.php on line 112

임시 해결 방법

이 문제를 해결하기 위해 테마 개발자와 이미 연락을 취하고 있습니다.

그동안 프런트엔드에서 이러한 경고가 표시되는 경우 wp-config.php 파일을 편집하여 경고를 숨길 수 있습니다.
계속 진행하기 전에 반드시 사이트의 전체 사이트 백업을 완료하세요.


  • WordPress 설치 루트에서 wp-config.php 파일을 여세요.

  • 다음을 찾으세요.
    define('WP_DEBUG', true);
            


  • 다음으로 교체하세요.
    define('WP_DEBUG', true);
    define('WP_DEBUG_DISPLAY', false);
            

수정 사항에 진전이 있는 대로 이 페이지를 업데이트하겠습니다.

알려진 모든 문제 →