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.
Our next available supporter will start replying to tickets in about 6.97 hours from now. Thank you for your understanding.
Tagged: Not WPML issue
This topic contains 11 replies, has 2 voices.
Last updated by Bigul 1 year, 5 months ago.
Assisted by: Bigul.
Author | Posts |
---|---|
November 4, 2022 at 12:02 am #12375405 | |
elizabethH |
I am trying to: display my French Page (second language) Link to a page where the issue can be seen: hidden link I expected to see: Regular page with no errors. Instead, I got: Fatal error: Uncaught ValueError: Unknown format specifier "R" in /var/www/wp-content/plugins/restaurant-reservations/includes/Settings.class.php:1295 Stack trace: #0 /var/www/wp-content/plugins/restaurant-reservations/includes/Settings.class.php(1295): sprintf('D\xC3\xA9finir commen...', '<a href="http:/...', '</a>', '<a href="https:...', '</a>') #1 /var/www/wp-includes/class-wp-hook.php(307): rtbSettings->load_settings_panel('') #2 /var/www/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #3 /var/www/wp-includes/plugin.php(476): WP_Hook->do_action(Array) #4 /var/www/wp-settings.php(598): do_action('init') #5 /var/www/wp-config.php(98): require_once('/var/www/wp-set...') #6 /var/www/wp-load.php(50): require_once('/var/www/wp-con...') #7 /var/www/wp-blog-header.php(13): require_once('/var/www/wp-loa...') #8 /var/www/index.php(17): require('/var/www/wp-blo...') #9 {main} thrown in /var/www/wp-content/plugins/restaurant-reservations/includes/Settings.class.php on line 1295 THIS ERROR IS ONLY SHOWING ON THE FRENCH PAGES.... |
November 4, 2022 at 10:47 am #12380467 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+02:00) |
Hello, Welcome to the WPML support forum. I will do my best to help you to resolve the issue. This may be related to the following tickets or a compatibility issue with *Five Star Restaurant Reservations - WordPress Booking* Plugin. https://wpml.org/forums/topic/add-to-basket-button-in-italian-throws-a-hard-error/#post-8449997 https://wpml.org/forums/topic/site-crashes-when-clicked-on-russian-language-switch-button/ So please visit WPML>>String Translation and search for "%s" inside the text field. Then check if you translated some strings that include a placeholder like "%s" and make sure that the translation includes the identical/correct placeholder(s). -- Bigul |
November 4, 2022 at 1:59 pm #12382701 | |
elizabethH |
I AM sorry I do not have any string translation with the following "%s".. Plus we have never had a compatibility error with Five star plugins for the last 2 years... Please advise.. |
November 4, 2022 at 5:03 pm #12384531 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+02:00) |
Hello, Thank you for the updates. Please fills the private details fields after a full site backup{mandatroy}. I would like to access the admin area of your site for further checking. Refer to the following links for more details about our private information sharing policies. hidden link -- Bigul |
November 4, 2022 at 8:15 pm #12385645 | |
elizabethH |
I have entered my site access. we have had to turn OFF the WPML as it is throwing a white screen and Fatal error message. All related to the compatibility of the French site... WPML |
November 5, 2022 at 6:44 pm #12389799 | |
elizabethH |
I have not read back from you and our site is still has major issues with the WPML.. We had to turn off the plugin so the site does not show White screen as it did. Please confirm you received my login credentials.. ThIS is an urgent matter please... |
November 6, 2022 at 10:07 am #12391789 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+02:00) |
Hello, Thank you for the login information and details. Please check the attached image. Now you are using an older version of WPML and WPML String Translation plugin is not installed on the site. So have you uploaded the older version due to this issue? Please allow me to make a duplicator copy of your site using the Duplicator plugin(https://wordpress.org/plugins/duplicator/) for debugging the issue on my local server. So we can troubleshoot the issue without affecting your live site. -- Bigul |
November 6, 2022 at 5:01 pm #12393231 | |
elizabethH |
SO what do you recommend I do.. Please advise, as we need the site in both languages up and running... Thanks for your assistance.. |
November 6, 2022 at 5:12 pm #12393249 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+02:00) |
Hello, Thank you for the updates. Please upgrade to the latest version of the WPML and String Translation plugins(4.5.12 series) after a full site backup{mandatory}. Then clear all types of caches and make sure the issue is existing or not. https://wpml.org/changelog/2022/10/wpml-4-5-12-updates-for-wordpress-6-1/ May you have to visit Plugins>>Add New>>Commerical tab and click on the *Check for updates* button to get the WPML automatic upgrade links of the latest version. This step will help us refresh the installer caches. If the bug remains, this requires further testing. So please allow me to make a duplicator copy of your site using the Duplicator plugin(https://wordpress.org/plugins/duplicator/) for debugging the issue on my local server. So we can troubleshoot the issue without affecting your live site. -- Bigul |
November 7, 2022 at 7:14 pm #12403267 | |
elizabethH |
The issue is still persistent. I have done everything you have requested updated both plugins to latest version, and still am receiving critical error. |
November 8, 2022 at 7:06 am #12406765 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+02:00) |
Hello, Thank you for the updates. I made a copy of the site for further debugging and will test it locally. We will get back to you as early as possible. Please wait. -- Bigul |
November 8, 2022 at 5:30 pm #12412991 | |
Bigul Supporter
Languages: English (English ) Timezone: Europe/Vienna (GMT+02:00) |
Hello, Please visit the French site now. I am getting the expected results after editing the translation of this string *Define how the time is formatted on the booking form. %sFormatting rules%s. This only changes the format on the booking form. To change the time format in notification messages, modify your general %sWordPress Settings%s.* like the following. Because the placeholder strings(%sWordPress Settings%s & %sFormatting rules%s) are wrongly translated. From
To
Please check the attached images for more details and let us know your feedback. -- Bigul |