Sauter la navigation

Il s'agit du forum d'assistance technique de WPML, le plug-in multilingue pour WordPress.

Il est accessible à tous, toutefois seuls les clients de WPML peuvent y publier leurs messages. L'équipe du WPML répond sur le forum 6 jours par semaine, 22 heures par jour.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 15:00 7:00 – 15:00 7:00 – 15:00 7:00 – 15:00 7:00 – 15:00 -
- - - - - - -

Fuseau horaire du supporter: Pacific/Easter (GMT-05:00)

Ce sujet contient 1 réponse, a 2 voix.

Dernière mise à jour par Ilyes Il y a 1 année et 2 mois.

Assisté par: Ilyes.

Auteur Articles
décembre 3, 2023 à 9:14 pm #14981303

frederickE-2

I try to renewall a subscription on a website :

The website URL is : lien caché

I have this error when I proceed the renewall manually with Woo Subscription

Fatal error: Uncaught ValueError: Unknown format specifier "m" in /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/templates/emails/subscription-info.php:63 Stack trace: #0 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/templates/emails/subscription-info.php(63): sprintf() #1 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('...') #2 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/class-wc-subscriptions-order.php(710): wc_get_template() #3 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-includes/class-wp-hook.php(326): WC_Subscriptions_Order::add_sub_info_email() #4 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #5 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-includes/plugin.php(517): WP_Hook->do_action() #6 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/templates/emails/email-order-details.php(71): do_action() #7 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('...') #8 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/class-wc-subscriptions-email.php(291): wc_get_template() #9 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-includes/class-wp-hook.php(324): WC_Subscriptions_Email::order_details() #10 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #11 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-includes/plugin.php(517): WP_Hook->do_action() #12 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/templates/emails/customer-processing-renewal-order.php(22): do_action() #13 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('...') #14 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-content/plugins/woocommerce/includes/wc-core-functions.php(364): wc_get_template() #15 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/emails/class-wcs-email-processing-renewal-order.php(142): wc_get_template_html() #16 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-content/plugins/woocommerce/includes/emails/class-wc-email.php(588): WCS_Email_Processing_Renewal_Order->get_content_html() #17 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/emails/class-wcs-email-processing-renewal-order.php(101): WC_Email->get_content() #18 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-includes/class-wp-hook.php(324): WCS_Email_Processing_Renewal_Order->trigger() #19 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #20 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-includes/plugin.php(517): WP_Hook->do_action() #21 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/class-wc-subscriptions-email.php(151): do_action() #22 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-includes/class-wp-hook.php(326): WC_Subscriptions_Email::send_renewal_order_email() #23 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #24 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-includes/plugin.php(517): WP_Hook->do_action() #25 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-content/plugins/woocommerce/includes/class-wc-order.php(404): do_action() #26 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-content/plugins/woocommerce/includes/class-wc-order.php(253): WC_Order->status_transition() #27 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-content/plugins/woocommerce/includes/class-wc-order.php(151): WC_Order->save() #28 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-content/plugins/woocommerce-gateway-beanstream/vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/class-sv-wc-payment-gateway-direct.php(407): WC_Order->payment_complete() #29 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-content/plugins/woocommerce-gateway-beanstream/vendor/skyverge/wc-plugin-framework/woocommerce/payment-gateway/integrations/class-sv-wc-payment-gateway-integration-subscriptions.php(370): SkyVerge\WooCommerce\PluginFramework\v5_11_12\SV_WC_Payment_Gateway_Direct->process_payment() #30 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-includes/class-wp-hook.php(324): SkyVerge\WooCommerce\PluginFramework\v5_11_12\SV_WC_Payment_Gateway_Integration_Subscriptions->process_renewal_payment() #31 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #32 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-includes/plugin.php(517): WP_Hook->do_action() #33 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-content/plugins/woocommerce-subscriptions/includes/gateways/class-wc-subscriptions-payment-gateways.php(97): do_action() #34 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-content/plugins/woocommerce-subscriptions/includes/gateways/class-wc-subscriptions-payment-gateways.php(81): WC_Subscriptions_Payment_Gateways::trigger_gateway_renewal_payment_hook() #35 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-includes/class-wp-hook.php(324): WC_Subscriptions_Payment_Gateways::gateway_scheduled_subscription_payment() #36 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #37 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-includes/plugin.php(517): WP_Hook->do_action() #38 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/includes/admin/class-wcs-admin-meta-boxes.php(244): do_action() #39 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-includes/class-wp-hook.php(324): WCS_Admin_Meta_Boxes::process_renewal_action_request() #40 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #41 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-includes/plugin.php(517): WP_Hook->do_action() #42 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-actions.php(173): do_action() #43 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-includes/class-wp-hook.php(324): WC_Meta_Box_Order_Actions::save() #44 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #45 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-includes/plugin.php(517): WP_Hook->do_action() #46 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-content/plugins/woocommerce/includes/admin/class-wc-admin-meta-boxes.php(263): do_action() #47 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-includes/class-wp-hook.php(326): WC_Admin_Meta_Boxes->save_meta_boxes() #48 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #49 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-includes/plugin.php(517): WP_Hook->do_action() #50 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-includes/post.php(4760): do_action() #51 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-includes/post.php(4862): wp_insert_post() #52 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-admin/includes/post.php(453): wp_update_post() #53 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-admin/post.php(227): edit_post() #54 {main} thrown in /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/templates/emails/subscription-info.php on line 63

When I deactivate WPML I don't have problem.

I think is related to a translated strings

Thanks

décembre 4, 2023 à 9:39 pm #14991707

Ilyes
Supporter

Les langues: Français (Français )

Fuseau horaire: Pacific/Easter (GMT-05:00)

Hello,

Thank you for contacting WPML support team,

Referring to the error message you shared, I find it hard to link this to WPML, however, your theory could be right, have WooCommerce team confirmed this?

If not, it is worth leaving them a message as they might have a better idea about this kind of error as it comes from their code.

Also, does the registration go through after disabling WPML ? or it creates errors when you activate it back?

I would also like to see the content of this file to confirm that theory along with access to your site :

 /var/www/vhosts/montrealenligne.ca/montrealenligne.dev/protectioncsl/wp-content/plugins/woocommerce-subscriptions/vendor/woocommerce/subscriptions-core/templates/emails/subscription-info.php 

Kindly provide me with the steps on how to replicate the problem.

Please note that the fields required for this access can be found below the comment section when you log in to leave your next reply. The information you provide will be kept private and confidential, accessible only by you and me. You may refer to this video (starting at 1:10) for guidance:

It is important to note that you should back up your site and database before proceeding, and you can use a plugin like Duplicator for this purpose. Here’s a link to the plugin: http://wordpress.org/plugins/duplicator/

If you do not see the form below, please do not enter your credentials as they will be publicly exposed:

lien caché

For your privacy and security, please ensure that you make your reply a private one.

Best regards,

Le sujet '[Fermé] Fatal Error when I want to process a Renewall with the plugin Woo Subscription' est fermé aux nouvelles réponses.