- Status
- Resolved
- Type
- Bug
- Reported for
- WPML Multilingual CMS 4.7.0
- Topic tags
- Bug
Overview of the issue
You might encounter error like this one:
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()
Workaround
in /wp-content/plugins/sitepress-multilingual-cms/classes/ICL-20-migration/ui/class-wpml-tm-icl20-migration-notices.php we have:
/**
* Builds the notice shown when the migration is required
*/
private function build_migration_required() {change it to:
/**
* Builds the notice shown when the migration is required
*/
public function build_migration_required() {