• Resolved rizbanr

    (@rizbanr)


    Attempting to add a subscription under WooCommerce -> Subscriptions -> Add Subscription results in the following error:

    Fatal error: Uncaught exception ‘Exception’ with message ‘DateInterval::__construct(): Unknown or bad format (PmonthM)’ in /home/***path***/wp-content/plugins/woo-payment-gateway/includes/braintree-bfwc-functions.php:479 Stack trace: #0 /home/***path***/wp-content/plugins/woo-payment-gateway/includes/braintree-bfwc-functions.php(479): DateInterval->__construct(‘PmonthM’) #1 /home/***path***/wp-content/plugins/woo-payment-gateway/includes/class-wc-braintree-subscription.php(355): bfwcs_calculate_next_payment_date(Object(DateTime), ‘month’, ‘month’) #2 /home/***path***/wp-content/plugins/woo-payment-gateway/includes/admin/class-wc-admin-subscription-metabox.php(113): Braintree_Gateway_WC_Subscription->sync_dates() #3 [internal function]: Braintree_Gateway_Admin_Subscription_Metabox::save_subscription_data(2001, Object(WP_Post)) #4 /home/***path***/wp-includes/class-wp-hook.php(286): call_user_func_array(‘Braintree_Gatew…’, Array) #5 in /home/***path***/wp-content/plugins/woo-payment-gateway/includes/braintree-bfwc-functions.php on line 479

    • This topic was modified 7 years, 2 months ago by rizbanr.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error Manually adding Subscriptions’ is closed to new replies.