Skip Navigation

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

Problem:
The client is experiencing a fatal error when trying to activate WooCommerce Multilingual & Multicurrency with String Translation on their ecommerce website. The error indicates a call to an undefined method in WooCommerce.
Solution:
We recommend updating the WooCommerce plugin to the latest version to ensure compatibility with the current WordPress version. It is also advised to update all related plugins. Before making any updates, it is crucial to back up the database to prevent data loss.

If this solution does not resolve the issue, we encourage the client to open a new support ticket with us 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 3 replies, has 2 voices.

Last updated by Andrey 1 year, 6 months ago.

Assisted by: Andrey.

Author Posts
November 28, 2023 at 5:01 pm #14942933

damianV-2

Hello,
I am trying to activate WooCommerce Multilingual & Multicurrency with String Translation on my ecommerce website, but get fatal error on the admin panel. Separatly String Translation is working properly.

Fatal error: Uncaught Error: Call to undefined method Automattic\WooCommerce\Internal\DataStores\Orders\DataSynchronizer::get_table_exists in /home/cave/domains/caveandgarden.nl/public_html/wp-content/plugins/woocommerce/src/Internal/Traits/AccessiblePrivateMethods.php:164 Stack trace: #0 [internal function]: Automattic\WooCommerce\Internal\DataStores\Orders\DataSynchronizer->__call('get_table_exist...', Array) #1 /home/cave/domains/caveandgarden.nl/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Invoker/Invoker.php(41): call_user_func_array(Array, Array) #2 /home/cave/domains/caveandgarden.nl/public_html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/fp/core/Maybe.php(106): WPML\FP\Invoker\_Invoker->__invoke(Object(Automattic\WooCommerce\Internal\DataStores\Orders\DataSynchronizer)) #3 /home/cave/domains/caveandgarden.nl/public_html/wp-content/plugins/woocommerce-multilingual/classes/COT/Helper.php(80): WPML\FP\Just->map(Object(WPML\FP\Invoker\_Invoker)) #4 /home/cave/domains/cave in /home/cave/domains/caveandgarden.nl/public_html/wp-content/plugins/woocommerce/src/Internal/Traits/AccessiblePrivateMethods.php on line 164

I've red a lot of information on closed tickets at your website but still don't find out solution, so that's why I am opening that ticket. I can't disable my plugins, because webshop is working and customers are using it.

caveandgarden.nl

ScreenShot Tool -20231128175928.png
ScreenShot Tool -20231128175819.png
November 28, 2023 at 8:44 pm #14944489

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

Thank you for contacting WPML support.

Based on the shared error, the fatal error comes from WooCommerce plugin. I found out that you are using an outdated WooCommerce plugin with the latest WordPress version. First, you need to update WooCommerce to the latest version and the other related plugins on your site.

Before proceeding with any updates, please remember to back up your database first.

November 30, 2023 at 1:26 pm #14963081

damianV-2

Thanks Andrey, updating WooCommerce helped. My bad, idk why but plugin autoupdates turned off automatically on my website, so I couldn't even see that is outdated. Dyakuyu! 🙂

November 30, 2023 at 1:46 pm #14963305

Andrey
WPML Supporter since 06/2013

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+03:00)

No worries at all! I am glad that it is solved now. Budʹlaska 🙂