Skip Navigation

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)

This topic contains 45 replies, has 2 voices.

Last updated by Kor 12 months ago.

Assisted by: Kor.

Author Posts
May 6, 2024 at 1:11 pm #15597418

yannay

Background of the issue:
I am currently running WPML and WooCommerce on a staging site (stage.ranigilat.com) which is under development. I am trying to activate WPML with WooCommerce on this WP staging site and handle the translation of pages myself.

Symptoms:
Server times out. Had to manually move WPML to a disabled plugins folder. That allowed the site to reload. Manually moved WPML back to plugins folder, activated it, Reset the plugin in WPML troubleshooting page and deactivated it. This is the third time I went through the process. also went through WPML wizard step by step to setup the plugin from scratch which installed String translation and Woocommerce multilingual. Still when trying to translate pages, server times out. I have PHP 8.3, max_execution_time 30, max input time 120, memory limit 512. There are thousands of images in the media library, is that the reason server times out with WPML enabled? on the live site ranigilat.com WPML is running fine but the live site does not have woocommerce on it.

Questions:
How do I avoid server timeout while running WPML with my current memory and php server setting which seems to answer minimum requirements?

May 7, 2024 at 2:01 pm #15602615

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Hello,

Thank you for reaching out to WPML support.

To expedite the support process, I've enabled a private message option for submitting debug information related to this support ticket. Please follow these initial debugging steps outlined in this link: Debug Information Instructions https://wpml.org/faq/provide-debug-information-faster-support/

In summary:
1. Navigate to "WPML > Support > Debug Information" (link).
2. Copy the Debug Information provided there.
3. Locate the private field I've activated and paste the debug information there.

Additionally, while awaiting further assistance, I recommend contacting your hosting provider to investigate any server error logs. They should be able to identify the issue and determine what might be causing the site to malfunction.

May 14, 2024 at 3:57 pm #15626377

yannay

Pasted debug info. will look into server error logs as well. thank you

May 14, 2024 at 4:07 pm #15626391

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thank you for your response.

I can see that there are only two plugins installed, and your server resources appear to be adequate. Please share the feedback from your hosting provider once you receive it.

May 14, 2024 at 4:09 pm #15626396

yannay

BTW in order to get the debug info WPML needs to be active. as said, the server times out when both Woocommerce & WPML are running but I did manage to activate WPML while woocommerce was running in order to get to debug info. Currently I left them both active

May 14, 2024 at 4:18 pm #15626461

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your reply.

Alright then, I'll wait for your hosting provider's feedback.

May 14, 2024 at 4:25 pm #15626484

yannay

2024-05-14 11:52:52.332558 [NOTICE] [1647364] [T0] [45.234.234.54:62977:HTTP2-5#APVH_www.stage.ranigilat.com:443] [STDERR] PHP Warning: Undefined array key "path" in /home/ranigila/domains/ranigilat.com/public_html/stage/wp-includes/l10n.php on line 1196\n
2024-05-14 11:52:52.332596 [NOTICE] [1647364] [T0] [45.234.234.54:62977:HTTP2-5#APVH_www.stage.ranigilat.com:443] [STDERR] PHP Warning: Undefined array key "path" in /home/ranigila/domains/ranigilat.com/public_html/stage/wp-includes/l10n.php on line 1213\n
2024-05-14 11:52:52.332602 [NOTICE] [1647364] [T0] [45.234.234.54:62977:HTTP2-5#APVH_www.stage.ranigilat.com:443] [STDERR] PHP Warning: Undefined array key "path" in /home/ranigila/domains/ranigilat.com/public_html/stage/wp-includes/l10n.php on line 1231\n
2024-05-14 11:52:52.332608 [NOTICE] [1647364] [T0] [45.234.234.54:62977:HTTP2-5#APVH_www.stage.ranigilat.com:443] [STDERR] PHP Warning: Undefined array key "path" in /home/ranigila/domains/ranigilat.com/public_html/stage/wp-includes/l10n.php on line 1196\n
2024-05-14 11:52:52.332614 [NOTICE] [1647364] [T0] [45.234.234.54:62977:HTTP2-5#APVH_www.stage.ranigilat.com:443] [STDERR] PHP Warning: Undefined array key "path" in /home/ranigila/domains/ranigilat.com/public_html/stage/wp-includes/l10n.php on line 1213\n
2024-05-14 11:52:52.332620 [NOTICE] [1647364] [T0] [45.234.234.54:62977:HTTP2-5#APVH_www.stage.ranigilat.com:443] [STDERR] PHP Warning: Undefined array key "path" in /home/ranigila/domains/ranigilat.com/public_html/stage/wp-includes/l10n.php on line 1231\n
2024-05-14 12:00:50.338521 [INFO] [1647364] [T0] [45.234.234.54:49582:HTTP2-1#APVH_www.stage.ranigilat.com:443] Abort request processing by PID:2035749, kill: 0, begin time: 2, sent time: 2, req processed: 0

May 14, 2024 at 4:36 pm #15626521

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your reply.

The error log does not indicate any issues with the mentioned plugins. I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to your Website and server.

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.

May 14, 2024 at 7:43 pm #15626916

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thank you for being patient.

I've configured WPML and finished installing the String Translation and WCML. Everything appears to be working smoothly from my end. Can you confirm? Also, I've updated the Woocommerce plugin since it appeared to be outdated. Please inform me of any observations.

May 15, 2024 at 12:20 am #15627339

yannay

Thank you!

it does seem to work well now with both plugins activated. However, I think I know where the issue of server timeout may be coming from. It just happened again as I was attempting to simply update the Hebrew Homepage with no edits made to it.

In Dashboard > English Pages there are Hebrew pages which WPML thinks are English (there are no Hebrew pages in dashboard > Hebrew pages). What is the proper way to assign the correct language to these pages and then match the English page with its Hebrew translation?

Should I edit a page's English version > assign the existing Hebrew version of the page (which WPML thinks is an English page ATM) as its translation > update the English page?
Or,
Edit the Hebrew page > change its language definition > Update the page. Then edit the English page > match it with the now correctly language defined Hebrew page?

Most importantly, ATM the site is not responding (same issue ) I'll need to get WPML working again in order to start assigning languages and translations to existing pages as described above.

Should I manually move the plugins to a disabled directory on the server, regain dashboard access, manually move the plugins back to the active plugin directory on the server, activate them in dashboard?

I don't want to lose any of the configurations you have made to get the plugins working and I think the action described above might do just that.

Many thanks

May 15, 2024 at 12:48 am #15627385

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your reply.

Yes, you need to correct the language of the page. So, use this method "Edit the Hebrew page > change its language definition > Update the page. If it's still connected to a language, you can disconnect it using this method https://wpml.org/faq/how-to-disconnect-translations-from-the-default-language-page-or-post/

Then edit the English page > match it with the now correctly language defined Hebrew page"

To connect the Hebrew to the correct English language, you can use this method https://wpml.org/faq/how-to-link-already-translated-pages/

May 15, 2024 at 11:09 am #15629788

yannay

Ok I’ll try that
How do I go about reactivating the plug-in?
Most importantly, ATM the site is not responding (same issue ) I'll need to get WPML working again in order to start assigning languages and translations to existing pages as described above.

Should I manually move the plugins to a disabled directory on the server, regain dashboard access, manually move the plugins back to the active plugin directory on the server, activate them in dashboard?

I don't want to lose any of the configurations And last time I did that I think I lost all the configurations
Thank you very much

May 15, 2024 at 11:28 am #15629870

yannay

Once I get the server to respond again I think it would be impossible for me to make any changes on the Hebrew pages (which are set as English ATM) and update them because that is what causing the server to become nonresponsive. I may need to delete them as opposed to editing them and then create translations from scratch

May 15, 2024 at 12:21 pm #15630334

yannay

How should o go about getting the server to respond again so I can start deleting those pages?

May 15, 2024 at 1:12 pm #15630596

Kor
WPML Supporter since 08/2022

Languages: English (English )

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

Thanks for your reply.

I've checked and I'm able to edit your Hebrew translations without issues as shown in the attached screen recording hidden link . Also, the server is responding fine for me and there is no downtime or nonresponsive. Maybe you can try using another browser?

The topic ‘[Closed] Running WPML & woocommerce on stage.ranigilat.com’ is closed to new replies.