탐색 건너뛰기

Open

Reported for: WP All Import Multilingual 2.3.0

Topic Tags: Compatibility

Overview of the issue

When using WP-CLI to run an import with WP All Import and the WPML All Import add-on, the following error occurs:

PHP Fatal error: Uncaught Error: Class ‘WPML\AI\WCML’ not found in …/wp-content/plugins/wpml-all-import/wpml-all-import.php:275

Workaround

Please make a full backup of your site before proceeding.

  1. Open the …/wp–content/plugins/wpml–all–import/wpml–all–import.php file.
  2. Look for lines 12-14:
    require_once "includes/rapid-addon.php";
    
    require_once "vendor/autoload.php";
    

    And replace them with:

    require_once __DIR__ . "/includes/rapid-addon.php";
     
    require_once __DIR__ . "/vendor/autoload.php";
    

답장을 남겨주세요

주제를 유지하고 다른 사람을 존중하십시오. 이 게시물과 관련 없는 문제에 대한 도움이 필요한 경우 지원 포럼을 사용하여 채팅을 시작하거나 티켓을 제출하십시오.

다음 태그를 사용할 수 있습니다.
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>