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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: Asia/Singapore (GMT+08:00)

Tagged: 

This topic contains 15 replies, has 0 voices.

Last updated by Kor 1 week ago.

Assisted by: Kor.

Author Posts
June 30, 2025 at 2:08 pm #17184827

michaelR-151

Background of the issue:
I am trying to do my work using WP Sheet Editor with products. I have noticed that it starts not being able to save data when WPML Multilingual CMS is active. I have tried deactivating cache, clearing memory, using different browsers, and even another PC, but nothing helped. The only thing that worked was deactivating WPML Multilingual CMS. I have a lot of screen clips showing the error and the environment, and you can have access to the site to check things out and make necessary changes. The issue can be seen at hidden link.

Symptoms:
WP Sheet Editor becomes useless and cannot save data when WPML Multilingual CMS is active. The issue resolves when WPML Multilingual CMS is deactivated.

Questions:
Why does WP Sheet Editor not work when WPML Multilingual CMS is active?
What changes are needed to make WP Sheet Editor work with WPML?

July 1, 2025 at 6:19 am #17186522

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for contacting us. I've checked and this WP Sheet Editor is fully compatible with WPML and there are no known errors with this plugin as shown here https://wpml.org/plugin/wp-sheet-editor/

Could you please try replicating the issue on our sandbox site here hidden link so that we could check this out for you?

July 4, 2025 at 8:33 pm #17203076

michaelR-151

Hi Kor.

I am glad that you can help. I am stuck, and it is heavy to use our shop now since the error. I shut off WPML each time I have to do something with the products, and that is not smart.

Ok, I can go into the sandbox, but from there I am lost. I have Updraft+ backup, so I could give you a copy of a backup and then you could put it in to the sandbox and I guess the error will be there in this new environment also.

I think it is a WPML-Sheeteditor problem as I took the tour of disabling plugins one by one and testing Sheeteditor until I came to WPML and Sheeteditor worked = something about WPML is tilting Sheeteditor. And the error is on/off when WPML is on/off, everytime.

An easier way is that I make you an Admin account to our site and you look around and use your knowledge to see what is happening, look behind things, check code, things that I do not understand. Dont you think this is better?

I would like to have this working very soon, we are unproductive with this error. Thank you!

Regards Michael

July 7, 2025 at 1:08 am #17205790

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. Sorry, you're not allowed to import your entire Website into our sandbox site. Alright then, I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.

Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.

Your upcoming reply will be treated with confidentiality and will only be visible to you and me.

✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.

July 7, 2025 at 3:35 pm #17209965

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. I was able to replicate the issue and I’m stuck in the same loop, as shown in this screen recording: hidden link . Just to confirm, does saving work correctly once the WPML plugin is deactivated?

If that’s the case, may I have your permission to temporarily deactivate third-party plugins on your site for testing? If not, could you clone the site to a staging environment so I can investigate further without affecting the live site?

July 7, 2025 at 6:37 pm #17210913

michaelR-151

Hi Kor.

Good, you saw the problem as I did. It it there alwasy when WPML is ON.

Yes, yes, I wrote in the initial text and the the one before this that diabling WPML resolves the problem. So, you are granted the right to disable WPML and all other plugins. Please do. I am eager to make the site work again.

Also see my text before this. There was an other never resolved WPML problem.

My guess is that there is a bug in the WPML installation or its files. But you know more about this. I will let you do your work.

Looking forward to you writing that is is working again and interesting what it was.

Thanks! Michael

July 8, 2025 at 10:12 am #17212922

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. I can see the error below in the debug log. I will need to escalate this to our 2nd Tier Support for further assistance. I kindly ask for a snapshot of the site. Alternatively, with your permission, I can create one myself. For this purpose, I typically recommend using the free plugin "Duplicator." If you're already familiar with Duplicator (https://wordpress.org/plugins/duplicator/), please skip the following steps and simply send me the archive file you downloaded.

To guide you further, please adhere to these instructions:

1. View the Duplicator instructions video: hidden link

2. Consult WPML's instructions on providing supporters with a copy of your site: https://wpml.org/faq/provide-supporters-copy-site/

3. If the archive file exceeds 400MB, please use Duplicator's file filters to exclude cache, wp-uploads directory, media, and archive files.

Once you have the archive file ready, kindly share the link with us. You can utilize platforms like Google Drive, Dropbox, or similar for file sharing, as the snapshot file might be large.

Please note that your next reply will be private, visible only to you and me. You can paste the file link there. Rest assured that once the issue is resolved, I will delete the local site.

[08-Jul-2025 09:50:53 UTC] PHP Fatal error:  Uncaught TypeError: WCML\Rest\ProductSaveActions::__construct(): Argument #4 ($woocommerceWpml) must be of type woocommerce_wpml, WCML_Synchronize_Product_Data given, called in /var/www/trendin.dk/public_html/wp-content/plugins/woo-products-bulk-editor-premium/modules/wpml/inc/post.php on line 411 and defined in /var/www/trendin.dk/public_html/wp-content/plugins/woocommerce-multilingual/classes/Rest/ProductSaveActions.php:22
Stack trace:
#0 /var/www/trendin.dk/public_html/wp-content/plugins/woo-products-bulk-editor-premium/modules/wpml/inc/post.php(411): WCML\Rest\ProductSaveActions->__construct(Array, Object(wpdb), Object(SitePress), Object(WCML_Synchronize_Product_Data))
#1 /var/www/trendin.dk/public_html/wp-content/plugins/woo-products-bulk-editor-premium/modules/wpml/inc/post.php(323): WPSE_WPML_Posts->sync_translation_fields(28473)
#2 /var/www/trendin.dk/public_html/wp-includes/class-wp-hook.php(326): WPSE_WPML_Posts->sync_translation_fields_after_saving_post(28473, Array)
#3 /var/www/trendin.dk/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#4 /var/www/trendin.dk/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#5 /var/www/trendin.dk/public_html/wp-content/plugins/woo-products-bulk-editor-premium/modules/wp-sheet-editor/inc/api/helpers.php(906): do_action('vg_sheet_editor...', 28473, Array, Array, 'product', Array, Array, Array)
#6 /var/www/trendin.dk/public_html/wp-content/plugins/woo-products-bulk-editor-premium/modules/wp-sheet-editor/inc/ajax.php(144): WP_Sheet_Editor_Helpers->save_rows(Array)
#7 /var/www/trendin.dk/public_html/wp-includes/class-wp-hook.php(324): WP_Sheet_Editor_Ajax->save_rows('')
#8 /var/www/trendin.dk/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array)
#9 /var/www/trendin.dk/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#10 /var/www/trendin.dk/public_html/wp-admin/admin-ajax.php(192): do_action('wp_ajax_vgse_sa...')
#11 {main}
  thrown in /var/www/trendin.dk/public_html/wp-content/plugins/woocommerce-multilingual/classes/Rest/ProductSaveActions.php on line 22
July 8, 2025 at 10:38 am #17213156

michaelR-151

Hi Kor.

Great, I like that you see the error as I do, and you see the way forward to solve it.

I prefer that you do the copy, "Alternatively, with your permission, I can create one myself". This is safer, and I hope that you are more familiar with this than I am.

So please go ahead right away, I am looking very much forward to soon have a normal functioning system and a normal work day.

Thank you!

Regards, Michael

July 8, 2025 at 6:08 pm #17215865

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your patience. I've downloaded a package from your Website and I will check and escalate this further to our 2nd Tier Support for further investigation. I will come back to you as quickly as possible.

July 8, 2025 at 8:02 pm #17216000

michaelR-151

Perfect! You and your team will find the error I am sure. Looking very much forward to celebrate the site running again :-;

July 11, 2025 at 6:32 am #17226247

michaelR-151

Hi Kor.

How far is your team with fixing the error with WPML in our site?

We still have to turn WPML ON/OFF to use SheetEditor, and we use SheetEditor all the time.

Thank you!

Regards Michael

July 11, 2025 at 8:35 am #17226742

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. Our 2nd Tier Support has requested to test this on our sandbox site here hidden link . Could you please install the WP Sheet Editor - WooCommerce Products (Premium) plugin on the sandbox site temporarily for testing purposes?

I've imported some products and set up WPML and WCML.

July 11, 2025 at 2:06 pm #17228588

michaelR-151

Hi Kor.

Ok, I have installed it now.

I can not add the license, as it can only run on one site, but the plugin is in as requested.

Note, that if the error in our site is caused by a broken WPML installation or a WPML upgrade or something like that, the team will not find the error and the solution by starting fresh with a new installation like in the sandbox, but the sandbox can proberbly tell something.

If you have en expert that knows WPML in code in depth, I am sure the best place to debug and look for flaws is in our running site. You are more than welcome to look and check code, search for broken installations etc.

Looking forward to hearing from you.

Regards Michael

July 11, 2025 at 3:33 pm #17228744

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. Everything is working fine on our sandbox site, so the issue appears to be isolated to your website. Our 2nd Tier Support team will investigate this further and get back to us as soon as possible.

July 12, 2025 at 11:03 am #17230062
michaelR-151

Hi Kor.

Yesterday our site was down, broken, gave error not loading both in front end backend.

I could have been from your team tuching something, I do not know. But nevermind, I ran a function at my hoster simply.com, called Repair WordPress installation. It did its job and or site worked again.

Then I had a thought, what if this also repaired WPML? And it did! I just tested now, see clips. Sheet Editor workes now. Great.

So either did your team reapir the error or eles did simplys.coms script for WP repair do it.

Then I tested the old WPML error that I also mentioned for you earlier. This error is not repaired. Still there. The error consists of that a mouse click on the eye symbol in Pages gives an error going about missing rights. This is a never solved error reported by me to WPML earlier, so you can just look at our support cases and see no. 1 case, this is this. We need this fixed also.

I have attached clips of the error here also. The last 2 clips.

The first clips is Sheet Editor now working.

Nice that the error destroying Sheet Editor is gone now!

Regards Michael

New threads created by Kor and linked to this one are listed below:

https://wpml.org/forums/topic/translated-page-cannot-be-viewed/

12-07-2025 125220 001.png
12-07-2025 125236 001.png
12-07-2025 124639 001.png