• Resolved samrot

    (@samrot)


    Hey Diego, hope you are well.

    I’m having a problem with the plugin on a multisite installation, getting the following fatal error on the second site’s checkout page:

    Fatal error: Uncaught ValueError: Unknown format specifier "?" in /plugins/fluid-checkout/inc/checkout-validation.php:185 Stack trace: #0 /plugins/fluid-checkout/inc/checkout-validation.php(185): sprintf() #1 /class-wp-hook.php(324): FluidCheckout_Validation->add_js_settings() #2 /plugin.php(205): WP_Hook->apply_filters() #3 /plugins/fluid-checkout/inc/enqueue.php(170): apply_filters() #4 /plugins/fluid-checkout/inc/enqueue.php(280): FluidCheckout_Enqueue->get_js_settings() #5 /plugins/fluid-checkout/inc/enqueue.php(291): FluidCheckout_Enqueue->output_settings_inline_script() #6 /class-wp-hook.php(324): FluidCheckout_Enqueue->maybe_output_settings_inline_script() #7 /class-wp-hook.php(348): WP_Hook->apply_filters() #8 /plugin.php(517): WP_Hook->do_action() #9 /general-template.php(3065): do_action() #10 /plugins/fluid-checkout/templates/fc/checkout-page-template/checkout/page-checkout-header.php(49): wp_head() #11 /plugins/woocommerce/includes/wc-core-functions.php(345): include('/...') #12 /plugins/fluid-checkout/templates/fc/checkout-page-template/checkout/page-checkout.php(22): wc_get_template() #13 /template-loader.php(106): include('/...') #14 /wp-blog-header.php(19): require_once('/...') #15 /index.php(17): require('/...') #16 {main} thrown in?/plugins/fluid-checkout/inc/checkout-validation.php?on line?185

    How can we fix it?

    Help!

    Best!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Diego Versiani

    (@diegoversiani)

    Hi @samrot,

    This seems to be a problem with the translation for the text Did you mean %s? from Fluid Checkout, where the s might be missing in the translation and marking the replacement with %? instead of %s.

    1. What is the language you are using Fluid Checkout with on your second website?

    2. Are you using an original translation provided with the plugin, or a custom translation that you did yourself?

    Best,
    Diego.

    Thread Starter samrot

    (@samrot)

    Ok yeah that fixed it, thx for the quick reply.

    I’m using loco translate and the language used is this site is Espa?ol Argentina.

    Best!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.