Title: Fatal error
Last modified: December 5, 2024

---

# Fatal error

 *  Resolved [Ingrid Azéma](https://wordpress.org/support/users/grigrid/)
 * (@grigrid)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/fatal-error-4787/)
 * Hi,
 * I’m using WooCommerce 9.1.3 with WooCommerce Stripe Payment Gateway 8.8.2, WordPress
   6.4.5 on a server running php 8.2
 * When I try to edit a post, WP crashes with the following error :
 *     ```wp-block-code
       PHP Fatal error:  Uncaught ValueError: Unknown format specifier "i" in /mysitepath/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-upe-payment-method-sepa.php:55
       ```
   
 * Can you please look into it?
 * Best regards,

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [Ingrid Azéma](https://wordpress.org/support/users/grigrid/)
 * (@grigrid)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/fatal-error-4787/#post-18181015)
 * The file causing the fatal contains :
 * `sprintf(
   /* translators: 1) HTML strong open tag 2) HTML strong closing tag 
   3) HTML anchor open tag 2) HTML anchor closing tag */esc_html__( '%1$sTest mode:%
   2$s use the test account number AT611904300234573201. Other payment methods may
   redirect to a Stripe test page to authorize payment. More test card numbers are
   listed %3$shere%4$s.', 'woocommerce-gateway-stripe' ),'**', '**','[', '](https://stripe.com/docs/testing?payment-method=sepa-direct-debit)');
 * If I add a space after the first argument in the sprintf() function like this`%
   1$s Test` it fixes the error
 *  [Zee](https://wordpress.org/support/users/doublezed2/)
 * (@doublezed2)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/fatal-error-4787/#post-18184350)
 * Hello [Ingrid Azéma](https://wordpress.org/support/users/grigrid/),
 * Thank you for contacting WooCommerce support.
 * I understand you’re experiencing a crash when editing a post, caused by a PHP
   fatal error due to an invalid format specifier in the WooCommerce Stripe Payment
   Gateway plugin.
 * It is good to know that you have found a temporary fix by adding a space after
   the first argument in the sprintf() function **%1$s Test**.
 * To better understand the issue, could you share the System Status Report of your
   site? This report will help me reproduce the issue on my end and determine if
   this is a bug in the code.
 * Looking forward to your response. 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Fatal error’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-gateway-stripe/assets/icon-256x256.png?rev=3177277)
 * [WooCommerce Stripe Payment Gateway](https://wordpress.org/plugins/woocommerce-gateway-stripe/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-gateway-stripe/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-gateway-stripe/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Zee](https://wordpress.org/support/users/doublezed2/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/fatal-error-4787/#post-18184350)
 * Status: resolved