This thread is resolved. Here is a description of the problem and solution.
Problem:
After updating the Music Player for WooCommerce and WooCommerce Table Rate Shipping plugins, a PHP warning appeared in the error_log indicating an invalid argument supplied for foreach() in a file related to WooCommerce Multilingual.
Solution:
We have identified that the warning is likely due to a minor incompatibility between WPML and a third-party plugin. However, this does not affect your site's functionality. To remove these warnings, you can modify your wp-config.php file. Locate the line
define('WP_DEBUG', true);
and change it to
define('WP_DEBUG', false);
.
If this solution does not resolve your issue or seems outdated, we 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 further assistance is needed, please open a new support ticket at WPML support forum.
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.