Skip Navigation

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

Problem:
The client is experiencing an issue where pages are not displaying correctly due to an error with the SSB WooCommerce MultiLanguage Products plugin. The error log shows:

Call to a member function get_cart() on null

at a specific file path.
Solution:
We recommend deactivating the SSB WooCommerce MultiLanguage Products plugin, reloading the page, and waiting a few seconds. This should allow the translation to be delivered completely to the site. If this solution does not resolve the issue or seems outdated, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. If the problem persists, we encourage you to open a new support ticket for further assistance 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.

Tagged: 

This topic contains 10 replies, has 3 voices.

Last updated by Osama Mersal 11 months, 3 weeks ago.

Assisted by: Osama Mersal.

Author Posts
July 2, 2024 at 6:40 pm #15877644

johnD-63

Background of the issue:
Translate and publish it.

Symptoms:
showing pages are "waiting for automatic translation"

Questions:
why it's not publishing and why are published pages or products still showing at the translation tab?

July 2, 2024 at 7:47 pm #15877949

Mateus Getulio
Supporter

Languages: English (English ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello,

Thanks for contacting us.

Before your ticket is assigned to one of my colleagues, please allow me to walk you through some initial debugging steps. This will help speed up the support process.

Can you click on those gear wheels and check if the page appears as 100% completed? if it does, please click the "complete" button and then wait a few minutes.

If the problem remains, please go to WPML > Support > Automatic translation editor > Error log and send us a screenshot of what you see there so we can understand how to continue.

Regards.

July 3, 2024 at 7:24 am #15881356

johnD-63

I tried still it didn't work. here are the screenshots of the Error log.

11.jpg
10.jpg
09.jpg
08.jpg
07.jpg
06.jpg
05.jpg
04.jpg
03.jpg
02.jpg
01.jpg
001.jpg
July 3, 2024 at 8:33 am #15882332

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

I'm Osama from WPML forums support. I'll be glad to help you today.

Please let me know if you moved/copied your site recently.

If yes, please go to your Dashboard-> Home and check the blue moved site banner. (https://wpml.org/documentation/translating-your-contents/advanced-translation-editor/using-advanced-translation-editor-when-you-move-or-use-a-copy-of-your-site/)

If no, I would need to look closely at your site, so I would need to request temporary access (WP-Admin and FTP)
Preferably to a test site where the problem has been replicated.

Your answer will be private, meaning only you and I can access it.

❌ Please backup your database and website ❌

✙ I need your permission to deactivate and reactivate the plugins and themes and change site configurations. This is also why the backup is critical.

✙ I also need your permission to take a local copy of your site to debug the issue without affecting your live site.

Best regards,
Osama

July 3, 2024 at 12:40 pm #15884305

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

The login page is not working. (Kindly check the attached screenshot)

Best regards,
Osama

2024-07-03_15-39-22.jpg
July 3, 2024 at 3:51 pm #15885769

johnD-63

please, check now.

July 3, 2024 at 3:54 pm #15885798

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

I still see the fatal error. (Kindly check the attached screenshot)

Best regards,
Osama

2024-07-03_18-53-22.jpg
July 3, 2024 at 4:38 pm #15886057

johnD-63

sorry, there was an error. Please, check now and let me know.

July 3, 2024 at 4:41 pm #15886063

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks. The page opened correctly, but the username or password is incorrect. I got the following error: (ERROR: The username or password you entered is incorrect. Have you lost your password?)

Best regards,
Osama

July 3, 2024 at 4:53 pm #15886126

johnD-63

I have checked it's working now. let me know if you have able to login.

July 4, 2024 at 7:23 am #15889617

Osama Mersal
WPML Supporter since 02/2020

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+03:00)

Hi,

Thanks for checking the error. I found the following error in ATE error log.

Call to a member function get_cart() on null /home/u506228129/domains/hocl.dk/public_html/coder/wp-content/plugins/ssb-woo-mlp-control/ssb-woo-mlp-control.php:846

It arises from the plugin SSB Woocommerce MultiLanguage Products. I deactivate this plugin, reload the page, wait for a few seconds, and then the translation is delivered to the site completely.

Kindly check this page. (hidden link)

Best regards,
Osama

July 4, 2024 at 8:20 am #15890205

johnD-63

Thank you it's working.