• Resolved jbuenger

    (@jbuenger)


    Hi, I have talked to numerous developers and could not find a solution; so I am trying to completely remove Loco Translate but I still receive this error message:

    Fatal error: Uncaught ValueError: Missing format specifier at end of string in /var/www/vhosts/youneeq.de/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-post-types.php:234 Stack trace: #0 /var/www/vhosts/youneeq.de/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-post-types.php(234): sprintf() #1 /var/www/vhosts/youneeq.de/httpdocs/wp-includes/class-wp-hook.php(308): WC_Post_Types::register_taxonomies() #2 /var/www/vhosts/youneeq.de/httpdocs/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #3 /var/www/vhosts/youneeq.de/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #4 /var/www/vhosts/youneeq.de/httpdocs/wp-settings.php(617): do_action() #5 /var/www/vhosts/youneeq.de/httpdocs/wp-config.php(94): require_once(‘…’) #6 /var/www/vhosts/youneeq.de/httpdocs/wp-load.php(50): require_once(‘…’) #7 /var/www/vhosts/youneeq.de/httpdocs/wp-blog-header.php(13): require_once(‘…’) #8 /var/www/vhosts/youneeq.de/httpdocs/index.php(17): require(‘…’) #9 {main} thrown in /var/www/vhosts/youneeq.de/httpdocs/wp-content/plugins/woocommerce/includes/class-wc-post-types.php on line 234

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tim W

    (@timwhitlock)

    You will find detailed information on why this error occurs in this FAQ: https://localise.biz/wordpress/plugin/faqs/printf-errors

    I’ve marked this topic as resolved because the root cause is known. You will have to identify which translation is wrongly formatted, and this is outside the scope of my support.

    As a starting point. you know that the formatting error is a “Missing format specifier at end of string”. (Probably a string ending in “%” instead of “%s”). You also know this string is being formatted on line 234 of class-wc-post-types.php. Your developers should be able to debug it from there.

    Thread Starter jbuenger

    (@jbuenger)

    Thank you very much… because nobody was able to fix it (even though it should be straightforward just like you mentioned) I deactivated and deleted loco translate “completely”… still I get the same error message… can you help me how to really get rid of all translations? Thank you!

    Plugin Author Tim W

    (@timwhitlock)

    Deleting Loco Translate doesn’t delete any translation files. This is on purpose.

    If the files are still being loaded with Loco Translate removed then most likely they are installed translation files. You will have to find them on your disk and delete them manually. I can’t tell you what files you need to delete or where they are, but start by looking inside the wp-content/languages folder.

    Note that if the bad formatting is in a community translation file, you may find that WordPress just reinstalls it.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Woocommerce shop site crashes wehn swiching to PHP 8’ is closed to new replies.