WPML
Status
Resolved
Reported for
WPML Multilingual CMS 4.3.4
Resolved in
4.3.6

Overview of the issue

After the WPML 4.3.0 update, some sites are displaying the “REST API is disabled, blocking some features of WPML” notice even though the REST API isn’t actually disabled.

Workaround


While we are working on a fix to address this problem, you can temporarily disable this REST API detection feature by editing the functions.php file found in the ../wp-content/plugins/sitepress-multilingual-cms/inc/ folder and at line 818 replace:


function wpml_is_rest_enabled() {
return make( \WPML\Core\REST\Status::class )->isEnabled();
}

With:


function wpml_is_rest_enabled() {
return true;
}

All known issues →