Skip Navigation

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

Problem:
The client was unable to translate some custom added post types. Clicking the '+' to add translations loaded a blank page, with Safari reporting 'Safari can’t open the page' and Chrome showing an 'ERR_EMPTY_RESPONSE' error.
Solution:
1. We installed the WPML SEO addon plugin to ensure compatibility.
2. We disabled and then re-enabled the Yoast SEO and Yoast Duplicate plugins.
3. We cleared the WPML cache.
Additionally, we noted that some errors might be related to the use of PHP 8.2.6, which isn't fully compatible with WordPress. We recommend checking the compatible PHP versions with WordPress here: WordPress and PHP Compatibility.

If this solution doesn't look relevant, please open a new support ticket in the 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.

This topic contains 6 replies, has 2 voices.

Last updated by cathyB-9 1 year, 5 months ago.

Assisted by: Ilyes.

Author Posts
November 20, 2023 at 10:06 pm

cathyB-9

I cannot translate some custom added post types. The + is there to add translations, but this loads a blank page. In Safari it says “Safari can’t open the page”, and Chrome gives an “ERR_EMPTY_RESPONSE” error.

November 21, 2023 at 12:01 am
November 21, 2023 at 8:42 pm #14890959

cathyB-9

Any updates on this?

November 21, 2023 at 10:21 pm #14891645

Ilyes
Supporter

Languages: English (English ) French (Français ) Arabic (العربية )

Timezone: Pacific/Easter (GMT-06:00)

Hello,

Thank you for your patience,

The issue should be fixed now, I honestly not sure what caused it as I made multiple changes :

1- I found errors related to your SEO plugin, So I installed WPML SEO, our addon plugin that insures compatibility with us
2- I disabled Yoast SEO and Yoast Duplicate plugins and enabled them again
3- Deleted WPML cache

I hope this fixed your issue,

November 22, 2023 at 12:23 am #14892131

cathyB-9

Thank you! Our site hidden link seems to be working rather well now. But this problem still seems to be happening. Specifically here:

hidden link
- Translating "Resources"
- Translating "Directory" / Businesses

November 22, 2023 at 12:33 am #14892175

cathyB-9

I even just tried your steps above, but on the hidden link site. I've disabled both Yoast plugins, added WPML SEO, and cleared all WPML cache settings. Still no luck.

November 22, 2023 at 4:53 pm #14901059

Ilyes
Supporter

Languages: English (English ) French (Français ) Arabic (العربية )

Timezone: Pacific/Easter (GMT-06:00)

Hello,

I recorded a video that explains what I found and how to fix this error: hidden link

One more note to add that I forgot to mention in the video, some errors are related to WordPress in general that could also explain this, I've reviewed the debug log, it seems the errors are related to deprecated functions, which might be occurring because of the use of PHP 8.2.6 As of now, PHP 8.2 isn't fully compatible with WordPress.

Please check this link to learn more about the compatible PHP version with WordPress: https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/

Best,

November 22, 2023 at 5:27 pm #14901529

cathyB-9

Thanks for all your help, Ilyes! As for the huge debug.log, this is only so big because full stack tracing is turned on. So even just 2 or 3 warnings will produce hundreds of lines of debugging logs. Most of it is just PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead.

Merci merci!

😉

November 22, 2023 at 5:28 pm #14901561

cathyB-9

Thanks for all your help, Ilyes! As for the huge debug.log, this is only so big because full stack tracing is turned on. So even just 2 or 3 warnings will produce hundreds of lines of debugging logs. Most of it is just PHP Deprecated: Using ${var} in strings is deprecated, use {$var} instead.

Merci merci!

😉