This thread is resolved. Here is a description of the problem and solution.
Problem:
You are experiencing a fatal error caused by WPML String Translation when translations are loaded and the file path contains a % character, leading to a PHP Fatal error due to an unescaped % in
$file_path
.
Solution:
Currently, there is no permanent fix available for this issue. However, you can use the following temporary workaround:
$file_type = isset( $pathinfo['extension'] ) ? $pathinfo['extension'] : null;<br />$file_path = str_replace('%', '', $file_path);
For more details, please refer to our errata page: https://wpml.org/errata/flux-checkout-fatal-error-uncaught-valueerror-unknown-format-specifier-t/.
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.