Skip Navigation

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

Problem:
The client is experiencing a repetitive internal server error (error 500) that occurs frequently. Disabling the WPML plugin or resubmitting the permalink of the homepage temporarily resolves the issue, but it persists and affects the website's functionality.
Solution:
We have identified that the Object Cache is causing the issue. To resolve this, follow these steps:
1. Navigate to the WordPress Dashboard.
2. Go to Settings > Object Cache.
3. Click the disable button for the Object Cache.
After performing these steps, the pages should work without issues, even with all WPML plugins active.

If this solution does not seem relevant to your situation, please open a new support ticket with us.

0% of people find this useful.

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

Last updated by Christopher Amirian 1 year ago.

Assisted by: Christopher Amirian.

Author Posts
December 20, 2023 at 12:12 pm #15101785

ayeletY-2

I am experiencing a repetitive internal error (server error 500) that occurs frequently. It is quite persistent, and I am not fully sure why it is happening.

The resolution is simple: I disable the WPML plugin - everything back to normal and the website is reachable!
Another resolution way: go to the main homepage and commit its permalink.

The underlying root cause is unknown, and it is a persistent issue that I can no longer ignore, as it will happen again soon. My website provides an online service with paying customers, and this issue is causing me to lose existing as well as new visitors.
As I said before, resubmiting the relevant post/page will resolve this issue but it occurse frequently for any other page/post. It is frastrating and the customers complains. Don't know what to do.

December 20, 2023 at 12:48 pm #15102135

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

Please get back to us with the result of the workaround mentioned dint he chat.

Thanks.

December 21, 2023 at 5:24 am #15106591

ayeletY-2

Unfortunatelly, that didn't helped (I've added the suggested code to my functions.php Theme).

It happens again: hidden link

Appreciate your quick help,
Thanks
Ayla

December 24, 2023 at 6:38 am #15123161

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi Ayla,

Thank you and sorry for the late reply due to holiday season. Would you please provide the staging/copy version of your website so we can do more investigation on it without the fear of effecting a live website?

Please set the next reply as private and provide the staging website information so we can continue.

Thanks.

December 24, 2023 at 12:37 pm #15123769

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi there,

Thank you for the site access and thank you for all the steps you took so far.

Rest assured that we do our best to be able to find the reason behind the issue.

I found out that the issue is the Object Cache. As soon as I went to WordPress Dashboard > Settings > Object Cache and clicked the disable button for the object cache the pages in question worked with no issues even when all WPML plugins were active.

Thanks.

December 24, 2023 at 1:11 pm #15124257

ayeletY-2

Wowwwww. Unbelievable. First thing and for most - thank you! 🙂

Does it mean that I can't drop the workaround suggested above? (https://wpml.org/errata/htaccess-is-rewritten-with-language-folder/)

Now that you found successfully the verdict, I'll take it from here.

Appreciate your reply,

Thanks so much Chris!

--Ayla

December 25, 2023 at 8:44 am #15125757

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi Ayla,

I'm glad that we could be of help 🙂

Yes you can drop the workaround that you implemented as it seems the source of the issue was not that.

Thanks.

December 26, 2023 at 3:56 pm #15130435

ayeletY-2

Thanks very much!!!