Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 -
- - - - - - -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 5 replies, has 1 voice.

Last updated by Waqas Bin Hasan 3 weeks, 4 days ago.

Assisted by: Waqas Bin Hasan.

Author Posts
July 28, 2025 at 5:05 pm #17276351

vipinP

Background of the issue:
I am trying to use GraphQL with WPML, but sometimes the query results become blank. All translations are available in the backend.

Symptoms:
The GraphQL query returns a blank array despite having all translations available in the backend.

Questions:

July 29, 2025 at 7:33 am #17277331

vipinP

It looks like there is an issue with your translation sitepress-multilingual-cms plugin that's throwing a fatal error in the PHP logs.
PHP Fatal error: Uncaught Error: Call to a member function getTaskType() on null in /srv/htdocs/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/core-api/core/BackgroundTask/Service/BackgroundTaskService.php:65 Stack trace: #0 /srv/htdocs/wp-content/plugins/sitepress-multilingual-cms/classes/background-task/AbstractTaskEndpoint.php(66):

July 29, 2025 at 9:27 am #17277878

vipinP

Now I am not able to translate the Japan page - hidden link

Please help. It is very critical.

July 29, 2025 at 1:17 pm #17279024

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting the support.

Before proceeding further, can you please try the following?

1) Take a full backup of your site and database before proceeding. It is highly advised to try these on a dev or staging site first, so your live site isn't compromised.
2) Deactivate all plugins except WPML, String Translation, WPML GraphQL and WPGraphQL.
3) Switch to a standard theme like 2024 or 2021.
4) Check for the issue if it still happens.
5) Then start activating plugins one by one while keep checking for the issue. This way you 'll be able to pinpoint a conflict when & where it starts creating the problem.
6) If after activating all plugins you see that it still works fine, then switch to your theme and see if that's causing it.

Please let me know your findings and I'll try my best to help you further on the matter.

Regards.

July 29, 2025 at 2:39 pm #17279541

vipinP

Already tried this. This is not helping

July 30, 2025 at 6:47 am #17280633

Waqas Bin Hasan
WPML Supporter since 05/2014

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Thank you for the updates.

I need to take a closer look at your site. So I request temporary access (WP-Admin and FTP), preferably to a test site where the problem has been replicated.

Your next answer will be private, to share this information safely.

Also provide detailed steps to reproduce the issue and links to pages in the admin and on the frontend.

IMPORTANT: Please take a complete backup of the site to avoid data loss. I may need to activate/deactivate plugins also.

See https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/ for details on privacy and security.

P.S.: If you don't see the section for providing access information, do not write in the message box or the information may appear as public.

The topic ‘[Closed] Transalation blank issue in GraphQL’ is closed to new replies.