This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is experiencing PHP warnings on their WordPress site related to the WPML plugin. The warnings are due to the
wpml_upgrade_status
option in the
wp_options
table being a string instead of an array, which affects the
array_key_exists()
and causes illegal string offset errors in
CommandsStatus.php
.
Solution:
First, we recommend updating the WPML plugin and all its add-ons to the latest version, currently 4.7.6, to ensure all recent fixes and improvements are applied. Update instructions can be found here: http://wpml.org/faq/install-wpml/.
If updating does not resolve the issue, we suggest removing the
wpml_update_statuses
entry from the
wp_options
database table after making a backup of your database.
If the problem persists, please provide us with a staging site or a Duplicator copy of your website for further investigation. Instructions for creating a duplicator copy can be found here: https://wpml.org/fr/faq/provide-supporters-copy-site/.
Please note that this solution might be outdated or not applicable to your specific case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, do not hesitate to open a new support ticket for further assistance.
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 topic contains 4 replies, has 1 voice.
Last updated by 1 month, 2 weeks ago.
Assisted by: Dražen.