wc_get_order notice
-
Hi, I encounter another issue when I activated Payment Plugins for Stripe plugin. They told me that this is a MarketKing issue. Anyway, this is a just a notice error, it comes out only if you enable the debug mode. Could be a plugin conflict? Anyway, this can be fixed?
Error message:
Notice: Function wc_get_order was called incorrectly. wc_get_order should not be called before post types are registered (woocommerce_after_register_post_type action) Backtrace: require_once(‘wp-admin/admin.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, WooCommerce->init, do_action(‘woocommerce_init’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Stripe_Manager->woocommerce_dependencies, WC_Stripe_Advanced_Settings->__construct, WC_Stripe_Settings_API->__construct, WC_Stripe_Advanced_Settings->init_form_fields, wc_get_order_statuses, apply_filters(‘wc_order_statuses’), WP_Hook->apply_filters, Marketkingcore_Admin->lock_composite_status, wc_get_order, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in version 2.5.) in /wp-includes/functions.php on line 6121
The topic ‘wc_get_order notice’ is closed to new replies.