Skip Navigation

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 7 replies, has 2 voices.

Last updated by canert-2 2 years, 5 months ago.

Assisted by: Bigul.

Author Posts
September 13, 2022 at 1:23 pm #12043563

canert-2

hidden link

sıra.PNG
September 13, 2022 at 3:49 pm #12045543

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hello,

Welcome to the WPML support forum. I will do my best to help you to resolve the issue.

Please install WPML String Translation and WooCommerce Multilingual plugins after a full site backup{mandatory}. These two plugins are a must for translating the WooCommerce elements successfully. Refer to the following documentation for more details. Then make sure the bug is existing or not.

https://wpml.org/documentation/related-projects/woocommerce-multilingual/

If the issue exists, please share with us the WordPress debug.log(not WPML debug information) for collecting more details on this. Refer to this page for instructions https://wpml.org/documentation/support/debugging-wpml/

To enable the WordPress Debug log, open your wp-config.php file of site root and look for define('WP_DEBUG', false);. Change it to:

// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
 
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
 
// Disable display of errors and warnings 
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );

In this case, the errors will be saved to a debug.log log file inside the */wp-content/* directory. Please do the steps to reproduce the bug and check if you are getting any errors or warnings related to WPML in the log file.

If you can paste your debug.log to http://pastebin.com/index.php and provide me that link it would be great! (This is the cleanest way because sometimes the logs are long and create a complete mess of discussion).

--
Thanks!

Bigul

September 13, 2022 at 6:21 pm #12046189

canert-2

The problem continues. I added the code. Can you open the private area where I can share WordPress host information?

hidden link

September 14, 2022 at 8:15 am #12048895

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hello,

Thank you for the updates. The debug log is showing an error related to WPML. This may be causing the issue and its looks like an interaction issue from some other plugin.

PHP Fatal error:  Uncaught InvalidArgumentException: item should be a Collection or an array or an object in /var/www/clients/client5888/web11697/web/new_site/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Obj.php:112

Maybe you are facing this issue because of compatibility conflicts. So to make sure if possible, please do the following steps. If you have a staging/dev site, please do these steps there.

a) Backup your site first[Mandatory]
b) Switch for a moment to a WordPress default theme like 2022
c) Deactivate all the plugins that are not related to WPML except
d) Then check whether the issue is existing or not
e) If the issue is gone, activate the plugins as a group of three or four to find which one has an interaction issue
f) Switch back to the original theme of the site

--
Thanks!

Bigul

September 14, 2022 at 3:54 pm #12053675

canert-2

Disabling the plugin named "Nasa Core" solves the problem, but this plugin is required for the theme to work. I updated the theme and this plugin and the problem persists. The theme's demo page does not have the same problem.
hidden link?

September 14, 2022 at 3:55 pm #12053679

canert-2

hidden link

September 15, 2022 at 11:33 am #12059009

Bigul
Supporter

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hello,

Thank you for the updates. It looks like a compability issue. For your kind information, *Flozen* theme is not included on the WPML official compatibility list for the themes - https://wpml.org/theme/. It does not mean that this theme is not compatible with WPML, but our compatibility team has not tested it yet.

Therefore to troubleshoot the issue I have created a fresh installation in our Cloudways space. Please click the following URL to access it dashboard. Then install Flozen Theme and Nasa Core plugin, and make sure the issue is existing or not.

hidden link

Reproducing the issue in a fresh installation will help us a lot in debugging. Thank you for your understanding.

--
Thanks!

Bigul

September 15, 2022 at 5:21 pm #12062415

canert-2

My issue is resolved now. Thank you!
''After installing the missing plugins of the theme, the problem went away.''