WPML
Status
Resolved
Reported for
WPML Multilingual CMS 4.5.7
Resolved in
4.6.0

Overview of the issue

If you are running a server with PHP8, whenever you try to activate the Enable auto-updates option in DashboardPlugins, you will get the following error:

PHP Fatal error: Uncaught TypeError: array_diff(): Argument #2 must be of type array, bool given in …/wp-content/plugins/sitepress-multilingual-cms/vendor/otgs/installer/includes/upgrade/AutoUpgrade.php:39

Workaround

As a workaround:


  1. Go to DashboardPlugins.

  2. Disable WPML Multilingual CMS.

  3. Activate the Enable auto-updates option.

  4. Re-enable WPML.

All known issues →