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:
In the PHP error log the following PHP Warnings are being written each time I go to a WP-Admin page:

[Tue May 21 11:34:34.946478 2019] [php7:warn] [pid 12735] [client 133.32.122.22:18704] PHP Warning: include(/opt/rms/apache/htdocs/www/wp-content/plugins/wpml-string-translation/vendor/composer/../../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 /opt/rms/apache/htdocs/www/wp-content/plugins/sitepress-multilingual-cms/vendor/composer/ClassLoader.php on line 444, referer: http://www.website.com/
[Tue May 21 11:34:34.947181 2019] [php7:warn] [pid 12735] [client 133.32.122.22:18704] PHP Warning: include(): Failed opening '/opt/rms/apache/htdocs/www/wp-content/plugins/wpml-string-translation/vendor/composer/../../classes/menus/theme-plugin-localization-ui/factory/class-wpml-st-theme-plugin-localization-options-settings-factory.php' for inclusion (include_path='.:/opt/rms/php/lib/php') in /opt/rms/apache/htdocs/www/wp-content/plugins/sitepress-multilingual-cms/vendor/composer/ClassLoader.php on line 444, referer: http://www.website.com/
[Tue May 21 11:34:34.947220 2019] [php7:warn] [pid 12735] [client 133.32.122.22:18704] PHP Warning: class_implements(): Class WPML_ST_Theme_Plugin_Localization_Options_Settings_Factory does not exist and could not be loaded in /opt/rms/apache/htdocs/www/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php on line 16, referer: http://www.website.com/
[Tue May 21 11:34:34.947230 2019] [php7:warn] [pid 12735] [client 133.32.122.22:18704] PHP Warning: in_array() expects parameter 2 to be array, boolean given in /opt/rms/apache/htdocs/www/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php on line 18, referer: http://www.website.com/
[Tue May 21 11:34:34.947250 2019] [php7:warn] [pid 12735] [client 133.32.122.22:18704] PHP Warning: in_array() expects parameter 2 to be array, boolean given in /opt/rms/apache/htdocs/www/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php on line 19, referer: http://www.website.com/

Solution:
You are using older version of WPML plugins. Please backup your site and update ALL WPML plugins to the latest versions. You can download it from your account: https://wpml.org/account/downloads/

This topic contains 2 replies, has 2 voices.

Last updated by richardC-15 4 months, 3 weeks ago.

Assigned support staff: Noman.

Author Posts
May 28, 2019 at 9:25 am #3904671

richardC-15

In the PHP error log the following PHP Warnings are being written each time I go to a WP-Admin page:

[Tue May 21 11:34:34.946478 2019] [php7:warn] [pid 12735] [client 133.32.122.22:18704] PHP Warning: include(/opt/rms/apache/htdocs/www/wp-content/plugins/wpml-string-translation/vendor/composer/../../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 /opt/rms/apache/htdocs/www/wp-content/plugins/sitepress-multilingual-cms/vendor/composer/ClassLoader.php on line 444, referer: hidden link
[Tue May 21 11:34:34.947181 2019] [php7:warn] [pid 12735] [client 133.32.122.22:18704] PHP Warning: include(): Failed opening '/opt/rms/apache/htdocs/www/wp-content/plugins/wpml-string-translation/vendor/composer/../../classes/menus/theme-plugin-localization-ui/factory/class-wpml-st-theme-plugin-localization-options-settings-factory.php' for inclusion (include_path='.:/opt/rms/php/lib/php') in /opt/rms/apache/htdocs/www/wp-content/plugins/sitepress-multilingual-cms/vendor/composer/ClassLoader.php on line 444, referer: hidden link
[Tue May 21 11:34:34.947220 2019] [php7:warn] [pid 12735] [client 133.32.122.22:18704] PHP Warning: class_implements(): Class WPML_ST_Theme_Plugin_Localization_Options_Settings_Factory does not exist and could not be loaded in /opt/rms/apache/htdocs/www/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php on line 16, referer: hidden link
[Tue May 21 11:34:34.947230 2019] [php7:warn] [pid 12735] [client 133.32.122.22:18704] PHP Warning: in_array() expects parameter 2 to be array, boolean given in /opt/rms/apache/htdocs/www/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php on line 18, referer: hidden link
[Tue May 21 11:34:34.947250 2019] [php7:warn] [pid 12735] [client 133.32.122.22:18704] PHP Warning: in_array() expects parameter 2 to be array, boolean given in /opt/rms/apache/htdocs/www/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php on line 19, referer: hidden link
[Tue May 21 11:34:34.947256 2019] [php7:warn] [pid 12735] [client 133.32.122.22:18704] PHP Warning: in_array() expects parameter 2 to be array, boolean given in /opt/rms/apache/htdocs/www/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php on line 20, referer: hidden link
[Tue May 21 11:34:34.947261 2019] [php7:warn] [pid 12735] [client 133.32.122.22:18704] PHP Warning: in_array() expects parameter 2 to be array, boolean given in /opt/rms/apache/htdocs/www/wp-content/plugins/sitepress-multilingual-cms/classes/action-filter-loader/class-wpml-action-filter-loader.php on line 21, referer: hidden link

May 28, 2019 at 9:52 am #3905035

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting WPML support. Could you please follow below steps and let me know how it goes?

=== Please backup your database and website ===

- You are using older version of WPML plugins. Please backup your site and update ALL WPML plugins to it's latest versions. You can download it from your account: https://wpml.org/account/downloads/

If you face any issue in automatic updates please follow below steps:

1. Please take your full site backup.

2. Deactivate the existing WPML plugin.

3. Delete the plugin files – this does not delete your translations. You will simply delete the plugin files from your "wp-content/plugins" folder, NOT the database records.

4. Download the updated plugins from our servers (https://wpml.org/account/downloads/) and upload them to the plugin directory.

5. Activate the WPML plugin and add-ons.

- You are using older version of WordPress on your site, please backup your site and update WordPress to it’s latest version 5.2.1.

- Please delete all sort of caches on your site / server cache / plugin cache (WP Super Cache) / CDN cache (if any), clear browser cache and then check the page. I would suggest to disable WP Super Cache plugin temporary.

Thank you

May 28, 2019 at 11:00 am #3905913

richardC-15

I upgraded the plugin to the latest version and that seemed to fix the issue. Thank you!