WPML
ステータス
解決済み
タイプ
バグ
報告対象
WPML Multilingual CMS 4.7.0
トピックタグ
Bug

問題の概要

このようなエラーが発生する場合があります。

Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, cannot access private method WPML_TM_ICL20_Migration_Notices::build_migration_required()

回避策

/wp-content/plugins/sitepress-multilingual-cms/classes/ICL-20-migration/ui/class-wpml-tm-icl20-migration-notices.phpの以下のコードを:

	/**
	 * Builds the notice shown when the migration is required
	 */
	private function build_migration_required() {

次のように変更します:
	/**
	 * Builds the notice shown when the migration is required
	 */
	public function build_migration_required() {

すべての既知の問題