This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This thread is resolved. Here is a description of the problem and solution.

Problem: I've migrated a web site to a new server and there seem to be an issue with WPML. I'm getting error messages on the main page and in the admin panel as well. The translations are not working either.

Solution: It seems that some files are missing from the WPML plugin folder. Please try the following:

- Install and activate this plugin, it will speed up the process: https://wordpress.org/plugins/easy-theme-and-plugin-upgrades/

- Go to https://wpml.org/account/downloads/ and download WPML and the extensions that you are using

- Go to Plugins > Add New and upload the zip files of the plugins

- The plugins will be automatically updated. Activate them if needed.

This topic contains 2 replies, has 2 voices.

Last updated by vincentL-12 12 months ago.

Assigned support staff: Diego Pereira.

Author Posts
October 18, 2018 at 8:49 pm #2829628

vincentL-12

Hi,

I've migrated a web site to a new server and there seem to be an issue with WPML. I'm getting error messages on the main page and in the admin panel as well. The translations are not working either.

Here are the error messages:

Warning: include(/hermes/bosnaweb18a/b1274/nf.chicshackmicroloftsc/public_html/chicshackmicrolofts/wp-content/plugins/wpml-string-translation/classes/menus/theme-plugin-localization-ui/factory/class-wpml-st-theme-plugin-localization-options-settings-factory.php): failed to open stream: No such file or directory in /hermes/bosnaweb18a/b1274/nf.chicshackmicroloftsc/public_html/chicshackmicrolofts/wp-content/plugins/sitepress-multilingual-cms/vendor/composer/ClassLoader.php on line 444 Warning: include(): Failed opening '/hermes/bosnaweb18a/b1274/nf.chicshackmicroloftsc/public_html/chicshackmicrolofts/wp-content/plugins/wpml-string-translation/classes/menus/theme-plugin-localization-ui/factory/class-wpml-st-theme-plugin-localization-options-settings-factory.php' for inclusion (include_path='.:/usr/local/lib/php-5.3.29-amd64/lib/php') in /hermes/bosnaweb18a/b1274/nf.chicshackmicroloftsc/public_html/chicshackmicrolofts/wp-content/plugins/sitepress-multilingual-cms/vendor/composer/ClassLoader.php on line 444 Warning: class_implements(): Class WPML_ST_Theme_Plugin_Localization_Options_Settings_Factory does not exist and could not be loaded in /hermes/bosnaweb18a/b1274/nf.chicshackmicroloftsc/public_html/chicshackmicrolofts/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php on line 16 Warning: in_array() expects parameter 2 to be array, boolean given in /hermes/bosnaweb18a/b1274/nf.chicshackmicroloftsc/public_html/chicshackmicrolofts/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php on line 18 Warning: in_array() expects parameter 2 to be array, boolean given in /hermes/bosnaweb18a/b1274/nf.chicshackmicroloftsc/public_html/chicshackmicrolofts/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php on line 19 Warning: in_array() expects parameter 2 to be array, boolean given in /hermes/bosnaweb18a/b1274/nf.chicshackmicroloftsc/public_html/chicshackmicrolofts/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php on line 20 Warning: in_array() expects parameter 2 to be array, boolean given in /hermes/bosnaweb18a/b1274/nf.chicshackmicroloftsc/public_html/chicshackmicrolofts/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php on line 21 Warning: Cannot modify header information - headers already sent by (output started at /hermes/bosnaweb18a/b1274/nf.chicshackmicroloftsc/public_html/chicshackmicrolofts/wp-content/plugins/sitepress-multilingual-cms/vendor/composer/ClassLoader.php:444) in /hermes/bosnaweb18a/b1274/nf.chicshackmicroloftsc/public_html/chicshackmicrolofts/wp-admin/includes/misc.php on line 1126

Warning: include(/hermes/bosnaweb18a/b1274/nf.chicshackmicroloftsc/public_html/chicshackmicrolofts/wp-content/plugins/wpml-string-translation/classes/menus/theme-plugin-localization-ui/factory/class-wpml-st-theme-plugin-localization-options-settings-factory.php): failed to open stream: No such file or directory in /hermes/bosnaweb18a/b1274/nf.chicshackmicroloftsc/public_html/chicshackmicrolofts/wp-content/plugins/sitepress-multilingual-cms/vendor/composer/ClassLoader.php on line 444 Warning: include(): Failed opening '/hermes/bosnaweb18a/b1274/nf.chicshackmicroloftsc/public_html/chicshackmicrolofts/wp-content/plugins/wpml-string-translation/classes/menus/theme-plugin-localization-ui/factory/class-wpml-st-theme-plugin-localization-options-settings-factory.php' for inclusion (include_path='.:/usr/local/lib/php-5.3.29-amd64/lib/php') in /hermes/bosnaweb18a/b1274/nf.chicshackmicroloftsc/public_html/chicshackmicrolofts/wp-content/plugins/sitepress-multilingual-cms/vendor/composer/ClassLoader.php on line 444 Warning: class_implements(): Class WPML_ST_Theme_Plugin_Localization_Options_Settings_Factory does not exist and could not be loaded in /hermes/bosnaweb18a/b1274/nf.chicshackmicroloftsc/public_html/chicshackmicrolofts/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php on line 16 Warning: in_array() expects parameter 2 to be array, boolean given in /hermes/bosnaweb18a/b1274/nf.chicshackmicroloftsc/public_html/chicshackmicrolofts/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php on line 18 Warning: in_array() expects parameter 2 to be array, boolean given in /hermes/bosnaweb18a/b1274/nf.chicshackmicroloftsc/public_html/chicshackmicrolofts/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php on line 19 Warning: in_array() expects parameter 2 to be array, boolean given in /hermes/bosnaweb18a/b1274/nf.chicshackmicroloftsc/public_html/chicshackmicrolofts/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php on line 20 Warning: in_array() expects parameter 2 to be array, boolean given in /hermes/bosnaweb18a/b1274/nf.chicshackmicroloftsc/public_html/chicshackmicrolofts/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php on line 21

Thank you very much for your help

October 20, 2018 at 1:00 pm #2834182

Diego Pereira
Supporter

Languages: English (English ) Spanish (Español ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello @vincentl-12, welcome to the WPML support Forum!

It seems that some files are missing from the WPML plugin folder. Please try the following:
- Install and activate this plugin, it will speed up the process: https://wordpress.org/plugins/easy-theme-and-plugin-upgrades/
- Go to https://wpml.org/account/downloads/ and download WPML and the extensions that you are using
- Go to Plugins > Add New and upload the zip files of the plugins
- The plugins will be automatically updated. Activate them if needed.

Please let me know if it worked for you.

All the best,
Diego

October 23, 2018 at 9:17 pm #2844108

vincentL-12

My issue is resolved now. Thank you!