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 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | 9:00 – 13:00 | - |
- | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | 14:00 – 18:00 | - |
Supporter timezone: America/Los_Angeles (GMT-08:00)
Tagged: Exception
This topic contains 6 replies, has 3 voices.
Last updated by Bobby 5 months, 3 weeks ago.
Assisted by: Bobby.
Author | Posts |
---|---|
June 20, 2024 at 2:26 pm #15764583 | |
dominikM-32 |
Background of the issue: Symptoms: Questions: |
June 20, 2024 at 10:25 pm #15767948 | |
Nicolas V. Supporter
Languages: English (English ) French (Français ) Timezone: America/Lima (GMT-05:00) |
Hi, Welcome to the WPML support forum. Thanks for contacting us. While waiting for one of my colleagues to help with this ticket, I had asimilar case this week where the issue was coming from custom fields from a previous theme. Here is the ticket: https://wpml.org/fr/forums/topic/https-hoo-talk-com/ Please also provide us with your debug information. This information is crucial for us to understand better your configuration: https://wpml.org/faq/provide-debug-information-faster-support/ In short: Looking forward to hearing back from you. Nico |
June 20, 2024 at 10:42 pm #15768076 | |
Bobby Supporter
Languages: English (English ) Timezone: America/Los_Angeles (GMT-08:00) |
Hi there, There is a hyperlink next to each item, what are your results after clicking it? Can you please share it with me? |
June 21, 2024 at 8:49 am #15772662 | |
dominikM-32 |
Hello there! Hi Nicolas. There is also an option at the bottom of the settings - Media translation. But when I deselect it, it remains selected anyway. Maybe there's a way around it... |
June 21, 2024 at 10:13 pm #15779241 | |
Bobby Supporter
Languages: English (English ) Timezone: America/Los_Angeles (GMT-08:00) |
Hi there, Just to verify are all the listed items names from images? I have had a similar case in the past where this was triggered due to the complex names of pdf file names. Please try this workaround: edit wp-content/plugins/sitepress-multilingual-cms/classes/utilities/class-wpml-encoding-validation.php and replace is_base64 function with public function is_base64( $string ) { return false; } NOTE: Always have a recent and working backup before making any changes recommended by our team or a 3rd party |
June 24, 2024 at 10:33 am #15805645 | |
dominikM-32 |
Thank You. <?php use WPML\FP\Str; class WPML_Encoding_Validation { const MINIMUM_STRING_LENGTH = 100; /** $decoded = base64_decode( $string, true ); $encoding = mb_detect_encoding( $decoded ); return $decoded !== false && base64_encode( $decoded ) === $string && Str::len( $string ) >= self::MINIMUM_STRING_LENGTH; |
June 24, 2024 at 8:35 pm #15811354 | |
Bobby Supporter
Languages: English (English ) Timezone: America/Los_Angeles (GMT-08:00) |
That looks OK from what I can see based on the above info, did it work ok and are you still seeing the errors. |
The topic ‘[Closed] Base64 problem’ is closed to new replies.