• Resolved altometa

    (@altometa)


    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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Stefan

    (@stefanst1)

    Hi there,

    Thanks for reaching out about this. I looked into that now and I have an update that will fix this when the next official release comes out.

    In any case it’s not an error that would cause issues – it’s for a very minor order status locking feature in the backend (for making sure Composite orders cannot accidentally be changed to other types). So you can safely ignore this notice for now.

    The fix will be included in our next update, so once that’s available you won’t see this debug message anymore.

    Kind regards,
    Stefan

    Thread Starter altometa

    (@altometa)

    Hi, I am also seeing these errors.

    Deprecated: Creation of dynamic property Marketking_New_Vendor_Requires_Approval_Email::$user_login is deprecated in /wp-content/plugins/marketking-multivendor-marketplace-for-woocommerce/public/emails/class-marketking-new-vendor-requires-approval-email.php on line 49

    Deprecated: Creation of dynamic property Marketking_New_Vendor_Requires_Approval_Email::$user_email is deprecated in /wp-content/plugins/marketking-multivendor-marketplace-for-woocommerce/public/emails/class-marketking-new-vendor-requires-approval-email.php on line 50

    Plugin Support Stefan

    (@stefanst1)

    Thank you for the feedback,

    I’ve checked that as well and made an update to the marketking-new-vendor-requires-approval-email.php file.

    This should be resolved as well in the next official release.

    Alternatively if you wish to upgrade sooner, feel free to email us at contact @ webwizards . dev and we can send you an early copy.

    Stefan

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

The topic ‘wc_get_order notice’ is closed to new replies.