Skip Navigation

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

Problem:
The client was unable to edit the English translation of a product and encountered a fatal error when attempting to do so.

Solution:
We diagnosed the issue by activating WordPress Debug mode, which indicated that the 'Product Subtitle For WooCommerce' plugin, the 'WooCommerce Google Product Feed' plugin, and a misconfigured hook in the functions.php file were causing the fatal error. We resolved the problem by deactivating both plugins and commenting out the problematic hook in the theme's functions.php file. After these actions, the translation editor loaded successfully without any errors.

Additionally, we canceled some in-progress jobs in the WPML > Translation Management > Jobs section and resaved the permalink structure in Settings > Permalink. This allowed the translation editor to load properly from the 'WPML > Translations' section.

We also advised the client to contact the support teams of the implicated plugins with the error log for further assistance and suggested that the plugin authors participate in WPML's Go Global program to ensure compatibility with WPML.

If you're experiencing similar issues, we recommend trying the steps mentioned above. However, please note that the solution might be irrelevant due to it being outdated or not applicable to your case. If these steps do not resolve your issue, we highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please open a new support ticket.

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

Last updated by Prosenjit Barman 1 year, 1 month ago.

Assisted by: Prosenjit Barman.

Author Posts
February 26, 2024 at 5:56 am #15342206

echtzeitG

Hi Prosenjit,

I think I understand now what to do –
but now I have a new issue:
What do I have to do in this window?
I get an error (see top right)
Thank you for your patience!

Best regards
Uwe

February 26, 2024 at 6:11 am #15342239

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Uwe,
I hope you're doing well.

I have checked the screenshot and understood that the translation job couldn't be assigned to the translator. When I checked the Translator list in WPML, I noticed that the Admin profile has been added as a translator. If the Admin is the only translator on the site, it is not required to add the Admin as a translator. The Admin should be able to translate from/to any language on the site.

Would you please remove the Admin profile from the Translator list and check again? Please go to "WPML > Translation Management > Translator" and remove the Admin profile from the Translator list by clicking on the Cross icon.

Please let me know if that helps in solving the issue or if you need further assistance in this matter. I will be happy to help.

Best regards,
Prosenjit

February 26, 2024 at 3:04 pm #15344999

echtzeitG

Hi Prosenjit,

I deleted the translator "realadmin" but I don't get rid of this error (see screenshot).
I just want to edit the translation but I get this page "Übersetzungsschlange"...

Best regards
Uwe

Bildschirmfoto 2024-02-26 um 15.58.44.png
Bildschirmfoto 2024-02-26 um 15.57.03.png
February 27, 2024 at 6:42 am #15347243

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hello Uwe,
Thank you for the update.

I visited your site and tried to add a translation for the 'Geschenkgutschein DE' product from the Product page, but I encountered a fatal error.

To diagnose the underlying cause of the fatal error, I activated WordPress Debug mode on the site. It revealed that the "Product Subtitle For WooCommerce" plugin, the "WooCommerce Google Product Feed" plugin, and a misconfigured hook in the functions.php file were primarily responsible for the error.

The translation editor began functioning correctly after deactivating both plugins and commenting out a hook in the theme's functions.php file (Screenshot: hidden link). The Editor loaded successfully by clicking the "Gear icon"(Screenshot: hidden link) in the Language meta section without triggering any fatal errors.

Please check now and I hope you'll not encounter any issues.

For your information, the plugins mentioned earlier are not included in our list of compatible plugins, which suggests the problem might be due to compatibility issues. It would be advisable to contact the author or support team of the implicated plugins and provide them with the error log (which you can find in the debug.log file within the wp-contents folder). They can assist you better in this matter. Additionally, you could suggest that they participate in WPML's global program to ensure their plugin is compatible with WPML.

For more details about the program, check this link: https://wpml.org/documentation/support/go-global-program

Let me know if there is anything else you need help with. I will be happy to help.

Best regards,
Prosenjit

March 6, 2024 at 8:29 am #15377695

echtzeitG

Hi Prosenjit,

from my point of view nothing has changed –
I still can't edit the english translation (s. screenshot)
hidden link

Best regards
Uwe

March 7, 2024 at 8:27 am #15382620

Prosenjit Barman
WPML Supporter since 03/2023

Languages: English (English )

Timezone: Asia/Dhaka (GMT+06:00)

Hi Uwe,
Thank you for sharing the video.

I've checked and upon canceling some in-progress jobs and resaving the permalink structure, I have successfully been able to open the Translation editor from the "Translations queue". Please check this video for a better understanding: hidden link

Here's what I've done:

- Cancel some In-progress jobs from WPML > Translation Managements > Jobs section.
- After that, resave the permalink structure by going to Settings > Permalink
- Once done, I selected the product again and sent it for translation. When I tried to take and translate from the "WPML > Translations", the translation editor loaded properly.

Let me know if there is anything else you need help with. I will be happy to assist.

Best regards,
Prosenjit