Conversation
supportHi, I try to use the plugin on a new hosting and it crash the website: If you are looking for help with this issue, you may be asked for the following information: WordPress version 6.2.2 Active theme: Twenty Twenty-Three (version 1.1) Current plugin: SweepPress (version 2.2) PHP version 8.1.20 Error Details An E_ERROR type error was caused in line 243 of the file /var/www/vhosts/my-domain.com/httpdocs/wp-content/plugins/sweeppress/d4plib/dev4press/core/admin/Plugin.php. Message d’erreur : Uncaught ValueError: Unknown format specifier "," in /var/www/vhosts/my-domain.com/httpdocs/wp-content/plugins/sweeppress/d4plib/dev4press/core/admin/Plugin.php:243 Stack trace: 0 /var/www/vhosts/my-domain.com/httpdocs/wp-content/plugins/sweeppress/d4plib/dev4press/core/admin/Plugin.php(243): sprintf() 1 /var/www/vhosts/my-domain.com/httpdocs/wp-content/plugins/sweeppress/core/admin/Plugin.php(178): Dev4Press\v41\Core\Admin\Plugin->help_tab_getting_help() 2 /var/www/vhosts/my-domain.com/httpdocs/wp-content/plugins/sweeppress/d4plib/dev4press/core/admin/Plugin.php(223): Dev4Press\Plugin\SweepPress\Admin\Plugin->help_tab_getting_help() 3 /var/www/vhosts/my-domain.com/httpdocs/wp-includes/class-wp-hook.php(308): Dev4Press\v41\Core\Admin\Plugin->load_admin_page() 4 /var/www/vhosts/my-domain.com/httpdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() 5 /var/www/vhosts/my-domain.com/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action() 6 /var/www/vhosts/my-domain.com/httpdocs/wp-admin/admin.php(237): do_action() 7 {main} thrown
Thanks for reporting, I will investigate and release update soon.
The error is not in the plugin. It is caused by the French translation. From the looks of it, translation looks OK, but when the WordPress processes translation for that line, the %s is not in the string, it is turned into % only. I am not sure why, something is not correct in the French translation for that string. The string that is causing the issue is: To get help with %s, you can start with Knowledge Base list of frequently asked questions, user guides, articles (tutorials) and reference guide (for developers). I can’t do anything about this, sorry. Milan
There is a Czech translation, and it has that same line translated, and it is not causing the error. Something in WordPress translation system doesn’t like the the French translation of that line.
Thanks for reporting, I will investigate and release update soon.
The error is not in the plugin. It is caused by the French translation. From the looks of it, translation looks OK, but when the WordPress processes translation for that line, the %s is not in the string, it is turned into % only. I am not sure why, something is not correct in the French translation for that string. The string that is causing the issue is: To get help with %s, you can start with Knowledge Base list of frequently asked questions, user guides, articles (tutorials) and reference guide (for developers). I can’t do anything about this, sorry. Milan
There is a Czech translation, and it has that same line translated, and it is not causing the error. Something in WordPress translation system doesn’t like the the French translation of that line.