Skip Navigation

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

Problem:
The client reported a compatibility issue between the WPML SEO plugin and PHP 8, causing problems on their website. The hosting provider had temporarily switched back to PHP 7.4, but the client needed a solution to use PHP 8.
Solution:
1. We requested temporary access to the site to investigate further, including wp-admin and FTP details, ensuring the client backed up their site first.
2. We suggested increasing the WP Memory Limit to 500M, providing a guide on how to do this: guide.
3. We asked the hosting provider to share any error logs related to the WPML SEO issue and to upgrade PHP to 8 on the staging site for further testing.
4. We resolved an issue with missing pages/posts when WPML was activated by running WPML troubleshooting actions and assigning the correct language, which made all pages visible again.

Please note that this solution might be irrelevant if it's outdated or not applicable to your case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket 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 9 replies, has 3 voices.

Last updated by Bobby 2 months ago.

Assisted by: Bobby.

Author Posts
September 17, 2024 at 7:36 am #16186417

damilolaF

Background of the issue:
I reached out to my hosting company regarding a conflict I noticed with the WPML SEO plugin, which is causing issues on my website. They informed me that WPML SEO is not fully compatible with PHP 8 and above, and it only functions properly with PHP 7.4. They advised me to contact your support team for assistance in resolving this issue. Link to a page where the issue can be seen: hidden link

Symptoms:
WPML SEO plugin is causing issues on my website due to incompatibility with PHP 8 and above.

Questions:
Could you please help me resolve the compatibility issue between WPML SEO and PHP 8?

September 17, 2024 at 8:42 am #16186851

damilolaF

hello

I've also noticed that when WPML is activated, some pages and products disappear from the dashboard. However, when I deactivate the plugin, the pages and products become visible again.

kindly get back as soon as possible with all information you would need.

September 17, 2024 at 9:04 pm #16190705

Andreas W.
Supporter

Languages: English (English ) Spanish (Español ) German (Deutsch )

Timezone: America/Lima (GMT-05:00)

Hi,

I would like to offer to have a closer look into this ussye and request temporary access (wp-admin and FTP) to the site to investigate the issue further.

The required fields are below the comment section when you log in to leave the next reply. The information you provide is private, meaning only you and I can see and access it.

IMPORTANT
Please be sure to back up the site and database before granting us access.

If you can't see the "wp-admin / FTP" fields, your post and site login details will be set to "PUBLIC". DO NOT publish the data unless you see the required wp-admin / FTP fields.

I may need to install a plugin called "All In One WP Migration" here to create a copy of the site that I can use to investigate the issue further.

However, I would also be very grateful if you could provide a staging site or copy of the website from your server for this purpose.

If you have any questions about creating such a staging site, you can consult your hosting provider. Please note that WPML must also be registered on this staging site at https://wpml.org/de/account/websites/.

If you are not able to provide such a copy of the website for testing, please let me know on this ticket.

The private reply form looks like this:
hidden link

The next time you reply, click on "I still need assistance".

Video:
hidden link

Please note that we are obliged to request this information individually on each ticket. We are not allowed to access any credentials that were not specifically submitted on this ticket in the private response form.

Best regards
Andreas

September 18, 2024 at 5:16 pm #16194875

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

Hi there,

On the staging site, are you still experiencing the issue of pages/posts missing when WPML is activated? I have tested it and it seems to work OK.

Also, please increase your WP Memory Limit to 500M if possible

You can follow this guide on how to do this.

Regarding the WPML SEO plugin not working with PHP 8, please ask your hosting provider to share with us any error logs that they have pointing to WPML SEO being the issue.

Additionally, I recommend asking them to increase the PHP to 8 from 7.4 on the staging site so we can further investigate this issue as there are no known issues with WPML SEO not being compatible with PHP 8

September 19, 2024 at 11:17 am #16198160

damilolaF

Hi

Thank you for your response.

As you're aware, my website is a multisite. While I don't encounter many issues on the main site, I’m experiencing problems, such as FOS Hair, where pages are disappearing. Eg: you can visit at the dashboard, (Theme Option → Elementor Header & footer Builder). here you will see when you deactivate WPML more pages will be visible and when you activate the pluggin again the pages are no longer visible.

FYI - I had to delete the staging site due to resource limitations on my hosting platform. However, you still have the same login credentials for the main website: hidden link.

Additionally, we have upgraded the main site from PHP 7.4 to PHP 8.

September 22, 2024 at 7:26 pm #16206792

damilolaF

Hi

September 23, 2024 at 10:15 am #16208637

damilolaF

Hi.

I also noticed a conflict with WPML multicurrency and klarna payment. when a customer chooses eur as a payment option. the klarna payment button disappear. i have spoken to klarna and they said i should speak with you since you handle the currency pluggin

September 23, 2024 at 6:25 pm #16211434

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

Thank you for the above explanation!

We try to keep each ticket to 1 issue, if possible please open a new thread regarding the latest issue with the currency.

Following your steps I went to (Theme Option → Elementor Header & footer Builder) in the live site and noticed that while there are 27 in total only 14 were showing (split between the languages).

After running the WPML troubleshooting actions (WPML->Support->Troubleshooting), specifically the one about assigning the correct language, the issue was resolved and now all 27 are showing.

September 23, 2024 at 6:38 pm #16211462

damilolaF

Hi

it works now.. i will create a new ticket for the other issues.

thank you

September 23, 2024 at 10:30 pm #16212018

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-08:00)

You are welcome and I am glad to hear it's working now!

Thank you!