- 상태
- 미해결
- 주제 태그
- Compatibility, Known issue
문제 개요
WordPress를 새로운 6.7 버전으로 업데이트한 경우 다음 알림을 보셨을 수 있습니다:
Function _load_textdomain_just_in_time was called
- WP 6.7부터 번역은 WP init 훅 이후에 로드되어야 하며, 이 문제에 대한 자세한 내용은 다음 링크에서 확인할 수 있습니다: https://wordpress.org/support/topic/php-error-wp-6-7-notice-function-_load_textdomain_just_in_time-was-called-3/
- 일부 플러그인은 번역 파일을 더 일찍 로드하며, 이로 인해 이전 오류가 발생합니다.
- 오류 메시지에는 문제를 일으킨 플러그인이 표시된다는 점에 유의하세요:
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the woocommerce domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/customer/www/xxx.com/public_html/wp-includes/functions.php on line 6114이 예시에서는 문제가 WooCommerce 도메인에서 발생한다는 점을 확인하세요. 이는 WooCommerce 플러그인에 있을 가능성이 가장 높습니다.
임시 해결 방법
WPML & WooCommerce 플러그인을 최신 버전으로 업데이트하세요.
이 문제가 계속 발생하면 다른 테마나 플러그인과 관련이 있을 가능성이 높습니다.
WordPress 6.7.1에서 이 문제가 해결될 가능성이 높습니다(참조 – https://core.trac.wordpress.org/ticket/62337).