For some reason, a properly translated link always (at multiple instances on the website) gets truncated from hidden link
to hidden link
I have tried many ways to change this (in ATE, in string files, etc.), and in the translation views/windows it correctly saves (with confirmation message) but on the website it always end up being truncated and when I re-check the string it has been truncated again. In the troubleshooting page I have also cleared the WMPL cache, removed ghost entries, and ran the "cleanup and optimize string tables" command. But not change. Also checked if this is a redirection issue, but doesn't appear so.
In addition, when trying to access "Theme and Plugin localisation" the site throws a fatal WordPress error, which seems to be in the WPML section, hence I believe this is a WPML issue.
Can you please help? Cheers, Valentin
I will copy the fatal error message details below.
____________________________________________________________________
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 6.9
Active theme: GeneratePress (version 3.6.1)
Current plugin: WPML String Translation (version 3.4.1)
PHP version 8.0.30
Error Details
=============
An error of type E_ERROR was caused in line 100 of the file /var/www/html/wp-content/plugins/wpml-string-translation/classes/translations-file-scan/wpml-st-translations-file-registration.php. Error message: Uncaught ValueError: Unknown format specifier "t" in /var/www/html/wp-content/plugins/wpml-string-translation/classes/translations-file-scan/wpml-st-translations-file-registration.php:100
Stack trace:
#0 /var/www/html/wp-content/plugins/wpml-string-translation/classes/translations-file-scan/wpml-st-translations-file-registration.php(100): sprintf()
#1 /var/www/html/wp-content/plugins/wpml-string-translation/classes/translations-file-scan/wpml-st-translations-file-registration.php(65): WPML_ST_Translations_File_Registration->save_file_info()
#2 /var/www/html/wp-includes/class-wp-hook.php(343): WPML_ST_Translations_File_Registration->cached_save_mo_file_info()
#3 /var/www/html/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#4 /var/www/html/wp-includes/l10n.php(769): apply_filters()
#5 /var/www/html/wp-content/plugins/wpml-string-translation/classes/MO/JustInTime/MO.php(100): load_textdomain()
#6 /var/www/html/wp-content/plugins/sitepress-multilingual-cms/vendor/wpml/collect/src/Illuminate/Support/Collection.php(228): WPMLSTMOJustInTimeMO->WPMLSTMOJustInTime{closure}()
#7 /var/www/html/wp-content/plugins/wpml-string-translation/classes/MO/JustInTime/MO.php(104): WPMLCollectSupportCollection->each()
#8 /var/www/html/wp-content/plugins/wpml-string-translation/classes/MO/JustInTime/MO.php(78): WPMLSTMOJustInTimeMO->loadTextDomain()
#9 /var/www/html/wp-content/plugins/wpml-string-translation/classes/MO/JustInTime/MO.php(50): WPMLSTMOJustInTimeMO->load()
#10 /var/www/html/wp-includes/l10n.php(196): WPMLSTMOJustInTimeMO->translate()
#11 /var/www/html/wp-includes/l10n.php(307): translate()
#12 /var/www/html/wp-content/plugins/event-tickets/common/vendor/vendor-prefixed/stellarwp/uplink/src/Uplink/Admin/License_Field.php(70): __()
#13 /var/www/html/wp-content/plugins/event-tickets/common/vendor/vendor-prefixed/stellarwp/uplink/src/Uplink/Admin/Provider.php(106): TECCommonStellarWPUplinkAdminLicense_Field->register_settings()
#14 /var/www/html/wp-includes/class-wp-hook.php(339): TECCommonStellarWPUplinkAdminProvider->admin_init()
#15 /var/www/html/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()
#16 /var/www/html/wp-includes/plugin.php(522): WP_Hook->do_action()
#17 /var/www/html/wp-admin/admin.php(180): do_action()
#18 {main}
thrown
We need to replicate the LearnDash -deep-links issue on a fresh WordPress installation. Then I'll be able to escalate it to our compatibility team. For this, I created a test website with a clean WordPress install. You can access it through this link:
hidden link
With this link, you'll be directly logged in.
LearnDash is already installed on this site. I also configured WPML to have German as the default language and English as the second language. Please use just the basic configurations/steps needed to replicate the issue. When everything is finished, and you can reproduce the problem, please let us know. Important! Do not import your site to the test site. We must replicate the problem on a fresh, clean WordPress installation.
Regards,
Itamar.