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.

This topic contains 5 replies, has 2 voices.

Last updated by Mohamed Sayed 1 year, 10 months ago.

Assisted by: Mohamed Sayed.

Author Posts
July 26, 2023 at 1:24 pm #14104293

amerG-2

Sometimes this link is not opening and shows an error page.
I have checked the logs and there was mentioned gravity form-related error.
hidden link

Link to a page where the issue can be seen:
hidden link

I expected to see:
When I open any page /fr it should open without error
hidden link

July 26, 2023 at 6:37 pm #14106523

Mohamed Sayed

Hi there,
Thanks for contacting WPML support.

- Please create a full backup of the database and website then update Gravity forms + all the WPML plugins to the latest version.

- If that didn't help, kindly provide us with the WordPress debug.log, this will allow us to see if any PHP errors are being produced. More Info: https://wordpress.org/support/article/debugging-in-wordpress/

To enable it, open your wp-config.php file and look for:

define('WP_DEBUG', false);

And change it to:

define('WP_DEBUG', true);
// Enable Debug logging to the /wp-content/debug.log file
define('WP_DEBUG_LOG', true);
// Disable display of errors and warnings which is recommended on a live site.
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors',0);

Then try to reproduce the issue and check if any errors were saved to the debug.log log file inside the /wp-content/ directory.

If you can paste your debug.log to https://pastebin.com/ and provide me that link, it would be great!

Kind regards,
Mohamed

July 27, 2023 at 11:23 am #14110001

amerG-2

Hello Mohamed Sayed,
I have added the debug log here.
https://pastebin.com/WXVcwbGY

Please check and let me know how it can be fixed.
Thank you!

July 28, 2023 at 12:23 am #14114147

Mohamed Sayed

Hi,

I checked the error but I couldn't find any details about it, also couldn't find any other tickets with a similar error. It seems related to the following translated string "Toutes les %d m...".

Please go to WPML > String Translation and search for this string (Check "Include translations" option before searching) then make sure that the "%d" placeholder is added the same way as the original string.

Please let me know how that goes.

July 28, 2023 at 9:58 am #14116061
amerG-2

Hello Mohamed,
I will check that.
But I have one more issue related to language.
The URL for French is not changing correctly.
Why this parent path is in English hidden link
Can you help me with this?
Thanks in advance.

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

https://wpml.org/forums/topic/split-url-translation/

July 28, 2023 at 4:17 pm #14118847

Mohamed Sayed

Hi,

Take your time, I will be waiting for your updates.

For better support, we handle one issue per ticket so I created a new ticket for the other issue you mentioned.

We can continue the discussion here: https://wpml.org/forums/topic/split-url-translation/