• Resolved Pappu Ann kristo

    (@prabasjalakai)


    Hi, i got error while processing in subscription with no switching allowed in admin subscription settings.

    error -> is_internal_meta_key was called incorrectly. Generic add/update/get meta methods should not be used for internal meta data, including “_subscription_switch_data”. Use getters and setters. Backtrace: require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), do_action(‘template_redirect’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::do_wc_ajax, do_action(‘wc_ajax_checkout’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::checkout, WC_Checkout->process_checkout, do_action(‘woocommerce_checkout_order_processed’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Subscriptions_Checkout::process_checkout, WC_Subscriptions_Checkout::create_subscription, wcs_copy_order_meta, wcs_set_objects_property, WC_Data->update_meta_data, WC_Data->add_meta_data, WC_Data->is_internal_meta_key, wc_doing_it_wrong. This message was added in version 3.2.0.

    Can some one help us in what scenario this error is thrown and why.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WooCommerce error as “_subscription_switch_data”’ is closed to new replies.