답변 1개
채택된 답변
+20 포인트
plugins/gnupay-kcp/gnupay-kcp.php
파일에 보시면
188번째 줄에 아래와 같이 되어 있는 부분이 있습니다.
if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) {
$this->is_plugin_active = true;
}
이것을 아래와 같이 고쳐 보세요.
Copy
if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) || class_exists( 'woocommerce' ) ) { $this->is_plugin_active = true; }
답변을 작성하려면 로그인이 필요합니다.